Add getpayloadl to libnldbl.
[glibc.git] / ChangeLog
blob35813818cae718fc9008ce06e662dea297fe9fd4
1 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
4         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5         getpayload.
6         (CFLAGS-nldbl-getpayload.c): New variable.
8 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
11         integer from the format string.
13 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15         [BZ #19473]
16         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
17         declarations.
18         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
19         weak aliases.
20         * malloc/hooks.c (__malloc_get_state): Remove definition.
21         (malloc_get_state): New stub implementation as
22         compatibility symbol.
23         (malloc_set_state): Rename from __malloc_set_state.  Turn into
24         compat symbol.
25         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
26         malloc_set_state.
27         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
29 2016-10-26  Florian Weimer  <fweimer@redhat.com>
31         * iconvdata/iso646.c (enum variant): Drop illegal_var.
32         (names): Turn into concatenation of strings.
33         (gconv_init): Adapt iteration over names.
35 2016-10-26  Florian Weimer  <fweimer@redhat.com>
37         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
38         make const.
39         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
40         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
41         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
42         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
43         character in sbconv.
44         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
45         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
46         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
48 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
50         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
52         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
53         (M_TRIM_THRESHOLD): Likewise.
55         * manual/memory.texi (M_ARENA_TEST): Add documentation.
56         (M_ARENA_MAX): Likewise.
57         * malloc/malloc.c: Remove obsolete comment.
59         * manual/memory.texi: Add environment variable alternatives to
60         setting mallopt parameters.
62 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
64         * include/atomic.h
65         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
66         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
68 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
70         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
71         * stdlib/tst-strfrom.h: New file.
72         * stdlib/tst-strfrom.c: New file.
73         * stdlib/tst-strfrom-locale.c: New file.
75         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
76         * stdlib/bug-strtod2.c: Likewise.
77         * stdlib/tst-strtod-round-skeleton.c: Likewise.
78         * stdlib/tst-strtod6.c: Likewise.
79         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
81 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
83         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
84         * manual/arith.texi: Document strfromd, strfromf, strfroml.
85         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
86         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
87         * stdlib/stdlib.h (strfromd): New declaration.
88         (strfromf): Likewise.
89         (strfroml): Likewise.
90         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
91         strfrom.
92         * stdlib/strfromd.c: New file.
93         * stdlib/strfromf.c: Likewise.
94         * stdlib/strfroml.c: Likewise.
95         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
96         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
97         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
98         * sysdeps/arm/nacl/libc.abilist: Update.
99         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
100         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
101         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
102         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
103         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
104         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
105         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
106         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
107         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
108         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
109         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
110         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
111         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
112         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
117         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
118         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
119         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
120         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
121         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
124         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
125         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
126         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
128 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
130         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
131         instead of cmpli.
132         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
133         instead of cmpli.
135 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
137         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
138         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
139         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
140         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
141         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
142         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
144 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
146         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
147         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
148         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
149         SYSCALL_LL64_PRW.
150         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
151         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
152         __ASSUME_PRW_DUMMY_ARG.
153         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
154         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
155         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
156         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
157         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
158         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
160 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
162         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
164 2016-10-22  Florian Weimer  <fweimer@redhat.com>
166         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
167         "C++", to override a potential extern "C" directive around the
168         header file inclusion.
170 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
172         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
174 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
176         * sysdeps/powerpc/fpu/fenv_private.h:
177         (_FPU_MASK_ALL): Rename to...
178         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
179         XE FPSCR bits.
181         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
183         (_FPU_MASK_ROUNDING): Rename to...
184         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
185         NI bits.
187         (_FPU_MASK_EXCEPT_ROUND): Rename to...
188         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
189         bits and rounding bits.
191         (__libc_feholdbits_ppc): New inline function to mask, set,
192         and pontentially clear FSPCR bits, and change MSR[FE] bits.
193         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
194         (libc_feholdexcept_setround_ppc): Likewise.
196         (__libc_femergeenv_ppc): New function to dynamically mask both
197         old and new FP environments and merge.
198         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
199         (libc_feresetround_ppc): Likewise.
200         (libc_feupdateenv_test_ppc): Likewise.
201         (libc_feupdateenv_ppc): Likewise.
203         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
204         of ISA RN bits, and update macro names.
205         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
206         effectively the same as the previously mentioned function.
208         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
209         usage with fe_resetround_ppc.
211         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
212         to be used.
213         (libc_feholdexcept_setround_ctxf): Likewise.
214         (libc_feholdexcept_setround_ctxl): Likewise.
216 2016-10-21  Florian Weimer  <fweimer@redhat.com>
218         [BZ #20715]
219         * math/math.h [__cplusplus] (iszero): Define as function template.
220         * math/Makefile [CXX] (tests): Add test-math-iszero.
221         (CFLAGS-test-math-iszero.cc): Set.
222         * math/test-math-iszero.cc: New file.
224 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
226         [BZ #20660]
227         * sysdeps/arm/e_sqrt.c: New file.
228         * sysdeps/arm/e_sqrtf.c: Likewise.
230 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
232         [BZ #20718]
233         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
234         not use floating-point comparisons to test sign.
235         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
236         Likewise.
238         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
239         (getpayload): New declaration.
240         * math/Versions (getpayload): New libm symbol at version
241         GLIBC_2.25.
242         (getpayloadf): Likewise.
243         (getpayloadl): Likewise.
244         * math/Makefile (libm-calls): Add s_getpayloadF.
245         * math/libm-test.inc: Include <nan-high-order-bit.h>.
246         (struct test_f_f_data): Add comment.
247         (RUN_TEST_fp_f): New macro.
248         (RUN_TEST_LOOP_fp_f): Likewise.
249         (getpayload_test_data): New array.
250         (getpayload_test): New function.
251         (main): Call getpayload_test.
252         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
253         descriptor.
254         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
255         getpayloadf and getpayloadl.
256         * manual/libm-err-tab.pl: Update comment on interfaces without
257         ulps tabulated.
258         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
259         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
260         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
261         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
262         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
263         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
264         * sysdeps/nacl/libm.abilist: Update.
265         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
266         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
267         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
268         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
269         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
270         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
271         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
272         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
273         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
274         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
275         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
276         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
278         Likewise.
279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
280         Likewise.
281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
282         Likewise.
283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
284         Likewise.
285         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
286         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
287         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
288         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
289         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
291         Likewise.
292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
293         Likewise.
294         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
295         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
296         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
298 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
300         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
301         tst-fallocate{64}.
302         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
303         on syscall return.
305 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
307         [BZ #20689]
308         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
309         usable.
311 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
313         * sysdeps/generic/nan-high-order-bit.h: New file.
314         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
315         * sysdeps/mips/nan-high-order-bit.h: Likewise.
316         * sysdeps/hppa/math_private.h: Remove file.
317         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
318         not define here.
319         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
320         <nan-high-order-bit.h>.
321         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
322         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
323         <nan-high-order-bit.h>.
324         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
325         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
326         <nan-high-order-bit.h>.
327         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
328         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
329         <nan-high-order-bit.h>.
330         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
331         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
332         <nan-high-order-bit.h>.
333         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
334         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
335         <nan-high-order-bit.h>.
336         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
337         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
338         <nan-high-order-bit.h>.
339         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
340         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
341         <nan-high-order-bit.h>.
342         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
343         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
344         <nan-high-order-bit.h>.
345         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
346         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
347         <nan-high-order-bit.h>.
348         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
349         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
350         <nan-high-order-bit.h>.
351         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
352         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
353         <nan-high-order-bit.h>.
354         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
355         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
356         <nan-high-order-bit.h>.
357         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
358         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
359         <nan-high-order-bit.h>.
360         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
361         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
362         <nan-high-order-bit.h>.
363         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
364         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
365         <nan-high-order-bit.h>.
366         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
367         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
368         <nan-high-order-bit.h>.
369         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
370         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
371         <nan-high-order-bit.h>.
372         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
374 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
376         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
378 2016-09-22  John David Anglin  <dave.anglin@bell.net>
380         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
381         abort-instr.h.
382         (EFAULT): Remove conditional define.
383         (ENOSYS): Likewise.
384         (atomic_compare_and_exchange_val_acq): Use instruction nullification
385         instead of conditional branch instructions.
387 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
389         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
390         (totalordermag): New declaration.
391         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
392         New macro.
393         * math/Versions (totalordermag): New libm symbol at version
394         GLIBC_2.25.
395         (totalordermagf): Likewise.
396         (totalordermagl): Likewise.
397         * math/Makefile (libm-calls): Add s_totalordermagF.
398         * math/libm-test.inc (totalordermag_test_data): New array.
399         (totalordermag_test): New function.
400         (main): Call totalordermag_test.
401         * math/test-tgmath.c (NCALLS): Increase to 125.
402         (F(compile_test)): Call totalordermag.
403         (F(totalordermag)): New function.
404         * manual/arith.texi (FP Comparison Functions): Document
405         totalordermag, totalordermagf and totalordermagl.
406         * manual/libm-err-tab.pl: Update comment on interfaces without
407         ulps tabulated.
408         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
409         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
410         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
411         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
412         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
413         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
414         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
415         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
416         totalordermag.
417         (CFLAGS-nldbl-totalordermag.c): New variable.
418         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
419         (do_test): Also test totalordermagl.
420         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
421         Likewise.
422         * sysdeps/nacl/libm.abilist: Update.
423         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
424         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
425         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
426         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
427         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
428         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
429         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
430         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
431         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
432         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
433         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
434         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
436         Likewise.
437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
438         Likewise.
439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
440         Likewise.
441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
442         Likewise.
443         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
444         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
445         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
446         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
447         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
449         Likewise.
450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
451         Likewise.
452         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
453         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
454         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
456 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
458         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
459         boolean.
461 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
463         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
464         raising FE_INVALID with feraisexcept in case where part of
465         argument is infinite, subtract that part of argument from itself.
466         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
467         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
468         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
470 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
472         * math/libm-test.inc (totalorder_test_data): Add more tests.
474 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
476         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
477         Undefine weak_alias and add a comment why mips64 require
478         versioning.
480 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
482         [BZ #20647]
483         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
484         maximum CPUID level is less than 2.
486 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
488         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
489         (totalorder): New declaration.
490         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
491         New macro.
492         * math/Versions (totalorder): New libm symbol at version
493         GLIBC_2.25.
494         (totalorderf): Likewise.
495         (totalorderl): Likewise.
496         * math/Makefile (libm-calls): Add s_totalorderF.
497         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
498         string.
499         * math/libm-test.inc (PAYLOAD_DIG): New macro.
500         (qnan_value_pl): Likewise.
501         (snan_value_pl): Likewise.
502         (qnan_value): Define using qnan_value_pl.
503         (snan_value): Define using snan_value_pl.
504         (struct test_ff_i_data): Add comment about which tests use this
505         structure.
506         (RUN_TEST_ff_b): New macro.
507         (RUN_TEST_LOOP_ff_b): Likewise.
508         (totalorder_test_data): New array.
509         (totalorder_test): New function.
510         (main): Call totalorder_test.
511         * math/test-tgmath.c (NCALLS): Increase to 122.
512         (F(compile_test)): Call totalorder.
513         (F(totalorder)): New function.
514         * manual/arith.texi (FP Comparison Functions): Document
515         totalorder, totalorderf and totalorderl.
516         * manual/libm-err-tab.pl: Update comment on interfaces without
517         ulps tabulated.
518         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
519         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
520         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
521         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
522         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
523         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
524         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
525         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
526         totalorder.
527         (CFLAGS-nldbl-totalorder.c): New variable.
528         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
529         file.
530         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
531         Add test-totalorderl-ldbl-128ibm.
532         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
533         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
534         test-totalorderl-ldbl-96.
535         * sysdeps/nacl/libm.abilist: Update.
536         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
537         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
538         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
539         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
540         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
541         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
542         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
543         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
544         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
545         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
546         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
547         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
549         Likewise.
550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
551         Likewise.
552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
553         Likewise.
554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
555         Likewise.
556         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
557         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
558         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
559         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
560         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
562         Likewise.
563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
564         Likewise.
565         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
566         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
567         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
569 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
571         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
572         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
573         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
574         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
575         remove ENOSYS implementation.
576         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
577         Consolidate all Linux implementations.
579 2016-10-11  Florian Weimer  <fweimer@redhat.com>
581         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
582         * resolv/herror.c (herror): Cast away const-ness.
583         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
584         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
586 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
588         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
589         instead of M_NAN + M_NAN.
590         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
592 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
594         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
595         unused variable 'p'.
597 2016-10-09  Alan Modra  <amodra@gmail.com>
598             Andreas Schwab  <schwab@linux-m68k.org>
600         [BZ #20554]
601         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
602         [PIC && !SHARED]: Set up PIC register for PLT call.
604 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
606         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
607         conditional on value of [__FLT_EVAL_METHOD__].
608         * math/test-iseqsig-excess-precision.c: New file.
609         * math/Makefile (tests): Add test-iseqsig-excess-precision.
611 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
613         * math/s_iseqsig_template.c: Include math-private.h.
615         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
616         * posix/tst-posix_fadvise.c: New file.
617         * posix/tst-posix_fadvise64.c: Likewise.
618         * posix/tst-posix_fadvise-common.c: Likewise.
619         * sysdeps/unix/sysv/linux/arm/kernel-features.h
620         (__ASSUME_FADVISE64_64_6ARG): Define.
621         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
622         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
623         * sysdeps/unix/sysv/linux/tile/kernel-features.h
624         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
625         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
626         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
627         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
628         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
629         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
630         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
631         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
632         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
635         Likewise.
636         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
637         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
638         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
639         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
640         Alias to __posix_fadvise64_l32.
641         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
642         Add compat definition to posix_fadvise64.
643         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
644         Add versioned definition to posix_fadvise64.
645         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
646         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
647         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
648         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
649         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
651         * io/Makefile (tests): Add tst-posix_fallocate and
652         tst-posix_fallocate64.
653         * io/tst-posix_fallocate-common.c: New file.
654         * io/tst-posix_fallocate.c: Likewise.
655         * io/tst-posix_fallocate64.c: Likewise.
656         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
657         file.
658         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
659         Likewise.
660         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
661         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
662         Likewise.
663         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
664         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
665         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
666         SYSCALL_LL to pass both offset and len arguments.
667         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
668         Likewise.
669         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
670         __libc_pwrite64 alias used by posix_fallocate64.
672         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
673         tst-fallocate64.
674         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
675         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
676         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
677         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
678         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
679         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
680         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
681         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
682         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
683         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
684         macro on offset argument.
685         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
686         SYSCALL_LL64 on offset argument.
688         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
689         tst-fallocate64.
690         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
691         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
692         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
693         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
694         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
695         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
696         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
697         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
698         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
699         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
700         macro on offset argument.
701         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
702         SYSCALL_LL64 on offset argument.
703         * test-skeleton.c (FAIL_RET): Add macro.
704         (FAIL_EXIT): Likewise.
705         (FAIL_EXIT1): Likewise.
706         (_FAIL): Likewise.
708 2016-10-07  Florian Weimer  <fweimer@redhat.com>
710         [BZ #20629]
711         resolv: Remove RES_USEBSTRING and its implementation.
712         * resolv/resolv.h (RES_USEBSTRING): Remove.
713         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
714         (digitvalue, encode_bitstring, decode_bitstring): Remove.
715         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
716         (labellen): Remove extended label types support.
717         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
718         * resolv/res_init.c (res_setoptions): Likewise.
719         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
721 2016-10-07  Florian Weimer  <fweimer@redhat.com>
723         resolv: Remove RES_NOIP6DOTINT and its implementation.
724         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
725         (RES_NOIP6DOTINT): Remove.
726         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
727         handling.
728         * resolv/res_debug.c (p_option): Likewise.
729         * resolv/res_init.c (res_setoptions): Likewise.
730         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
732 2016-10-07  Florian Weimer  <fweimer@redhat.com>
734         resolv: Deprecate unimplemented flags.
735         * misc/sys/cdefs.h (__glibc_macro_warning1)
736         (__glibc_macro_warning): Define.
737         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
738         (RES_KEEPTSIG): Mark as deprecated.
739         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
740         RES_NOCHECKNAME, RES_KEEPTSIG.
741         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
743 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
745         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
746         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
747         Use strong_alias to create symbols for glibc verison 2.19.
749 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
751         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
753 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
755         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
757 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
759         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
761 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
763         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
764         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
765         in header for using it as type for ifunc function because __GI_* symbols
766         for ppc32 do not target the ifunc symbols.
767         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
769 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
771         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
772         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
773         libc_ifunc_hidden_def.
774         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
775         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
776         Redirect ifunced function in header for using it as type of ifunc'ed
777         function. Redefine libc_hidden_def to use fallback non ifunc'ed
778         function for __GI_* symbol.
779         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
780         * include/libc-symbols.h
781         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
783 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
785         [BZ #20478]
786         * sysdeps/s390/multiarch/ifunc-resolve.h
787         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
788         to create ifunc symbols.
789         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
790         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
791         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
792         for using it as type for ifunc function.
793         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
794         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
795         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
796         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
797         * sysdeps/s390/multiarch/strcat.c: Likewise.
798         * sysdeps/s390/multiarch/strchr.c: Likewise.
799         * sysdeps/s390/multiarch/strcmp.c: Likewise.
800         * sysdeps/s390/multiarch/strcpy.c: Likewise.
801         * sysdeps/s390/multiarch/strcspn.c: Likewise.
802         * sysdeps/s390/multiarch/strlen.c: Likewise.
803         * sysdeps/s390/multiarch/strncmp.c: Likewise.
804         * sysdeps/s390/multiarch/strncpy.c: Likewise.
805         * sysdeps/s390/multiarch/strnlen.c: Likewise.
806         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
807         * sysdeps/s390/multiarch/strrchr.c: Likewise.
808         * sysdeps/s390/multiarch/strspn.c: Likewise.
809         * sysdeps/s390/multiarch/wcschr.c: Likewise.
810         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
811         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
812         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
813         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
814         * sysdeps/s390/multiarch/wmemset.c: Likewise.
815         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
816         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
817         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
818         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
819         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
820         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
822 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
824         * include/libc-symbols.h (__ifunc_resolver):
825         New macro is used by __ifunc* macros.
826         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
827         depending on HAVE_GCC_IFUNC.
828         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
829         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
831         Redirect ifunced function in header for using as type for ifunc function.
832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
836         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
837         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
838         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
839         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
840         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
841         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
842         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
843         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
844         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
845         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
851         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
852         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
853         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
854         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
855         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
856         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
857         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
858         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
859         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
860         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
861         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
862         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
863         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
864         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
866         Add libc_hidden_def() and use libc_ifunc_hidden() macro
867         instead of libc_ifunc() macro.
868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
869         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
871 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
873         * config.h.in (HAVE_GCC_IFUNC): New undef.
874         * configure.ac: Add check if gcc supports attribute ifunc feature.
875         * configure: Regenerated.
876         * manual/install.texi: Add recommendation for gcc with
877         indirect-function support.
878         * INSTALL: Regenerated.
880 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
882         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
883         macro.
884         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
885         (__iseqsig): New declaration.
886         * math/s_iseqsig_template.c: New file.
887         * math/Versions (__iseqsigf): New libm symbol at version
888         GLIBC_2.25.
889         (__iseqsig): Likewise.
890         (__iseqsigl): Likewise.
891         * math/libm-test.inc (iseqsig_test_data): New array.
892         (iseqsig_test): New function.
893         (main): Call iseqsig_test.
894         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
895         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
896         * manual/libm-err-tab.pl: Update comment on interfaces without
897         ulps tabulated.
898         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
899         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
900         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
901         * sysdeps/nacl/libm.abilist: Update.
902         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
903         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
904         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
905         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
906         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
907         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
908         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
909         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
910         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
911         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
912         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
913         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
915         Likewise.
916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
917         Likewise.
918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
919         Likewise.
920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
921         Likewise.
922         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
923         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
924         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
925         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
926         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
928         Likewise.
929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
930         Likewise.
931         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
932         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
933         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
935 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
937         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
938         do_sincos_2, sloww, sloww1): Update comments.
940         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
941         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
943         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
944         K boolean and rename it.
945         (__sin): Adjust.
946         (__cos): Adjust.
948 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
949             Siddhesh Poyarekar  <siddhesh@sourceware.org>
951         * manual/nss.texi: Fix typos in the manual.
953 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
955         * manual/contrib.texi: Fix typos in the manual.
957         * manual/maint.texi: Fix typos in the manual.
959         * manual/install.texi: Fix typos in the manual.
960         * INSTALL: Regenerated.
962         * manual/lang.texi: Fix typos in the manual.
964         * manual/probes.texi: Fix typos in the manual.
966         * manual/threads.texi: Fix typos in the manual.
968         * manual/debug.texi: Fix typos in the manual.
970         * manual/crypt.texi: Fix typos in the manual.
972         * manual/conf.texi: Fix typos in the manual.
974         * manual/sysinfo.texi: Fix typos in the manual.
976         * manual/users.texi: Fix typos in the manual.
978         * manual/job.texi: Fix typos in the manual.
980         * manual/process.texi: Fix typos in the manual.
982         * manual/argp.texi: Fix typos in the manual.
983         * manual/getopt.texi: Likewise.
984         * manual/startup.texi: Likewise.
986         * manual/signal.texi: Fix typos in the manual.
988         * manual/setjmp.texi: Fix typos in the manual.
990         * manual/resource.texi: Fix typos in the manual.
992         * manual/time.texi: Fix typos in the manual.
994         * manual/arith.texi: Fix typos in the manual.
996         * manual/math.texi: Fix typos in the manual.
998         * manual/syslog.texi: Fix typos in the manual.
1000         * manual/terminal.texi: Fix typos in the manual.
1002         * manual/socket.texi: Fix typos in the manual.
1004         * manual/filesys.texi: Fix typos in the manual.
1006         * manual/llio.texi: Fix typos in the manual.
1008         * manual/stdio.text: Fix typos in the manual.
1010 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1012         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
1013         instead of K1.
1015         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
1016         SHIFT_QUADRANT and make it bool.
1017         (do_sincos_2): Likewise.
1018         (sloww): Likewise.
1019         (sloww1): Likewise.
1020         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
1021         (__cos): Likewise.
1023 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1025         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1027 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
1029         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
1030         Define to __WORDSIZE, not conditional on [LONG_MAX ==
1031         0x7fffffffL].
1032         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1034 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1036         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
1037         inline by __inline__.
1038         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
1039         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
1040         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
1041         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
1042         sigset_t from signal.h.
1043         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
1044         which is already required.
1046 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
1048         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1050 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
1052         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
1053         (struct tcp_repair_window): New type.
1055 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1057         * libio/tst-memstream3.c: Include string.h.
1059 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1061         [BZ #18241]
1062         [BZ #20181]
1063         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
1064         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
1065         write position is at the end the buffer.
1066         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
1067         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
1068         (_IO_str_seekoff): Set correct offset from negative displacement and
1069         set EINVAL for invalid ones.
1070         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
1071         buffer length.
1072         (_IO_wstr_switch_to_get_mode): New function.
1073         (_IO_wstr_seekoff): Set correct offset from negative displacement and
1074         set EINVAL for invalid ones.
1075         * libio/tst-memstream3.c: New file.
1076         * libio/tst-wmemstream3.c: Likewise.
1077         * manual/examples/memstrm.c: Remove warning when priting size_t.
1079 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1081         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
1082         macro to use __builtin_fma.
1083         * sysdeps/x86_64/fpu/dla.h: Remove file.
1085         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1086         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
1087         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
1089 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
1091         [BZ #20292]
1092         * elf/Makefile (routines): Add dl-addr-obj.
1093         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
1094         tst-_dl_addr_inside_object.
1095         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
1096         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1097         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
1098         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1099         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
1100         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
1101         * elf/dl-open.c: Likewise.
1102         * elf/dl-addr-obj.c: New file.
1103         * elf/tst-_dl_addr_inside_object.c: New file.
1105 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1107         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
1108         <bits/iscanonical.h>.
1109         * bits/iscanonical.h: New file.
1110         * math/s_iscanonicall.c: Likewise.
1111         * math/Versions (__iscanonicall): New libm symbol at version
1112         GLIBC_2.25.
1113         * math/libm-test.inc (iscanonical_test_data): New array.
1114         (iscanonical_test): New function.
1115         (main): Call iscanonical_test.
1116         * math/Makefile (headers): Add bits/iscanonical.h.
1117         (type-ldouble-routines): Add s_iscanonicall.
1118         * manual/arith.texi (Floating Point Classes): Document
1119         iscanonical.
1120         * manual/libm-err-tab.pl: Update comment on interfaces without
1121         ulps tabulated.
1122         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
1123         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
1124         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
1125         Likewise.
1126         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1127         test-iscanonical-ldbl-128ibm.
1128         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
1129         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
1130         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
1131         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
1132         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1133         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1134         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1136         Likewise.
1137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1138         Likewise.
1139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1140         Likewise.
1141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1142         Likewise.
1143         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1144         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1146 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1148         * string/bits/string3.h: Remove C++ style comments.
1150 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1152         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
1153         instead of ternary condition.
1154         (do_sincos_2): Likewise.
1155         (__sin): Likewise.
1156         (__cos): Likewise.
1157         (slow): Likewise.
1158         (sloww): Likewise.
1159         (sloww1): Likewise.
1160         (bsloww): Likewise.
1161         (bsloww1): Likewise.
1163         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
1164         instead of ternary condition.
1165         (do_sin_slow): Likewise.
1166         (do_sincos_1): Likewise.
1167         (do_sincos_2): Likewise.
1168         (__cos): Likewise.
1169         (sloww): Likewise.
1170         (sloww1): Likewise.
1171         (sloww2): Likewise.
1172         (bsloww): Likewise.
1173         (bsloww1): Likewise.
1174         (bsloww2): Likewise.
1176         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
1177         check from here...
1178         (slow2): ... and here...
1179         (__sin): ... to here.
1181 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
1183         * math/math.h
1184         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
1185         Cast argument to its own type.
1186         * math/test-iszero-excess-precision.c: New file.
1187         * math/Makefile (tests): Add test-iszero-excess-precision.
1188         (CFLAGS-test-iszero-excess-precision.c): New variable.
1190 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
1192         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
1193         field, add err field.
1194         (__spawni_child): Report error through err member instead of pipe.
1195         (__spawnix): Likewise.
1197 2016-09-28  Zack Weinberg  <zackw@panix.com>
1199         * scripts/check-installed-headers.sh: Generalize treatment of
1200         sys/elf.h to all target architectures.
1202         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
1203         deleted typedef ucontext_t.
1205 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1207         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
1208         (__INTERNAL_SYSCALL1): Likewise.
1209         (__INTERNAL_SYSCALL2): Likewise.
1210         (__INTERNAL_SYSCALL3): Likewise.
1211         (__INTERNAL_SYSCALL4): Likewise.
1212         (__INTERNAL_SYSCALL5): Likewise.
1213         (__INTERNAL_SYSCALL6): Likewise.
1214         (__INTERNAL_SYSCALL7): Likewise.
1215         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
1216         (__INTERNAL_SYSCALL_NARGS): Likewise.
1217         (__INTERNAL_SYSCALL_DISP): Likewise.
1218         (INTERNAL_SYSCALL_CALL): Likewise.
1219         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
1220         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
1221         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
1222         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
1223         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
1224         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
1225         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
1226         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
1227         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
1228         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
1229         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
1230         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
1231         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
1233 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
1235         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
1236         macro.
1237         * math/libm-test.inc (iszero_test_data): New array.
1238         (iszero_test): New function.
1239         (main): Call iszero_test.
1240         * manual/arith.texi (Floating Point Classes): Document iszero.
1241         * manual/libm-err-tab.pl: Update comment on interfaces without
1242         ulps tabulated.
1244 2016-09-23  Zack Weinberg  <zackw@panix.com>
1246         * scripts/check-installed-headers.sh: New script.
1247         * Rules: In each directory that defines header files to be installed,
1248         run check-installed-headers.sh on them as a special test.
1249         * Makefile: Likewise for the headers installed at top level.
1251         * include/aliases.h, include/alloca.h, include/argz.h
1252         * include/arpa/nameser.h, include/arpa/nameser_compat.h
1253         * include/elf.h, include/envz.h, include/err.h
1254         * include/execinfo.h, include/fpu_control.h, include/getopt.h
1255         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
1256         * include/link.h, include/malloc.h, include/mcheck.h
1257         * include/mntent.h, include/netinet/ether.h
1258         * include/nss.h, include/obstack.h, include/printf.h
1259         * include/pty.h, include/resolv.h, include/rpc/auth.h
1260         * include/rpc/auth_des.h, include/rpc/auth_unix.h
1261         * include/rpc/clnt.h, include/rpc/des_crypt.h
1262         * include/rpc/key_prot.h, include/rpc/netdb.h
1263         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
1264         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
1265         * include/rpc/rpc_msg.h, include/rpc/svc.h
1266         * include/rpc/svc_auth.h, include/rpc/xdr.h
1267         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
1268         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
1269         * include/rpcsvc/ypupd.h, include/shadow.h
1270         * include/stdio_ext.h, include/sys/epoll.h
1271         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
1272         * include/sys/prctl.h, include/sys/profil.h
1273         * include/sys/statfs.h, include/sys/sysctl.h
1274         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
1275         * sysdeps/arm/nacl/include/bits/setjmp.h
1276         * sysdeps/mips/include/sys/asm.h
1277         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
1278         * sysdeps/unix/sysv/linux/include/sys/timex.h
1279         * sysdeps/x86/fpu/include/bits/fenv.h:
1280         Add #ifndef _ISOMAC guard around internal declarations.
1281         Add multiple-inclusion guard if not already present.
1283 2016-09-23  Zack Weinberg  <zackw@panix.com>
1285         * sysdeps/generic/sys/ucontext.h
1286         * sysdeps/arm/sys/ucontext.h
1287         * sysdeps/i386/sys/ucontext.h
1288         * sysdeps/m68k/sys/ucontext.h
1289         * sysdeps/mips/sys/ucontext.h
1290         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
1291         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
1292         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
1293         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1294         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
1295         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1296         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1297         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1298         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1299         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1300         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1301         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1302         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1303         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1304         Include both bits/sigcontext.h and bits/sigstack.h.
1305         Fix grammar error in comment, if present.
1307         * bits/sigstack.h
1308         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1309         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
1310         * sysdeps/unix/sysv/linux/bits/sigstack.h
1311         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
1312         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
1313         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1314         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
1315         * bits/sigcontext.h
1316         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1317         * sysdeps/unix/sysv/linux/bits/sigcontext.h
1318         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
1319         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
1320         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
1321         as well as signal.h, if this was not already allowed.  Request
1322         definition of size_t if necessary.  Minimize semantically-null
1323         differences across files.
1325 2016-09-23  Zack Weinberg  <zackw@panix.com>
1327         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
1328         Remove all logic conditional on __need macros.  Move all the
1329         conditionally defined types to their own headers...
1330         * time/bits/types/clock_t.h: Define clock_t here.
1331         * time/bits/types/clockid_t.h: Define clockid_t here.
1332         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
1333         * time/bits/types/struct_timespec.h: Define struct timespec here.
1334         * time/bits/types/struct_timeval.h: Define struct timeval here.
1335         * time/bits/types/struct_tm.h: Define struct tm here.
1336         * time/bits/types/time_t.h: Define time_t here.
1337         * time/bits/types/timer_t.h: Define timer_t here.
1338         * time/Makefile: Install the new headers.
1340         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
1341         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
1342         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
1343         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
1344         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
1345         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
1346         * sysdeps/unix/sysv/linux/bits/resource.h
1347         * sysdeps/unix/sysv/linux/bits/timex.h
1348         * sysdeps/unix/sysv/linux/mips/bits/resource.h
1349         * sysdeps/unix/sysv/linux/net/ppp_defs.h
1350         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
1351         * sysdeps/unix/sysv/linux/sys/acct.h
1352         * sysdeps/unix/sysv/linux/sys/timerfd.h
1353         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
1354         * time/sys/time.h, time/sys/timeb.h
1355         Use the new bits/types headers.
1357         * include/time.h: Remove __need logic.
1358         * include/bits/time.h
1359         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
1360         * include/bits/types/time_t.h, include/bits/types/timer_t.h
1361         * include/bits/types/struct_itimerspec.h
1362         * include/bits/types/struct_timespec.h
1363         * include/bits/types/struct_timeval.h
1364         * include/bits/types/struct_tm.h:
1365         New wrapper headers.
1367 2016-09-23  Zack Weinberg  <zackw@panix.com>
1369         * sysdeps/mach/hurd/net/if_ppp.h
1370         * sysdeps/unix/sysv/linux/net/if_ppp.h:
1371         Only define struct ifpppstatsreq and struct ifpppcstatsreq
1372         if __USE_MISC is defined, to ensure struct ifreq is declared.
1374         * inet/netinet/ether.h: Condition all function prototypes
1375         on __USE_MISC, to ensure struct ether_addr is declared.
1377         * socket/bits/types/struct_osockaddr.h: New header.
1378         * include/bits/types/struct_osockaddr.h: New wrapper.
1379         * socket/Makefile: Install the new header.
1380         * socket/sys/socket.h, inet/protocols/talkd.h:
1381         Refer to bits/types/struct_osockaddr.h for the definition of
1382         struct osockaddr.
1384 2016-09-23  Zack Weinberg  <zackw@panix.com>
1386         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
1387         * inet/protocols/routed.h, inet/protocols/talkd.h
1388         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
1389         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
1390         * sysdeps/generic/netinet/if_ether.h
1391         * sysdeps/generic/netinet/in_systm.h
1392         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
1393         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1394         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
1395         * sysdeps/mach/hurd/net/if_arp.h
1396         * sysdeps/mach/hurd/net/if_ppp.h
1397         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
1398         * sysdeps/unix/sysv/linux/bits/in.h
1399         * sysdeps/unix/sysv/linux/net/ethernet.h
1400         * sysdeps/unix/sysv/linux/net/if_arp.h
1401         * sysdeps/unix/sysv/linux/net/if_ppp.h
1402         * sysdeps/unix/sysv/linux/net/if_shaper.h
1403         * sysdeps/unix/sysv/linux/net/route.h
1404         * sysdeps/unix/sysv/linux/netinet/if_ether.h
1405         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1406         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1407         * sysdeps/unix/sysv/linux/netipx/ipx.h
1408         * sysdeps/unix/sysv/linux/sys/acct.h
1409         * include/arpa/nameser.h, include/resolv.h:
1410         Change all uses of u_char to unsigned char,
1411         u_short and ushort to unsigned short, u_int and uint to unsigned int,
1412         u_long and ulong to unsigned long, u_int8_t to uint8_t,
1413         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
1414         and u_int64_t and u_quad_t to uint64_t.
1416         * mach/sys/reboot.h: Remove two casts of integer literals
1417         to the types they already have.
1419         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
1420         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
1421         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
1422         from referring to 'unsigned char' to 'uint8_t' for consistency with
1423         the macro definition below.
1425         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
1426         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
1427         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
1428         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
1429         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
1430         * sysdeps/unix/sysv/linux/sys/acct.h
1431         * include/arpa/nameser.h, include/resolv.h:
1432         Fix indentation disrupted by mechanical edits.
1434         * inet/protocols/talkd.h, resolv/arpa/nameser.h
1435         * sysdeps/generic/netinet/in_systm.h
1436         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1437         * sysdeps/gnu/netinet/udp.h
1438         * sysdeps/unix/sysv/linux/net/ethernet.h
1439         * sysdeps/unix/sysv/linux/net/if_arp.h
1440         * sysdeps/unix/sysv/linux/net/if_ppp.h
1441         * sysdeps/unix/sysv/linux/net/if_shaper.h
1442         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1443         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1444         * sysdeps/unix/sysv/linux/netipx/ipx.h
1445         * sysdeps/unix/sysv/linux/sys/acct.h
1446         Include stdint.h for uintNN_t definitions.
1447         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
1449 2016-09-23  Zack Weinberg  <zackw@panix.com>
1451         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
1452         * sysdeps/unix/sysv/linux/netrose/rose.h:
1453         Include sys/socket.h and netax25/ax25.h.
1455         * inet/netinet/icmp6.h, inet/netinet/ip6.h
1456         * resolv/arpa/nameser_compat.h:
1457         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
1459         * sysdeps/unix/sysv/linux/sys/quota.h:
1460         Use __caddr_t instead of caddr_t.
1461         * sysdeps/unix/sysv/linux/sys/timerfd.h:
1462         Use __clockid_t instead of clockid_t.
1464         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
1466         * argp/argp.h: Check whether _LIBC is defined before expanding it.
1467         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
1468         expanding it.
1470         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
1471         Define __glibc_c99_flexarr_available to 1 when the compiler
1472         supports C99-compatible flexible array members, 0 otherwise.
1473         * sysdeps/unix/sysv/linux/bits/socket.h
1474         * sysdeps/mach/hurd/bits/socket.h
1475         * bits/socket.h: Use __glibc_c99_flexarr_available in
1476         definitions of struct cmsghdr and CMSG_DATA.
1478 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1480         * manual/nss.texi (NSS Modules Interface): Adjust function return
1481         type to enum nss_status.  Document errnop argument.  Clarify
1482         h_errnop semantics.  Fix cross-reference formatting.
1483         (NSS Module Function Internals): Mention that *errnop needs to be
1484         set on failure, but not to zero.
1486 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1488         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
1489         (get_random_name): New functions.
1490         (check_wrapper_flags_mode): Use linkat to give the new file a name
1491         determined by get_random_name.
1492         (do_test): Add calls to test open64 and openat64.
1494 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1496         * test-skeleton.c: Remove #include <stdarg.h>.
1498 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
1500         [BZ #19826]
1501         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
1502         initialization of static TLS entries.
1503         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
1504         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1506 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1508         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
1509         _hurd_malloc_fork_prepare.
1510         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
1511         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
1512         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
1513         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
1514         (_hurd_fork_child_hook): Drop malloc_fork_child.
1515         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
1516         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
1517         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
1518         after locking locks (notably hurd_dtable_lock). Call
1519         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
1520         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
1521         __malloc_fork_unlock_child.
1522         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
1524 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
1526         * soft-fp/extendhftf2.c: New.
1527         * soft-fp/fixhfti.c: Likewise.
1528         * soft-fp/fixunshfti.c: Likewise.
1529         * soft-fp/floattihf.c: Likewise.
1530         * soft-fp/floatuntihf.c: Likewise.
1531         * soft-fp/half.h: Likewise.
1532         * soft-fp/trunctfhf2.c: Likewise.
1534 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
1536         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
1537         macro.
1538         * math/libm-test.inc (issubnormal_test_data): New array.
1539         (issubnormal_test): New function.
1540         * manual/arith.texi (Floating Point Classes): Document
1541         issubnormal.
1542         * manual/libm-err-tab.pl: Update comment on interfaces without
1543         ulps tabulated.
1545         * sysdeps/generic/stdint.h: Define
1546         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1547         <bits/libc-header-start.h> instead of including <features.h>.
1548         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
1549         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
1550         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
1551         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
1552         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
1553         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
1554         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
1555         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
1556         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
1557         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
1558         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
1559         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
1560         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
1561         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
1562         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
1563         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
1564         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
1565         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
1566         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
1567         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
1568         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
1569         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
1570         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
1571         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
1572         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
1573         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
1574         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
1575         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
1576         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
1577         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
1578         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
1579         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
1580         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
1581         * manual/arith.texi (Integers): Document these macros for types
1582         specified by width properties.
1583         * manual/lang.texi (Width of Type): Document these macros for
1584         other standard typedefs.
1585         * stdlib/tst-width-stdint.c: New file.
1586         * stdlib/Makefile (tests): Add tst-width-stdint.
1588 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1590         [BZ #20016]
1591         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
1592         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
1593         Move ...
1594         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
1595         ... here, as compatibility symbols in a new file.
1596         * resolv/Makefile (libresolv-routines): Add compat-hooks.
1597         * resolv/res_init.c (__res_vinit): Adjust member names.
1598         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
1599         * resolv/resolv.h (res_sendhookact, res_send_qhook)
1600         (res_send_rhook): Remove.
1601         (struct __res_state): Rename qhook, rhook members.
1603 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1605         malloc: Use __libc_lock wrappers.
1606         * malloc/arena.c (list_lock, free_list_lock): Define using
1607         __libc_lock_define_initialized.
1608         (arena_lock): Adjust formatting.
1609         * malloc/malloc.c (struct malloc_state): Define mutex using
1610         __libc_lock_define.
1611         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
1612         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
1613         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
1614         (mutex_unlock, mutex_trylock): Remove.
1615         (__pthread_initialize): Remove unused macro.
1616         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
1617         (mutex_unlock, mutex_trylock): Remove.
1619 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1621         [BZ #20592]
1622         Remove RR type classification macros.
1623         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
1624         (ns_t_udp_p, ns_t_xfr_p): Remove.
1626 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1628         Remove misleading version information.
1629         * resolv/arpa/nameser.h (__NAMESER): Remove.
1630         * resolv/arpa/nameser_compat.h (__BIND): Remove.
1632 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1634         Remove the always-defined BIND_4_COMPAT macro.
1635         * resolv/arpa/nameser.h: Unconditionally include
1636         <arpa/nameser_compat.h>.
1637         (BIND_4_COMPAT): Remove.
1638         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
1640 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1642         [BZ #20591]
1643         Remove obsolete DNSSEC support.
1644         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
1645         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
1646         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
1647         (ns_verify_tcp, ns_verify_tcp_init): Remove.
1648         (ns_cert_types): Add comment.
1649         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
1650         separately.
1651         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
1652         (dst_s_dns_key_id): Remove.
1653         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
1654         variables.
1656 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1658         [BZ #20524]
1659         * manual/string.texi (String/Array Comparison): Clarify the
1660         strverscmp behavior.
1662 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1664         * test-skeleton.c (xasprintf): Add function.
1665         * io/tst-open-tmpfile.c: New test.
1666         * io/Makefile (tests): Add it.
1668 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1670         Avoid running $(CXX) during build to obtain header file paths.
1671         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
1672         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
1673         * Makerules (cstdlib, cmath): Remove variables.  Use
1674         $(c++-cstdlib-header), $(c++-cmath-header) instead.
1675         * configure: Regenerate.
1677 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1679         * Makeconfig (all-object-suffixes): Include .op only if
1680         $(build-profile).
1682 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1684         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
1685         conditionals.  Do not define PATH_MAX.
1687 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1689         * posix/Makefile (tests): Add tst-spawn3.
1690         * posix/tst-spawn3.c: New file.
1691         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
1692         if it is already opened for open action.
1694         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
1695         all signals when executing the clone vfork child.
1696         (SIGALL_SET): Remove macro.
1698         * nptl/Makefile (tests): Add tst-exec5.
1699         * nptl/tst-exec5.c: New file.
1700         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
1701         asynchronous cancellation.
1703 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1705         * hurd/exc2signal.c: #include <hurd/signal.h>
1706         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
1707         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
1708         accordingly.
1709         * mach/mach_error.c (mach_error): Fix old-style function definition.
1710         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
1712 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1714         * math/Makefile (libm-calls): Remove s_nanF.
1715         (gen-libm-calls): Add s_nanF.
1717         * math/s_nan.c: Refactor into ...
1718         * math/s_nan_template.c: New file.
1720         * math/s_nanf.c: Removed.
1721         * math/s_nanl.c: Removed.
1722         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
1723         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
1725         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1726         (LDOUBLE_nanl_libm_version): New macro.
1728         * sysdeps/generic/math-type-macros-double.h:
1729         (M_STRTO_NAN): New macro.
1730         * sysdeps/generic/math-type-macros-float.h: Likewise.
1731         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1733         * sysdeps/generic/math-type-macros.h: Document
1734         M_STRTO_NAN.
1736 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1738         * math/s_nanf.c: Remove __nanf undef.
1739         * math/s_nan.c: Remove __nan undef.
1740         * math/s_nanl.c: Remove __nanl undef.
1742         * sysdeps/generic/math_private.h (__nan): Remove macro
1743         override.
1744         (__nanf): Likewise.
1745         (__nanl): Likewise.
1747 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1749         * math/Makefile (gen-all-calls): New variable.
1750         (generated): Replace gen-libm-calls with gen-all-calls.
1751         (gen-libm-templates.stmp): Likewise.  Also, ensure
1752         the output directory exists or is created and add
1753         dependency on the Makefile.
1754         (calls): Move s_ldexpF into gen-calls.
1755         (gen-calls): New variable.
1757         * math/s_ldexpf.c: Removed.
1758         * math/s_ldexpl.c: Removed.
1759         * math/s_ldexp.c: Refactored into ...
1760         * math/s_ldexp_template.c: New file.
1762         * sysdeps/generic/math-type-macros-double.h: Remove
1763         redundant fall-through definition of declare_mgen_alias.
1764         (declare_mgen_alias_2): New macro.
1766         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
1767         New macro for function aliased to two exported symbols.
1769         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
1770         new template file.
1771         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1773 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1775         * Makeconfig (all-object-suffixes): Remove .og.
1776         * Makerules (elide-routines.og): Remove.
1777         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
1778         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
1779         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
1781 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1783         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
1784         .os objects.
1786 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1788         [BZ #20615]
1789         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
1790         fpu directory by non-fpu.
1791         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
1792         on non-fpu directory from a fpu directory.
1794 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
1796         * include/limits.h: Define
1797         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1798         <bits/libc-header-start.h> instead of including <features.h>.
1799         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
1800         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
1801         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
1802         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
1803         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
1804         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
1805         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
1806         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
1807         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1808         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
1809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
1810         * manual/lang.texi (Width of Type): Document these macros.
1811         * stdlib/tst-width.c: New file.
1812         * stdlib/Makefile (tests): Add tst-width.
1814 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1816         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
1817         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
1819 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1821         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
1822         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1823         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1825 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1827         [BZ #18243]
1828         * rt/Makefile (test): Add tst-shm-cancel.
1829         * rt/tst-shm-cancel.c: New file.
1830         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
1832         [BZ #18243]
1833         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
1834         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
1835         definition.
1836         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
1837         uncontended case.
1838         * nptl/sem_wait.c (__new_sem_wait): Likewise.
1839         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
1840         (tf): Fix check for uncontended case.
1841         (do_test): Likewise.
1842         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
1843         (tf): Fix check for uncontended case.
1844         (do_test): Likewise.
1845         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
1846         (tf): Fix check for uncontended case.
1847         (do_test): Likewise.
1848         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
1849         (tf): Fix check for uncontended case.
1850         (do_test): Likewise.
1852         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
1853         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
1855         [BZ #15765]
1856         * nptl/Makefile (tests): Add tst-sem16.
1857         * nptl/tst-sem16.c: New file.
1858         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
1860         * nptl/sem_open.c (sem_open): Init pad value to 0.
1861         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1862         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1864 2016-09-15  Florian Weimer  <fweimer@redhat.com>
1866         [BZ #20611]
1867         * inet/Makefile (routines): Add inet6_scopeid_pton.
1868         (tests): Add tst-inet6_scopeid_pton.
1869         * inet/inet6_scopeid_pton.c: New file.
1870         * inet/net-internal.h: Likewise.
1871         * inet/tst-inet6_scopeid_pton.c: New test.
1872         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
1873         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
1874         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1876 2016-09-14  Florian Weimer  <fweimer@redhat.com>
1878         Remove support for compiling wrappers with PTW.
1879         * sysdeps/nptl/Makeconfig: Drop ptw- support.
1880         * nptl/Makefile (pthread-compat-wrappers): Define.
1881         (libpthread-routines): Use pthread-compat-wrappers.
1882         * sysdeps/unix/sysv/linux/alpha/Makefile
1883         (libpthread-routines, libpthread-shared-only-routines): Remove
1884         ptw- prefix.
1885         * sysdeps/s390/nptl/Makefile
1886         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1887         * sysdeps/ia64/nptl/Makefile
1888         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1889         * sysdeps/nacl/Makefile (libpthread-routines): Use
1890         pthread-compat-wrappers to filter the routines list instead of the
1891         ptw- prefix.
1893 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1895         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
1896         with L() and remove explicit suffix, convert real literals
1897         which can be equivalentally substituted with integers, and
1898         transform -L(x) to L(-x).
1900         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1901         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1902         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1903         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1904         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1905         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1906         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1907         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1908         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1909         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1910         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1911         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1912         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1913         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1914         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1915         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1916         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1917         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1918         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1919         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1920         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1921         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1922         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1923         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1924         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1925         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1926         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1927         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1928         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1929         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1930         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1931         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1932         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1933         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1934         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1935         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1936         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1937         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1938         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1939         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1940         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1941         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1942         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1943         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1944         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1945         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1946         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1947         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1948         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1949         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1951 2016-09-13  Florian Weimer  <fweimer@redhat.com>
1953         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
1955 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1957         * malloc/Makefile (tests): Remove individual static test names
1958         and just add all of tests-static.
1960         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
1962 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1964         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
1965         file.
1967         * sysdeps/sparc/fpu/fegetmode.c: New file.
1968         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
1970         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
1971         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
1973         * sysdeps/s390/fpu/fegetmode.c: New file.
1974         * sysdeps/s390/fpu/fesetmode.c: Likewise.
1976         * sysdeps/powerpc/fpu/fegetmode.c: New file.
1977         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
1978         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
1979         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
1980         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
1981         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
1983         * sysdeps/mips/fpu/fegetmode.c: New file.
1984         * sysdeps/mips/fpu/fesetmode.c: Likewise.
1986         * sysdeps/m68k/fpu/fegetmode.c: New file.
1987         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
1989         * sysdeps/ia64/fpu/fegetmode.c: New file.
1990         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
1992         * sysdeps/hppa/fpu/fegetmode.c: New file.
1993         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
1995         * sysdeps/arm/fegetmode.c: New file.
1996         * sysdeps/arm/fesetmode.c: Likewise.
1998         * sysdeps/alpha/fpu/fegetmode.c: New file.
1999         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
2001         * sysdeps/aarch64/fpu/fegetmode.c: New file.
2002         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
2004         * math/fegetmode.c: New file.
2005         * math/fesetmode.c: Likewise.
2006         * sysdeps/i386/fpu/fegetmode.c: Likewise.
2007         * sysdeps/i386/fpu/fesetmode.c: Likewise.
2008         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
2009         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
2010         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
2011         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
2012         declaration.
2013         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
2014         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
2015         typedef.
2016         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2017         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2018         (femode_t): New typedef.
2019         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2020         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2021         (femode_t): New typedef.
2022         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2023         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2024         (femode_t): New typedef.
2025         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2026         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2027         (femode_t): New typedef.
2028         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2029         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2030         (femode_t): New typedef.
2031         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2032         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2033         (femode_t): New typedef.
2034         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2035         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2036         (femode_t): New typedef.
2037         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2038         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2039         (femode_t): New typedef.
2040         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2041         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2042         (femode_t): New typedef.
2043         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2044         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2045         (femode_t): New typedef.
2046         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
2047         declaration.
2048         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2049         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2050         (femode_t): New typedef.
2051         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2052         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2053         (femode_t): New typedef.
2054         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2055         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2056         (femode_t): New typedef.
2057         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2058         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2059         (femode_t): New typedef.
2060         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2061         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2062         (femode_t): New typedef.
2063         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2064         * manual/arith.texi (FE_DFL_MODE): Document macro.
2065         (fegetmode): Document function.
2066         (fesetmode): Likewise.
2067         * math/Versions (fegetmode): New libm symbol at version
2068         GLIBC_2.25.
2069         (fesetmode): Likewise.
2070         * math/Makefile (libm-support): Add fegetmode and fesetmode.
2071         (tests): Add test-femode and test-femode-traps.
2072         * math/test-femode-traps.c: New file.
2073         * math/test-femode.c: Likewise.
2074         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
2075         alias for __fe_dfl_env.
2076         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
2077         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
2078         (__fe_dfl_mode): Likewise.
2079         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
2080         version GLIBC_2.25.
2081         * sysdeps/nacl/libm.abilist: Update.
2082         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2083         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2084         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2085         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2086         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2087         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2088         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2089         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2090         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2091         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2092         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2093         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2095         Likewise.
2096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2097         Likewise.
2098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2099         Likewise.
2100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2101         Likewise.
2102         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2103         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2104         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2105         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2106         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2108         Likewise.
2109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2110         Likewise.
2111         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2112         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2113         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2115 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
2117         [BZ #20495]
2118         [BZ #20508]
2119         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
2120         processors, set Use_dl_runtime_resolve_slow and set
2121         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
2122         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
2123         New.
2124         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
2125         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
2126         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
2127         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
2128         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
2129         if Use_dl_runtime_resolve_opt is set.  Use
2130         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
2131         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
2132         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
2133         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
2134         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
2135         New.
2136         (_dl_runtime_resolve_opt): Likewise.
2137         (_dl_runtime_profile): Define only if _dl_runtime_profile is
2138         defined.
2140 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2142         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
2143         __libc_memalign with "+ RELA R_390_GLOB_DAT".
2145 2016-09-06  Florian Weimer  <fweimer@redhat.com>
2147         Convert malloc to __libc_lock.  Automated part, using this Perl
2148         s/// command:
2149           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
2150             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
2151         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
2152         conversion.
2154 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
2156         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
2157         (linknamespace-symlists-tests): Likewise.
2158         (linknamespace-header-tests): Likewise.
2160 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
2162         [BZ #19810]
2163         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
2164         * elf/tst-noload.c: New test case.
2165         * elf/Makefile (tests): Add tst-noload.
2167 2016-09-02  Roland McGrath  <roland@hack.frob.com>
2169         * sysdeps/nacl/dup.c: Add libc_hidden_def.
2171         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
2172         not any more.
2174         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
2176 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2178         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
2179         (do_cos_slow): Likewise.
2180         (do_sin): Likewise.
2181         (do_sin_slow): Likewise.
2182         (slow): Likewise.
2183         (slow1): Likewise.
2184         (slow2): Likewise.
2185         (sloww): Likewise.
2186         (sloww1): Likewise.
2187         (sloww2): Likewise.
2188         (bsloww): Likewise.
2189         (bsloww1): Likewise.
2190         (bsloww2): Likewise.
2191         (cslow2): Likewise.
2193         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
2195         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
2196         arguments.  Consolidate input partitioning from callers here.
2197         (do_cos_slow): Likewise.
2198         (do_sin): Likewise.
2199         (do_sin_slow): Likewise.
2200         (do_sincos_1): Remove the no longer necessary input partitioning.
2201         (do_sincos_2): Likewise.
2202         (__sin): Likewise.
2203         (__cos): Likewise.
2204         (slow1): Likewise.
2205         (slow2): Likewise.
2206         (sloww1): Likewise.
2207         (sloww2): Likewise.
2208         (bsloww1): Likewise.
2209         (bsloww2): Likewise.
2210         (cslow2): Likewise.
2212 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2214         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
2215         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
2216         outside of allocated array.
2218 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2220         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
2221         instead of MB_CUR_MAX to avoid variable-length array.
2223 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2225         * math/Makefile (libm-calls): Remove k_rem_pio2F.
2226         (type-double-routines): Add k_rem_pio2.
2227         (type-float-routines): Add k_rem_pio2f.
2229         * sysdeps/generic/math_private.h:
2230         (__kernel_rem_pio2l): Removed.
2232         * math/k_rem_pio2l.c: Removed.
2233         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
2234         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
2235         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
2236         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
2238 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2240         * math/Makefile (gen-libm-calls): Add s_fmin
2241         (libm-calls): Remove above.
2243         * math/s_fmin.c: Refactor into ...
2244         * math/s_fmin_template.c: New file.
2246         * math/s_fminf.c: Removed.
2247         * math/s_fminl.c: Removed.
2248         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2249         (LDOUBLE_fmin_libm_version): New macro.
2251         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
2252         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
2254 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2256         * math/Makefile: (gen-libm-calls): Add s_fmax.
2257         (libm-calls): Remove above.
2259         * math/s_fmax.c: Refactor into ...
2260         * math/s_fmax_template.c: New file.
2261         * math/s_fmaxf.c: Removed.
2262         * math/s_fmaxl.c: Removed.
2264         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2265         (LDOUBLE_fmaxl_libm_version): New macro.
2267         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
2268         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
2270         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
2271         s_fmin.c to pick the aarch64 version of the file.
2272         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
2273         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
2275 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2277         * math/Makefile: (gen-libm-calls): Add s_nextdown.
2278         (libm-calls): Remove above.
2280         * math/s_nextdown.c: Refactor into ...
2281         * math/s_nextdown_template.c: New file.
2282         * math/s_nextdownf.c: Removed.
2283         * math/s_nextdownl.c: Removed.
2285         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
2287 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2289         * math/Makefile (gen-libm-calls): Add s_fdim.
2290         (libm-calls): Move to above.
2292         * math/s_fdim.c: Renamed and refactored into to ...
2293         * math/s_fdim_template.c: New file.
2294         * math/s_fdiml.c: Removed.
2295         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
2296         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
2298         * sysdeps/generic/math-type-macros-double.h:
2299         (declare_mgen_alias): Don't declare if already declared.
2300         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
2301         Likewise.
2303         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2304         (declare_mgen_alias): Don't declare if already declared.
2305         (M_LIBM_NEED_COMPAT): Likewise.
2306         (declare_mgen_libm_compat): Likewise.
2307         (LDOUBLE_fdiml_libm_version): New macro.
2309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2310         Include math/s_fdim.c now that ldbl-opt version is not needed.
2311         (declare_mgen_alias): New macro to disable aliasing.
2313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
2314         (declare_mgen_alias): Likewise.
2315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
2316         (declare_mgen_alias): Likewise.
2317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
2318         (declare_mgen_alias): Likewise.
2319         (M_LIBM_NEED_COMPAT): Likewise.
2321 2016-09-01  Florian Weimer  <fweimer@redhat.com>
2323         [BZ #20525]
2324         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
2325         Include <linux/quota.h>.
2326         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
2327         and btodb.
2328         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
2329         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
2330         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
2331         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
2332         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
2333         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
2334         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
2335         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
2336         types.
2337         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
2338         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
2340 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2342         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
2343         (gammal_positive): Fix spacing.
2344         (__ieee754_gammal_r): Likewise.
2346 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2348         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
2349         (_Float128): Define as long double, always.
2350         (L): Apply long double type suffix, always.
2352         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
2353         _Float128, excepting comments.
2355         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2356         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2357         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2358         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2359         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2360         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2361         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2362         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2363         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2364         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
2365         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2366         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2367         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2368         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2369         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2370         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2371         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2372         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2373         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2374         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2375         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2376         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2377         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2378         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2379         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2380         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2381         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2382         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2383         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2384         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2385         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2386         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2387         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2388         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2389         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2390         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2391         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2392         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2393         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2394         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2395         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2396         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2397         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2398         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2399         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2400         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2401         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2402         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2403         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2404         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2405         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2406         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2407         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2408         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2409         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2410         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2411         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2412         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2413         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2414         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2415         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2416         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2417         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2418         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2419         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2420         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2421         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2422         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2424         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
2425         _Float128, and include math_private.h.
2426         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2428         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
2429         long double semantics.
2430         (_Float128): Likewise.
2431         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
2432         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2433         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2434         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2436 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2438         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
2439         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
2440         * sysdeps/s390/configure: Regenerated.
2441         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
2442         instruction for raising over-/underflow if z196 zarch is supported
2443         by default.
2444         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
2446 2016-08-30  Svante Signell  <svante.signell@gmail.com>
2448         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
2449         it point to a dumb buffer for RPC to fill it.
2451 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2453         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
2454         instead of if/else.
2455         (do_sin_slow): Likewise.
2456         (do_sincos_1): Use fabs instead of if/else.
2457         (do_sincos_2): Likewise.
2458         (__sin): Likewise.
2459         (__cos): Likewise.
2460         (slow2): Likewise.
2461         (sloww): Likewise.
2462         (sloww1): Likewise.  Drop argument M.
2463         (sloww2): Use fabs instead of if/else.
2464         (bsloww): Likewise.
2465         (bsloww1): Likewise.
2466         (bsloww2): Likewise.
2468         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
2469         fall through comment.
2470         (do_sincos_1): Likewise.
2472         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
2473         Consolidate switch cases 0 and 2.
2475 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2477         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
2478         (libm-calls): Remove the above.
2480         * math/s_cexp_template.c: Update using type-generic macros.
2481         * math/s_clog10_template.c: Likewise.
2482         * math/s_cpow_template.c: Likewise.
2483         * math/s_clog_template.c: Likewise.
2484         * math/s_cproj_template.c: Likewise.
2485         * math/s_csqrt_template.c: Likewise.
2487         * math/s_cexp.c: Removed.
2488         * math/s_cexpf.c: Removed.
2489         * math/s_cexpl.c: Removed.
2490         * math/s_clog10.c: Removed.
2491         * math/s_clog10f.c: Removed.
2492         * math/s_clog10l.c: Removed.
2493         * math/s_cpow.c: Removed.
2494         * math/s_cpowf.c: Removed.
2495         * math/s_cpowl.c: Removed.
2496         * math/s_clog.c: Removed.
2497         * math/s_clogf.c: Removed.
2498         * math/s_clogl.c: Removed.
2499         * math/s_cproj.c: Removed.
2500         * math/s_cprojf.c: Removed.
2501         * math/s_cprojl.c: Removed.
2502         * math/s_csqrt.c: Removed.
2503         * math/s_csqrtf.c: Removed.
2504         * math/s_csqrtl.c: Removed.
2506         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
2507         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
2508         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
2509         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
2510         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
2511         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
2513         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
2514         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
2515         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
2516         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
2517         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
2518         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
2519         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
2520         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
2521         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
2522         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
2523         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
2525         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
2526         version.
2528         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
2529         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
2530         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
2531         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
2533 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2535         * s_cexp_template.c: Copy of s_cexp.c.
2536         * s_clog_template.c: Copy of s_clog.c.
2537         * s_clog10_template.c: Copy of s_clog10.c.
2538         * s_cpow_template.c: Copy of s_cpow.c.
2539         * s_cproj_template.c: Copy of s_cproj.c.
2540         * s_csqrt_template.c: Copy of s_csqrt.c.
2542 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2544         [BZ #20517]
2545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2546         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
2547         exported.
2549 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
2551         * math/fetestexceptflag.c: New file.
2552         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
2553         Stefan Liebler.
2554         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2555         (fetestexceptflag): New function declaration.
2556         * manual/arith.texi (fetestexceptflag): Document function.
2557         * math/Versions (fetestexceptflag): New libm symbol at version
2558         GLIBC_2.25.
2559         * math/Makefile (libm-support): Add fetestexceptflag.
2560         (tests): Add test-fetestexceptflag.
2561         * math/test-fetestexceptflag.c: New file.
2562         * sysdeps/nacl/libm.abilist: Update.
2563         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2564         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2565         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2566         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2567         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2568         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2569         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2570         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2571         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2572         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2573         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2574         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2576         Likewise.
2577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2578         Likewise.
2579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2580         Likewise.
2581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2582         Likewise.
2583         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2584         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2585         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2586         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2587         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2589         Likewise.
2590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2591         Likewise.
2592         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2593         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2594         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2596 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2598         [BZ #20432]
2599         Avoid strong references to malloc-internal symbols when linking
2600         statically, to support statically interposed mallocs.
2601         * include/libc-symbols.h (call_function_static_weak): New macro.
2602         * malloc/Makefile (tests): Add tst-interpose-nothread,
2603         tst-interpose-thread, tst-interpose-static-nothread,
2604         tst-interpose-static-thread.
2605         (tests-static): Add tst-interpose-static-nothread,
2606         tst-interpose-static-thread.
2607         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
2608         tst-interpose-aux-thread.o.
2609         (test-extras): Add tst-interpose-aux-nothread,
2610         tst-interpose-aux-thread.
2611         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
2612         tst-interpose-aux-nothread.o.
2613         (tst-interpose-thread, tst-interpose-static-thread): Link with
2614         tst-interpose-aux-thread.o and libthread.
2615         * malloc/tst-interpose-aux-nothread.c: New file.
2616         * malloc/tst-interpose-aux-thread.c: Likewise.
2617         * malloc/tst-interpose-aux.c: Likewise.
2618         * malloc/tst-interpose-aux.h: Likewise.
2619         * malloc/tst-interpose-nothread.c: Likewise.
2620         * malloc/tst-interpose-skeleton.c: Likewise.
2621         * malloc/tst-interpose-static-nothread.c: Likewise.
2622         * malloc/tst-interpose-static-thread.c: Likewise.
2623         * malloc/tst-interpose-thread.c: Likewise.
2624         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
2625         * sysdeps/mach/hurd/fork.c (__fork): Only call
2626         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2627         __malloc_fork_unlock_child if defined.
2628         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2630 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2632         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
2633         timespec C99 designated initialization.
2635 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2637         [BZ #19946]
2638         Avoid expected SIGALRM signals.
2639         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
2640         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
2641         (xpthread_create, xpthread_detach, xpthread_join)
2642         (delayed_exit_thread, delayed_exit): New functions.
2643         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
2644         (tf): Use xpthread_cond_wait.
2645         (do_test): Likewise.  Replace alarm with delayed_exit.
2646         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2647         (do_test): Call delayed_exit.  Report failure.
2648         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2649         (do_test): Call delayed_exit.
2650         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2651         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
2652         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2653         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
2654         error.
2655         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2656         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
2657         error.
2658         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
2659         (do_test): Call delayed_exit.
2660         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
2661         (do_test): Call delayed_exit.
2662         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
2663         (do_test): Call delayed_exit instead of alarm.  Use
2664         xpthread_mutex_lock.
2665         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
2666         (do_test): Call delayed_exit instead of alarm.  Use
2667         xpthread_mutex_lock.
2668         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
2669         (do_test): Call delayed_exit instead of alarm.
2670         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
2671         (do_test): Call delayed_exit instead of alarm.  Use
2672         xpthread_spin_lock.
2673         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
2674         (do_test): Call delayed_exit instead of alarm.  Use
2675         xpthread_join.
2677 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2679         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
2680         adjust CFA when allocating register save area on re-aligned
2681         stack.
2683 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2685         * string/tst-cmp.c: New test.
2686         * string/Makefile (tests): Add it.
2688 2016-08-25  Mark Wielaard  <mark@klomp.org>
2690         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
2691         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
2692         (check_tree_recurse): Use newly defined accessors.
2693         (check_tree): Likewise.
2694         (maybe_split_for_insert): Likewise.
2695         (__tfind): Likewise.
2696         (__tdelete): Likewise.
2697         (trecurse): Likewise.
2698         (tdestroy_recurse): Likewise.
2699         (__tsearch): Likewise. And add asserts for malloc alignment.
2700         (__twalk): Cast root to node in case CHECK_TREE is defined.
2702 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2704         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
2706 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2708         * math/Makefile (libm-gen-calls): Add
2709         catan, catanh, ctan, ctanh.
2710         (libm-calls): Remove the above.
2712         * math/s_catan_template.c: Update using type-generic macros.
2713         * math/s_catanh_template.c: Likewise.
2714         * math/s_ctan_template.c: Likewise.
2715         * math/s_ctanh_template.c: Likewise.
2717         * math/s_catanf.c: Removed.
2718         * math/s_catan.c: Removed.
2719         * math/s_catanl.c: Removed.
2720         * math/s_catanhf.c: Removed.
2721         * math/s_catanh.c: Removed.
2722         * math/s_catanhl.c: Removed.
2723         * math/s_ctanf.c: Removed.
2724         * math/s_ctan.c: Removed.
2725         * math/s_ctanl.c: Removed.
2726         * math/s_ctanhf.c: Removed.
2727         * math/s_ctanh.c: Removed.
2728         * math/s_ctanhl.c: Removed.
2730         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
2731         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
2732         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
2733         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
2734         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
2735         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
2737         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
2738         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
2739         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
2740         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
2742 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2744         * s_catan_template.c: Copy of s_catan.c.
2745         * s_catanh_template.c: Copy of s_catanh.c.
2746         * s_ctan_template.c: Copy of s_ctan.c.
2747         * s_ctanh_template.c: Copy of s_ctanh.c.
2749 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2751         * math/Makefile (gen-libm-calls): Move
2752         casin, casinh, csin, csinh here.
2753         (libm-calls): Remove the above.
2755         * math/s_casin_template.c: Update using type-generic macros.
2756         * math/s_casinh_template.c: Likewise.
2757         * math/s_csin_template.c: Likewise.
2758         * math/s_csinh_template.c: Likewise.
2759         * math/k_casinh_template.c: Likewise.
2761         * math/s_casinf.c: Removed.
2762         * math/s_casin.c: Removed.
2763         * math/s_casinl.c: Removed.
2764         * math/s_casinh.c: Removed.
2765         * math/s_casinhf.c: Removed.
2766         * math/s_casinhl.c: Removed.
2767         * math/s_csin.c: Removed.
2768         * math/s_csinf.c: Removed.
2769         * math/s_csinl.c: Removed.
2770         * math/s_csinh.c: Removed.
2771         * math/s_csinhf.c: Removed.
2772         * math/s_csinhl.c: Removed.
2773         * math/k_casinh.c: Removed.
2774         * math/k_casinhf.c: Removed.
2775         * math/k_casinhl.c: Removed.
2777         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
2778         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2779         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2780         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2782         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
2783         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
2784         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
2785         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
2786         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
2787         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
2788         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
2789         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
2791         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
2792         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
2793         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
2794         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
2796         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
2797         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
2798         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
2799         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
2801 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2803         * s_casin_template.c: Copy of s_casin.c.
2804         * s_casinh_template.c: Copy of s_casinh.c.
2805         * s_csin_template.c: Copy of s_csin.c.
2806         * s_csinh_template.c: Copy of s_csinh.c.
2807         * k_casinh_template.c: Copy of k_casinh.c.
2809 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2811         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
2813 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2815         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
2816         (mul_split) Remove, rename as mul_splitl, remove
2817         redundant float.h include, and include via mul_splitl.h
2819         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2820         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2821         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2822         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2823         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2825         * math/mul_splitl.h: New file.
2827         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
2828         Move into mul_split.h, and remove redundant float.h include.
2830         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2831         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
2832         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2833         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
2835         * math/mul_split.h: New file.
2837 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2839         * math/Makefile (libm-gen-calls): Move
2840         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
2841         (libm-calls): Remove above.
2843         * math/s_cacos_template.c: Update using type-generic macros.
2844         * math/s_cacosh_template.c: Likewise.
2845         * math/s_ccos_template.c: Likewise.
2846         * math/s_ccosh_template.c: Likwise.
2848         * math/s_cacosf.c: Removed.
2849         * math/s_cacos.c: Removed.
2850         * math/s_cacosl.c: Removed.
2851         * math/s_cacoshf.c: Removed.
2852         * math/s_cacosh.c: Removed.
2853         * math/s_cacoshl.c: Removed.
2854         * math/s_ccosf.c: Removed.
2855         * math/s_ccos.c: Removed.
2856         * math/s_ccosl.c: Removed.
2857         * math/s_ccoshf.c: Removed.
2858         * math/s_ccosh.c: Removed.
2859         * math/s_ccoshl.c: Removed.
2861         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
2862         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
2863         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
2864         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
2865         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
2866         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
2868         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
2869         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
2870         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
2871         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
2873         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
2874         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2875         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2876         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2878 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2880         * s_cacos_template.c: Copy of s_cacos.c.
2881         * s_cacosh_template.c: Copy of s_cacosh.c.
2882         * s_ccos_template.c: Copy of s_ccos.c.
2883         * s_ccosh_template.c: Copy of s_ccosh.c.
2885 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2887         * stdlib/tst-strtod-round-skeleton.c:
2888         Refactored from tst-strtod-round.c.
2890         (L_): New macro to apply literal modifier.
2891         (FNPFX): New macro to select str or wcs prefix.
2892         (CHAR): New macro to choose wchar_t or char.
2893         (STRM): New macro to choose printf for tested character type.
2895         (STRTO): New macro to choose appropriate string -> real function.
2896         (FNPFXS): Stringitized version of FNPFX.
2897         (STR): Support for above macro.
2898         (STRX): Likewise.
2900         (TEST): Update with above macros.
2901         (test): Likewise.
2902         (GEN_ONE_TEST): Likewise.
2903         (test_in_one_mode): Likewise.
2905         * stdlib/tst-strtod-round.c: New file.
2906         * wcsmbs/tst-wcstod-round.c: New file.
2908         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
2909         (tst-wcstod-round): Add libm depencency for fesetround.
2911 2016-08-19  Zack Weinberg  <zackw@panix.com>
2913         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
2915 2016-08-18  Torvald Riegel  <triegel@redhat.com>
2917         [BZ #20477]
2918         * resolv/res_hconf.c (do_init): Use atomic access.
2919         * resolv/res_hconf.h: Add comments.
2920         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
2921         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
2922         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2924 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2926         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2927         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
2928         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2929         Likewise.
2931 2016-08-18  Florian Weimer  <fweimer@redhat.com>
2933         [BZ #16907]
2934         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
2935         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
2936         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
2937         (__attribute__): Remove definition.
2939 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2941         * sysdeps/ieee754/ldbl-128/e_asinl.c:
2942         Remove unused sqrtl declaration.
2944 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2946         * math/Makefile: (gen-libm-templates.stmp): New rule.
2947         (libm-calls): Move carg conj cimag and cabs into ...
2948         (gen-libm-calls): New variable.
2949         (generated): Inform Make objects from gen-libm-calls
2950         may be generated.
2952         * sysdeps/generic/math-type-macros.h: New file.
2953         * sysdeps/generic/math-type-macros-float.h: Likewise.
2954         * sysdeps/generic/math-type-macros-double.h: Likewise.
2955         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2956         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
2957         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
2959         * math/cabs.c: Refactor into
2960         * math/cabs_template.c: new file.
2961         * math/cabsf.c: Removed.
2962         * math/cabsl.c: Removed.
2963         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
2964         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
2966         * math/carg.c: Refactor into
2967         * math/carg_template.c: new file.
2968         * math/cargf.c: Removed.
2969         * math/cargl.c: Removed.
2970         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
2971         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
2973         * math/conj.c: Refactor into
2974         * math/conj_template.c: new file.
2975         * math/conjf.c: Removed.
2976         * math/conjl.c: Removed.
2977         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
2978         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
2980         * math/cimag.c: Refactor into
2981         * math/cimag_template.c: new file.
2982         * math/cimagf.c: Removed.
2983         * math/cimagl.c: Removed.
2984         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2985         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2987         * math/cimag.c: Refactor into
2988         * math/cimag_template.c: new file.
2989         * math/cimagf.c: Removed.
2990         * math/cimagl.c: Removed.
2991         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2992         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2994 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2996         Reduce time to expected nptl/tst-once5 failure.
2997         * nptl/tst-once5.cc (TIMEOUT): Define.
2999 2016-08-17  Florian Weimer  <fweimer@redhat.com>
3001         [BZ #20452]
3002         Avoid additional copies of objects in libc.a in static libraries.
3003         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
3004         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
3005         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
3006         rt-sysdep.
3007         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
3008         Add nptl-sysdep.
3009         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
3010         Add ptw-sysdep.
3011         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
3012         rt-sysdep.
3013         * sysdeps/unix/sysv/linux/alpha/Makefile
3014         (libpthread-shared-only-routines): Add ptw-sysdep,
3015         ptw-sigprocmask, ptw-rt_sigaction.
3016         * sysdeps/unix/sysv/linux/ia64/Makefile
3017         (librt-shared-only-routines): Add rt-sysdep.
3018         * sysdeps/unix/sysv/linux/i386/Makefile
3019         (libpthread-shared-only-routines): Add libc-do-syscall.
3020         * sysdeps/unix/sysv/linux/microblaze/Makefile
3021         (libpthread-shared-only-routines): Add sysdep.
3022         * sysdeps/unix/sysv/linux/powerpc/Makefile
3023         (librt-shared-only-routines): Add rt-sysdep.
3024         (libpthread-shared-only-routines): Add sysdep.
3025         * sysdeps/unix/sysv/linux/s390/Makefile
3026         (librt-shared-only-routines): Add rt-sysdep.
3027         * sysdeps/unix/sysv/linux/sparc/Makefile
3028         (librt-shared-only-routines): Add rt-sysdep.
3029         (libpthread-shared-only-routines): Add sysdep.
3030         * sysdeps/unix/sysv/linux/tile/Makefile
3031         (libpthread-shared-only-routines): Likewise.
3033 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
3035         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
3036         Mask implicit bit out of unpacked value.
3037         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
3038         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
3039         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
3041         * sysdeps/sparc/fpu/fesetexcept.c: New file.
3043         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
3045         * sysdeps/s390/fpu/fesetexcept.c: New file.
3047         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
3048         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
3049         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
3051         * sysdeps/mips/fpu/fesetexcept.c: New file.
3053         * sysdeps/m68k/fpu/fesetexcept.c: New file.
3055         * sysdeps/ia64/fpu/fesetexcept.c: New file.
3057         * sysdeps/hppa/fpu/fesetexcept.c: New file.
3059         * sysdeps/arm/fesetexcept.c: New file.
3061         * sysdeps/alpha/fpu/fesetexcept.c: New file.
3063         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
3065         * math/fesetexcept.c: New file.
3066         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
3067         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
3068         * math/fenv.h: Define
3069         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3070         <bits/libc-header-start.h> instead of including <features.h>.
3071         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
3072         declaration.
3073         * manual/arith.texi (fesetexcept): Document function.
3074         * math/Versions (fesetexcept): New libm symbol at version
3075         GLIBC_2.25.
3076         * math/Makefile (libm-support): Add fesetexcept.
3077         (tests): Add test-fesetexcept and test-fesetexcept-traps.
3078         * math/test-fesetexcept.c: New file.
3079         * math/test-fesetexcept-traps.c: Likewise.
3080         * sysdeps/nacl/libm.abilist: Update.
3081         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3082         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3083         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3084         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3085         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3086         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3087         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3088         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3089         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3090         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3091         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3092         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3094         Likewise.
3095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3096         Likewise.
3097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3098         Likewise.
3099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3100         Likewise.
3101         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3102         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3103         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3104         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3105         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3107         Likewise.
3108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3109         Likewise.
3110         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3111         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3112         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3114 2016-08-16  Florian Weimer  <fweimer@redhat.com>
3116         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
3117         New.
3118         (do_test): Apply default_stack_size_in_mb if not set.
3119         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
3121 2016-08-15  Andreas Schwab  <schwab@suse.de>
3123         [BZ #20435]
3124         CVE-2016-6323
3125         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
3126         as .cantunwind.
3128 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
3130         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
3131         comment from fraiseexcpt.c.
3133         * math/test-fexcept.c (feraiseexcept_exact): New function.
3134         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
3135         (test_except): Likewise.
3137 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
3139         [BZ #20455]
3140         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
3141         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
3142         to be restored.
3144         * math/test-fexcept-traps.c: New file.
3145         * math/test-fexcept.c: Likewise.
3146         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
3147         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
3148         macro.
3149         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
3150         (EXCEPTION_SET_FORCES_TRAP): Likewise.
3152 2016-08-09  Torvald Riegel  <triegel@redhat.com>
3154         * include/atomic.h (atomic_fetch_and_relaxed,
3155         atomic_fetch_and_release, atomic_fetch_or_release,
3156         atomic_fetch_xor_release): New.
3158 2016-08-06  Christian Seiler  <christian@iwakd.de>
3160         [BZ #20444]
3161         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
3162         MACH_PORT_NULL.
3164 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3166         * math/s_fdim.c: Avoid alias renamed.
3167         * math/s_fdimf.c: Likewise.
3168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3169         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3170         Add s_fdimf-vis3, s_fdim-vis3.
3171         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3172         (CFLAGS-s_fdim-vis3.c): Likewise.
3173         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
3174         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
3176 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3179         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3180         Remove s_fdimf-vis3, s_fdim-vis3.
3181         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
3182         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
3183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
3184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
3185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
3186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
3187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
3188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
3189         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
3190         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
3192 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3194         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
3195         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
3196         -Wa,-Av9a -mvis.
3198 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3200         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
3201         LIT() to individual constants in simple expressions
3202         after splitting on spaces.
3203         (_apply_lit): Rename replaced version, and use it to
3204         apply to what appears to be a token.
3206         * math/libm-test.inc: Fix many, many issues with
3207         spacing.
3209 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
3211         * math/math.h: Move comment about <bits/mathdef.h> definitions
3212         above inclusion of <bits/mathdef.h>.  Do not mention
3213         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
3215 2016-08-05  Torvald Riegel  <triegel@redhat.com>
3217         * include/atomic.h (atomic_exchange_relaxed): New.
3219 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
3221         * math/e_scalb.c: Do not include <fenv.h>.
3222         (invalid_fn): Do calculation resulting in NaN instead of raising
3223         FE_INVALID and returning a NaN explicitly.
3224         * math/e_scalbf.c: Do not include <fenv.h>.
3225         (invalid_fn): Do calculation resulting in NaN instead of raising
3226         FE_INVALID and returning a NaN explicitly.
3227         * math/e_scalbl.c: Do not include <fenv.h>.
3228         (invalid_fn): Do calculation resulting in NaN instead of raising
3229         FE_INVALID and returning a NaN explicitly.
3231 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
3233         * po/de.po: Updated from Translation Project.
3234         * po/fi.po: Likewise.
3235         * po/sv.po: Likewise.
3237 2016-08-04  Florian Weimer  <fweimer@redhat.com>
3239         [BZ #20452]
3240         Use sysdep.o from libc.a in static libraries.
3241         * sysdeps/unix/sysv/linux/i386/Makefile
3242         (libpthread-shared-only-routines): Add sysdep.
3243         (librt-shared-only-routines): Likewise.
3245 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3247         * math/tgmath.h (nextdown): Define if
3248         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
3249         (nextup): Likewise.
3251         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
3252         macro.
3253         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3254         Document.
3255         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3256         Document macro.
3257         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
3258         (exp10f): Likewise.
3259         (exp10l): Likewise.
3260         * math/bits/mathcalls.h (exp10): Declare if
3261         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
3263         * manual/arith.texi (nextup): Fix typo in last change.
3265 2016-08-03  Zack Weinberg  <zackw@panix.com>
3267         [BZ #19239]
3268         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
3269         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
3270         define major, minor, and makedev to issue deprecation warnings on use.
3271         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
3272         previously-activated deprecation warnings for these macros and prevent
3273         subsequent inclusions of this header from having any effect.
3274         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
3275         including <sys/sysmacros.h>, and undefine it again afterward.
3277 2016-08-03  Zack Weinberg  <zackw@panix.com>
3279         * sysdeps/generic/sys/sysmacros.h: Delete file.
3280         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
3281         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
3282         * bits/sysmacros.h: ... here; this encoding is now the generic
3283         encoding.  Now defines only the following macros:
3284         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
3285         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
3286         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
3288         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
3289         bits/sysmacros.h and the above new macros to generate the
3290         public implementations of major, minor, and makedev.
3291         * misc/tst-makedev.c: New test.
3292         * include/sys/sysmacros.h: New wrapper.
3294         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
3295         (routines): Add makedev.
3296         (tests): Add tst-makedev.
3297         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
3298         gnu_dev_makedev.
3299         * posix/Makefile (headers): Remove sys/sysmacros.h.
3300         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
3302         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
3303         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
3304         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
3305         * sysdeps/unix/sysv/linux/alpha/libc.abilist
3306         * sysdeps/unix/sysv/linux/arm/libc.abilist
3307         * sysdeps/unix/sysv/linux/hppa/libc.abilist
3308         * sysdeps/unix/sysv/linux/i386/libc.abilist
3309         * sysdeps/unix/sysv/linux/ia64/libc.abilist
3310         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3311         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
3312         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
3313         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3314         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3315         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3316         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3317         * sysdeps/unix/sysv/linux/nios2/libc.abilist
3318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3322         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
3323         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
3324         * sysdeps/unix/sysv/linux/sh/libc.abilist
3325         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3326         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3329         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
3330         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
3331         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
3332         Add GLIBC_2.25.
3334         * include/features.h (__glibc_clang_prereq): New macro.
3335         * misc/sys/cdefs.h (__glibc_clang_has_extension)
3336         (__attribute_deprecated_msg__): New macros.
3338 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3340         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
3341         macro.
3342         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
3343         * manual/arith.texi (issignaling): Document as ISO from TS
3344         18661-1:2014.
3345         (nextup): Likewise.
3346         (nextupf): Likewise.
3347         (nextupl): Likewise.
3348         (nextdown): Likewise.
3349         (nextdownf): Likewise.
3350         (nextdownl): Likewise.
3351         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
3352         macro.
3353         * math/math.h: Define
3354         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3355         <bits/libc-header-start.h> instead of including <features.h>.
3356         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
3357         [__USE_GNU].
3358         * math/bits/mathcalls.h (nextdown): Declare if
3359         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
3360         (nextup): Likewise.
3361         (__issignaling): Likewise.
3363 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3365         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
3366         check, and remove __glibc_likely hint
3367         from FP_INFINITE check.
3368         * s_csinhf.c (__csinhf): Likewise.
3370         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
3371         hint from FP_INFINITE check.
3372         * s_csinhl.c (__csinhl): Likewise.
3374 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3376         * math/Makefile (libm-calls): Insert F placeholder into
3377         object names.  Move w_lgamma_compat* routines into
3378         (libm-compat-calls): New variable.
3379         (libm-compat-calls-ldouble-yes): New variable.
3380         (calls): Insert F placeholder.
3381         (generated): Redefine using new type-foreach macro call.
3382         (routines): Likewise.
3384         (types): New variable to hold a list of symbolic names
3385         for each type supported by the target machine.
3386         (libm-routines): Redefine using new types variable.
3387         (type-foreach): macro to replace fooF with the
3388         appropriately suffixed foo for each types.
3390         (type-ldouble-suffix): New variable.
3391         (type-ldouble-routines): Likewise.
3392         (type-ldouble-yes): Likewise.
3393         (type-double-suffix): Likewise.
3394         (type-double-routines): Likewise.
3395         (type-float-suffix): Likewise.
3396         (type-float-routines): Likewise.
3398         (dbl-only-routines): Remove.
3399         (long-c-yes): Likewise.
3400         (long-m-routines): Likewise.
3401         (long-m-support): Likewise.
3402         (long-m-yes): Likewise.
3403         (test-longdouble-yes): Likewise.
3405         (test-float.o): Simplify by increasing the scope of the
3406         recipe which adds libm-test.stmp to the vector types.
3407         (test-ifloat.o): Likewise.
3408         (test-float-finite.o): Likewise.
3409         (test-double.o): Likewise
3410         (test-idouble.o): Likewise.
3411         (test-double-finite.o): Likewise.
3412         (test-ldouble.o): Likewise
3413         (test-ildoubl.o): Likewise.
3414         (test-ldouble-finite.o): Likewise.
3416         (libm-tests): Redefine type tests using foreach and the
3417         list of types in types.
3419         (CPPFLAGS-test-ildoubl.c): Rename to
3420         (CPPFLAGS-test-ildouble.c): New variable
3422         * math/test-ildoubl.c: Rename to
3423         * math/test-ildouble.c: New file.
3425 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3427         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
3428         Use fabsl instead of fabs.
3429         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
3430         Likewise.
3431         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
3432         Add long double suffix to constant to ensure proper
3433         promotion to long double.
3435 2016-08-03  Tom Tromey  <tom@tromey.com>
3437         [BZ #20311]
3438         * nptl_db/Makefile (headers): Add proc_service.h.
3439         * nptl_db/proc_service.h: Add include guard.  Use
3440         __BEGIN/__END_DECLS.
3441         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
3442         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
3443         arguments.
3446 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3448         [BZ #17730]
3449         Avoid using memalign for TCB allocations.
3450         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
3451         (_dl_allocate_tls_storage): Use malloc and manual alignment.
3452         Avoid alignment gap in the TLS_DTV_AT_TP case.
3453         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
3454         determine the pointer to free.
3455         * nptl/tst-tls3-malloc.c: New test.
3456         * nptl/Makefile (tests): Add it.
3457         (tst-tls3-malloc): Link with libdl, libpthread.
3458         (LDFLAGS-tst-tls3-malloc): Set.
3459         (tst-tls3-malloc.out): Depend on DSO used in test.
3461 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3463         [BZ #17730]
3464         Avoid using memalign for TLS allocations.
3465         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
3466         is_static member with to_free member.
3467         (union dtv): Use struct dtv_pointer.
3468         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
3469         dtv_pointer instead of is_static.
3470         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
3471         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
3472         instead of val.
3473         (allocate_dtv_entry): New function.
3474         (allocate_and_init): Return struct dtv_pointer.  Call
3475         allocate_dtv_entry instead of __libc_memalign.
3476         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
3477         instead of val.
3478         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
3479         instead of is_static.  Adjust call to allocate_and_init.
3480         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
3481         struct dtv_pointer instead of val.
3483 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3485         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
3486         (MALLOC_ALIGN_MASK): Move ...
3487         * malloc/malloc-internal.h: ... to here.
3488         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
3490 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3492         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
3493         (UDP_ENCAP_GTP1U): Likewise.
3495         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
3496         (PF_MAX): Update value.
3497         (AF_QIPCRTR): New macro.
3499 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3501         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
3502         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3503         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3504         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3505         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3506         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3507         s_truncf-vis3, s_trunc-vis3.
3508         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3509         (CFLAGS-s_ceil-vis3.c): Likewise.
3510         (CFLAGS-s_floorf-vis3.c): Likewise.
3511         (CFLAGS-s_floor-vis3.c): Likewise.
3512         (CFLAGS-s_truncf-vis3.c): Likewise.
3513         (CFLAGS-s_trunc-vis3.c): Likewise.
3514         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
3515         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3516         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
3517         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3518         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
3519         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3520         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
3521         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3522         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
3523         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3524         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
3525         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3527 2016-08-02  David S. Miller  <davem@davemloft.net>
3529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3530         (__nearbyint_vis3): Don't check for sNaN before float register is
3531         loaded with the incoming argument.
3532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3533         (__nearbyintf_vis3): Likewise.
3534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
3535         Likewise.
3536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
3537         Likewise.
3539         * string/test-strncmp.c (do_test_limit): Make sure the test data
3540         stream is aligned as required for the type "CHAR".
3541         (do_test): Likewise.
3543 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3545         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
3546         by beq instructions jumping to the end of the function.
3547         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
3548         clobber list. Use "i" constraint instead of "X".
3549         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
3550         of "X".
3552 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
3554         * bits/libc-header-start.h: New file.
3555         * Makefile (headers): Add bits/libc-header-start.h.
3556         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
3557         (__GLIBC_USE): New macro.
3558         * libio/stdio.h: Define
3559         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3560         <bits/libc-header-start.h> instead of including <features.h>.
3561         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
3562         (open_memstream): Likewise.
3563         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
3564         (__asprintf): Likewise.
3565         (asprintf): Likewise.
3566         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
3567         (getdelim): Likewise.
3568         (getline): Likewise.
3569         * string/string.h: Define
3570         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3571         <bits/libc-header-start.h> instead of including <features.h>.
3572         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
3573         (strndup): Likewise.
3574         * wcsmbs/wchar.h: Define
3575         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3576         <bits/libc-header-start.h> instead of including <features.h>.
3577         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
3578         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
3580 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3582         Support linking against compatibility symbols, for use in tests.
3583         * include/libc-symbols.h (symbol_version_reference): New macro.
3584         (symbol_version): Use it.
3585         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
3586         (compat_symbol): Use compat_symbol_reference.
3587         (compat_symbol_1, compat_symbol_2): Remove.
3588         (compat_symbol_reference, compat_symbol_reference_1)
3589         (compat_symbol_reference_2): New macro.  Use
3590         symbol_version_reference.
3592 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3594         [BZ #19469]
3595         * malloc/Makefile (CPPFLAGS): Compile tests with
3596         -DTEST_NO_MALLOPT.
3597         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
3599 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
3601         [BZ #20033]
3602         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
3603         finite version.
3604         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
3605         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
3606         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
3607         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
3608         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
3609         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
3610         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
3611         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
3612         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
3613         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
3614         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
3615         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
3616         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
3617         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
3618         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
3619         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
3620         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
3621         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
3622         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
3623         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
3624         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
3625         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
3626         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
3627         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
3628         in zero power.
3630 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3632         [BZ #20370]
3633         * malloc/arena.c (get_free_list): Update comment.  Assert that
3634         arenas on the free list have no attached threads.
3635         (remove_from_free_list): New function.
3636         (reused_arena): Call it.
3638 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
3640         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
3641         when it is a NaN.
3642         [_IEEE_FP_INEXACT] Remove.
3643         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
3644         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
3645         when it is a NaN.
3646         [_IEEE_FP_INEXACT] Remove.
3647         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
3648         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
3649         when it is a NaN.
3650         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
3651         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
3652         when its absolute value is greater than 0x1.0p52.
3653         [_IEEE_FP_INEXACT] Remove.
3654         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
3655         when its absolute value is greater than 0x1.0p23.
3656         [_IEEE_FP_INEXACT] Remove.
3658 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
3660         * version.h (RELEASE): Set to "development"
3661         (VERSION): Set to 2.24.90.
3662         * NEWS: Add 2.25 section.
3664         * version.h (RELEASE): Set to "stable"
3665         (VERSION): Set to 2.24.
3666         * include/features.h (__GLIBC_MINOR__): Set to 24.
3668         * NEWS: Add 2.24 fixed bugs.
3669         * po/libc.pot: Regenerate.
3671 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
3673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3674         [$(subdir) = math] (libm-sysdep_routines): Remove.
3675         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3676         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3677         s_truncf-vis3, s_trunc-vis3.
3678         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
3680         file.
3681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
3682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
3683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
3687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
3688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
3690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
3691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
3692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
3693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
3694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
3695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
3696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
3700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
3701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
3702         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
3703         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3704         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3705         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3706         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3707         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3708         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
3709         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3710         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3711         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
3712         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3713         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3714         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
3715         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
3716         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
3717         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
3718         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3719         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3720         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
3721         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
3722         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
3723         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
3725 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3727         [BZ #20384]
3728         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
3729         test-double-libmvec-sincos-avx-main.o,
3730         test-double-libmvec-sincos-avx2-main.o,
3731         test-double-libmvec-sincos-main.o,
3732         test-float-libmvec-sincosf-avx-main.o,
3733         test-float-libmvec-sincosf-avx2-main.o and
3734         test-float-libmvec-sincosf-main.o.
3735         test-float-libmvec-sincosf-avx512-main.o.
3736         ($(objpfx)test-double-libmvec-sincos): Also link with
3737         $(objpfx)test-double-libmvec-sincos-main.o.
3738         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
3739         $(objpfx)test-double-libmvec-sincos-avx-main.o.
3740         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
3741         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
3742         ($(objpfx)test-float-libmvec-sincosf): Also link with
3743         $(objpfx)test-float-libmvec-sincosf-main.o.
3744         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
3745         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
3746         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
3747         test-double-libmvec-sincos-avx512-main.o and
3748         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
3749         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
3750         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
3751         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
3752         (CFLAGS-test-double-libmvec-sincos.c): Removed.
3753         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
3754         (CFLAGS-test-double-libmvec-sincos-main.c): New.
3755         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
3756         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
3757         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
3758         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
3759         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
3760         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
3761         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
3762         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
3763         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
3764         -DREQUIRE_AVX2.
3765         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
3766         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
3767         -DREQUIRE_AVX512F.
3768         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
3769         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
3770         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3771         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
3772         file.
3773         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
3774         Likewise.
3775         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
3776         Likewise.
3777         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
3778         Likewise.
3779         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
3780         Likewise.
3781         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
3782         Likewise.
3783         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
3784         Likewise.
3785         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
3786         Likewise.
3788 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
3790         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
3792 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
3794         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
3795         and typo in a comment about AT_HWCAP entry.
3797 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3799         * sysdeps/aarch64/libm-test-ulps: Updated.
3801 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3803         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
3804         of r13 as it is not restored in mvcle case.
3806 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
3808         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
3809         Rename "ret" to "__ret".
3810         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
3811         inline_syscall5, inline_syscall6): Likewise.
3813 2016-07-19   Will Newton  <will.newton@gmail.com>
3815         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
3816         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
3817         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
3818         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
3819         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
3821 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
3823         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
3824         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
3825         -mfpmath=387 with $(rtld-CFLAGS).
3826         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
3827         $(rtld-CFLAGS).
3829 2016-07-18   Ross Burton  <ross.burton@intel.com>
3830              Khem Raj  <raj.khem@gmail.com>
3832         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
3833         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
3834         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
3835         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
3836         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
3837         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
3838         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
3839         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
3840         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
3841         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
3842         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
3843         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
3844         R_METAG_TLS_DTPOFF): New.
3846 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3847             Matt Clay  <mclay@lycos.com>
3849         [BZ #20357]
3850         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
3851         to call __mpsin/__mpcos and to negate values.
3852         * math/auto-libm-test-in: Add test.
3853         * math/auto-libm-test-out: Regenerate.
3855 2016-07-18  Zack Weinberg  <zackw@panix.com>
3857         * grp/Makefile: Don't install the internal header grp-merge.h.
3859 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3861         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3863 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3865         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
3867 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3869         [BZ #15368]
3870         * sysdeps/unix/sysv/linux/nptl-signals.h
3871         (__nptl_clear_internal_signals): New function.
3872         (__libc_signal_block_all): Likewise.
3873         (__libc_signal_block_app): Likewise.
3874         (__libc_signal_restore_set): Likewise.
3875         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
3876         implementation.
3877         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
3878         the cached pid/tid value in pthread structure.
3880 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
3882         [BZ #20347]
3883         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3885 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3887         [BZ #20348]
3888         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3889         preadv64, pwrite64 and pwritev64.
3891 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3893         [BZ #20350]
3894         * posix/tst-preadwrite.c: Renamed to ...
3895         * posix/tst-preadwrite-common.c: This.
3896         (PREAD): Removed.
3897         (PWRITE): Likewise.
3898         (STRINGIFY): Likewise.
3899         (STRINGIFY2): Likewise.
3900         (do_prepare): Make it static and remove function arguments.
3901         (do_test): Likewise.
3902         (PREPARE): Updated.
3903         (TEST_FUNCTION): New.
3904         (name): Make it static.
3905         (fd): Likewise.
3906         (do_prepare): Use create_temp_file.
3907         (do_test): Renamed to ...
3908         (do_test_with_offset): This.  Make it static and accept offset.
3909         Properly check return value of PWRITE and PREAD.  Return bytes
3910         read.  Don't close fd nor unlink name.
3911         * posix/tst-preadwrite.c: Rewrite.
3912         * posix/tst-preadwrite64.c: Likewise.
3914 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3916         [BZ #20309]
3917         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
3918         -mtls-dialect=gnu2 works.
3919         * configure: Regenerated.
3920         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
3921         (tests): Add tst-gnu2-tls1.
3922         (modules-names): Add tst-gnu2-tls1mod.
3923         ($(objpfx)tst-gnu2-tls1): New.
3924         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
3925         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
3926         * elf/tst-gnu2-tls1.c: New file.
3927         * elf/tst-gnu2-tls1mod.c: Likewise.
3928         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
3929         bytes for push in the PLT entry to align the stack.
3931 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
3933         [BZ #20349]
3934         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
3936 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3938         [BZ #18707]
3939         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
3940         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
3942 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3944         * sysdeps/unix/sysv/linux/sysdep.h
3945         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
3946         guards.
3947         * misc/tst-preadvwritev-common.c: New file.
3948         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
3949         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
3950         a check for files larger than 2GB.
3952         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3953         (__ASSUME_OFF_DIFF_OFF64): Remove define.
3954         * sysdeps/unix/sysv/linux/pread.c
3955         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
3956         __OFF_T_MATCHES_OFF64_T.
3957         * sysdeps/unix/sysv/linux/pread64.c
3958         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
3959         * sysdeps/unix/sysv/linux/preadv.c
3960         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
3961         * sysdeps/unix/sysv/linux/preadv64.c
3962         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
3963         * sysdeps/unix/sysv/linux/pwrite.c
3964         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
3965         * sysdeps/unix/sysv/linux/pwrite64.c
3966         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
3967         * sysdeps/unix/sysv/linux/pwritev.c
3968         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
3969         * sysdeps/unix/sysv/linux/pwritev64.c
3970         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
3972 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
3974         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3975         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
3977 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3979         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
3981 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3983         [BZ #20240]
3984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3985         (CFLAGS-s_modf-ppc32.c): New variable.
3986         (CFLAGS-s_modff-ppc32.c): Likewise.
3987         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3988         (CFLAGS-s_modf-ppc64.c): Likewise.
3989         (CFLAGS-s_modff-ppc64.c): Likewise.
3991 2016-07-07  Andreas Schwab  <schwab@suse.de>
3993         [BZ #20263]
3994         * nptl/tst-robust10.c: New test.
3995         * nptl/Makefile (tests): Add tst-robust10.
3997 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
3999         [BZ #20263]
4000         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
4002 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4004         * sysdeps/s390/linkmap.h (struct link_map_machine):
4005         Remove member gotplt and add member jmprel.
4006         * sysdeps/s390/s390-32/dl-machine.h
4007         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
4008         instead of gotplt with &got[3].
4009         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
4010         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4012 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
4014         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
4016 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4018         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
4019         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
4020         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4021         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
4022         * libio/vtables.c (_IO_vtable_check)
4023         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4024         * libio/libioP.h (IO_set_accept_foreign_vtables)
4025         [!PTR_MANGLE]: Do not call PTR_MANGLE.
4027 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
4029         [BZ #20314]
4030         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
4031         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
4032         $(common-objpfx)cmath.
4033         ($(common-objpfx)cstdlib): New target.
4034         ($(common-objpfx)cmath): Likewise.
4036 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
4038         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
4040 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4042         [BZ #20327]
4043         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
4044         are not part of the string.
4046 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4048         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
4049         * nptl/tst-cancel4-common.h (fifoname): New variable.
4050         (fifofd): Likewise.
4051         (cl_fifo): New function.
4052         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
4053         SIGINT.
4054         (tf_open): Add early cancel test.
4056 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
4058         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
4060 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
4062         * sysdeps/generic/ldsodefs.h
4063         (dl_symbol_visibility_binds_local_p): New inline function.
4064         * elf/dl-addr.c (determine_info): Treat hidden and internal
4065         symbols as local.
4066         * elf/dl-lookup.c (do_lookup_x): Likewise.
4067         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
4069 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
4071         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
4072         invalid exception for a sNaN input.
4073         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4074         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4075         (__nearbyint_vis3): Likewise
4076         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4077         (__nearbyintf_vis3): Likewise
4078         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
4079         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4080         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
4081         Likewise.
4082         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
4083         Likewise.
4085 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
4087         [BZ #20139]
4088         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
4089         (HAVE_AVX512DQ_ASM_SUPPORT): This.
4090         * sysdeps/x86_64/configure.ac: Require assembler from binutils
4091         2.24 or above.
4092         (HAVE_AVX512_ASM_SUPPORT): Removed.
4093         (HAVE_AVX512DQ_ASM_SUPPORT): New.
4094         * sysdeps/x86_64/configure: Regenerated.
4095         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
4096         check unconditional.
4097         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
4098         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4099         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4100         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4101         Likewise.
4102         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4103         Likewise.
4104         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4105         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4106         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4107         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4108         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4109         Likewise.
4110         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4111         Likewise.
4112         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4113         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4114         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
4115         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
4116         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
4117         Likewise.
4118         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
4119         Likewise.
4120         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
4121         Likewise.
4122         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
4123         Likewise.
4124         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
4125         Likewise.
4126         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
4127         Likewise.
4128         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
4129         Likewise.
4130         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
4131         Likewise.
4132         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
4133         Likewise.
4134         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
4135         Likewise.
4136         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
4137         Likewise.
4139 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
4141         [BZ #20024]
4142         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
4143         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
4144         of this implementation of vector function.
4145         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4146         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4147         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
4148         Likewise.
4149         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4150         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4151         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
4152         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
4153         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
4154         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
4155         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
4156         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
4157         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
4158         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
4159         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
4160         for testing vector sincos with fixed ABI.
4161         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4162         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4163         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4164         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4165         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4166         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4167         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4168         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
4169         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
4170         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
4171         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
4172         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
4173         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
4174         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
4175         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4176         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4178 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4180         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
4182 2016-06-30  Anton Blanchard  <anton@samba.org>
4184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4185         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
4186         s_sinf-ppc64.
4187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
4188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
4189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
4190         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
4192 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4195         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4196         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
4197         e_expf-ppc64.
4198         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
4199         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
4200         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
4201         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
4203 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
4205         [BZ #20277]
4206         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
4207         when SHARED is defined.
4209 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
4211         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
4212         (index_arch_Prefer_ERMS): Likewise.
4213         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
4214         __memcpy_erms for Prefer_ERMS.
4215         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4216         (__memmove_erms): Enabled for libc.a.
4217         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
4218         __memmove_erms or Prefer_ERMS.
4219         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
4220         __mempcpy_erms for Prefer_ERMS.
4221         * sysdeps/x86_64/multiarch/memset.S (memset): Return
4222         __memset_erms for Prefer_ERMS.
4224 2016-06-30  Andreas Schwab  <schwab@suse.de>
4226         [BZ #20262]
4227         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
4228         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
4229         of memory.
4231 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
4233         [BZ #18645]
4234         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
4235         (test-extras): Add tst-cleanupx4aux.
4236         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
4237         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
4238         tst-cleanupx4aux.o.
4239         * nptl/tst-cleanupx4aux.c: New file.
4241 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4243         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4245 2016-06-29  Andreas Schwab  <schwab@suse.de>
4247         [BZ #20260]
4248         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
4249         address before the beginning of the string as an integer to avoid
4250         array-bounds warning.
4252 2016-06-28  Richard Henderson  <rth@redhat.com>
4254         * elf/elf.h (EM_BPF): New.
4255         (EM_NUM): Update.
4256         (R_BPF_NONE, R_BPF_MAP_FD): New.
4258         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
4259         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
4260         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
4261         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
4262         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
4263         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
4264         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
4265         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
4266         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
4267         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
4268         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
4269         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
4270         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
4271         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
4272         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
4273         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
4274         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
4275         (EM_NUM): Update.
4277 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
4279         [BZ #18960]
4280         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
4281         Set _nl_current_LC_CATEGORY_used to two instead of one.
4283 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
4285         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
4286         (do_test): ... this.
4287         (TEST_FUNCTION): New macro.
4288          Include test-skeleton.c.
4289         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
4290         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
4292 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
4294         [BZ #15479]
4295         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
4296         floating-point environment rather than just control word.
4297         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4298         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
4299         floating-point environment, with "invalid" exceptions merged in,
4300         rather than just control word.
4301         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
4302         * math/libm-test.inc (trunc_test_data): Do not allow spurious
4303         "inexact" exceptions.
4305         [BZ #15479]
4306         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
4307         floating-point environment rather than just control word.
4308         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4309         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
4310         floating-point environment, with "invalid" exceptions merged in,
4311         rather than just control word.
4312         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
4313         * math/libm-test.inc (floor_test_data): Do not allow spurious
4314         "inexact" exceptions.
4316         [BZ #15479]
4317         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
4318         floating-point environment rather than just control word.
4319         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4320         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
4321         floating-point environment, with "invalid" exceptions merged in,
4322         rather than just control word.
4323         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
4324         * math/libm-test.inc (ceil_test_data): Do not allow spurious
4325         "inexact" exceptions.
4327 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
4329         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
4330         __libc_vfork.
4331         (__vfork) [IS_IN (libc)]: Remove alias.
4332         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
4333         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4334         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4336 2016-06-24  Torvald Riegel  <triegel@redhat.com>
4338         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
4339         of atomic_compare_and_exchange_bool_rel.
4340         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4341         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
4342         catomic_compare_and_exchange_bool_rel): Remove.
4343         * sysdeps/aarch64/atomic-machine.h
4344         (atomic_compare_and_exchange_bool_rel): Likewise.
4345         * sysdeps/alpha/atomic-machine.h
4346         (atomic_compare_and_exchange_bool_rel): Likewise.
4347         * sysdeps/arm/atomic-machine.h
4348         (atomic_compare_and_exchange_bool_rel): Likewise.
4349         * sysdeps/mips/atomic-machine.h
4350         (atomic_compare_and_exchange_bool_rel): Likewise.
4351         * sysdeps/microblaze/atomic-machine.h
4352         ( __arch_compare_and_exchange_bool_8_rel,
4353         __arch_compare_and_exchange_bool_16_rel): Likewise.
4354         * sysdeps/powerpc/atomic-machine.h
4355         ( __arch_compare_and_exchange_bool_8_rel,
4356         __arch_compare_and_exchange_bool_16_rel): Likewise.
4357         * sysdeps/powerpc/powerpc32/atomic-machine.h
4358         ( __arch_compare_and_exchange_bool_32_rel,
4359         __arch_compare_and_exchange_bool_64_rel): Likewise.
4360         * sysdeps/powerpc/powerpc64/atomic-machine.h
4361         ( __arch_compare_and_exchange_bool_32_rel,
4362         __arch_compare_and_exchange_bool_64_rel): Likewise.
4363         * sysdeps/tile/atomic-machine.h
4364         (atomic_compare_and_exchange_bool_rel): Likewise.
4366 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
4368         [BZ #20296]
4369         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
4370         when either argument is a NaN.
4371         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4372         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
4374         * math/libm-test.inc (snan_value_ld): New macro.
4375         (isgreater_test_data): Add sNaN tests.
4376         (isgreaterequal_test_data): Likewise.
4377         (isless_test_data): Likewise.
4378         (islessequal_test_data): Likewise.
4379         (islessgreater_test_data): Likewise.
4380         (isunordered_test_data): Likewise.
4381         (nextafter_test_data): Likewise.
4382         (nexttoward_test_data): Likewise.
4383         (remainder_test_data): Likewise.
4384         (remquo_test_data): Likewise.
4385         (significand_test_data): Likewise.
4386         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
4388 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4390         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
4391         environment macros are defined.
4392         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
4394 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4396         [BZ #20191]
4397         Implement vtable verification in libio.
4398         * Makerules (shlib.lds): Place __libc_IO_vtables section.
4399         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
4400         * debug/vdprintf_chk.c (__vdprintf_chk): Call
4401         _IO_new_file_init_internal instead of _IO_file_init.
4402         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
4403         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
4404         * libio/Makefile (routines): Add vtables.
4405         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
4406         (_IO_init): Remove, not for internal use.
4407         (_IO_init_internal): Declare, internal replacement for _IO_init.
4408         (_IO_file_init): Remove, not for internal use.
4409         (_IO_new_file_init): Remove, not for internal use.
4410         (_IO_new_file_init_internal): Declare, internal replacement for
4411         _IO_new_file_init.
4412         (_IO_old_file_init): Remove, not for internal use.
4413         (_IO_old_file_init_internal): Declare, internal replacement for
4414         _IO_old_file_init.
4415         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
4416         internal use.
4417         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
4418         Declare.
4419         (libio_vtable): New macro.
4420         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
4421         functions.
4422         * libio/fileops.c (_IO_new_file_init_internal): Rename from
4423         _IO_new_file_init.
4424         (_IO_new_file_init): New externally visible wrapper which disables
4425         vtable verification.
4426         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
4427         Define as vtables.
4428         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
4429         (_IO_init): New externally visible wrapper which disables
4430         vtable verification.
4431         * libio/iofdopen.c (_IO_new_fdopen): Call
4432         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
4433         comment.
4434         * libio/iofopen.c (__fopen_internal): Call
4435         _IO_new_file_init_internal instead of _IO_file_init.
4436         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
4437         Define as vtables.
4438         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
4439         _IO_new_file_init_internal instead of _IO_file_init.
4440         * libio/iopopen.c (_IO_new_popen): Likewise.
4441         (_IO_proc_jumps): Define as vtable.
4442         * libio/iovdprintf.c (_IO_vdprintf): Call
4443         _IO_new_file_init_internal instead of _IO_file_init.
4444         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
4445         (__open_memstream): Call _IO_init_internal instead of _IO_init.
4446         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
4447         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
4448         _IO_old_file_init.
4449         (_IO_old_file_init): New externally visible wrapper which disables
4450         vtable verification.
4451         (_IO_old_file_jumps): Define as vtable.
4452         * libio/oldiofdopen.c (_IO_old_fdopen): Call
4453         _IO_old_file_init_internal instead of _IO_old_file_init.
4454         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4455         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4456         (_IO_old_proc_jumps): Define as vtable.
4457         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
4458         Define as vtables.
4459         * libio/vtables.c: New file.
4460         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
4461         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
4462         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
4463         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
4464         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
4465         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
4466         instead of _IO_init.
4468 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4470         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
4472 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4474         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
4475         potentially unused.
4477 2016-06-22  Florian Weimer  <fweimer@redhat.com>
4479         * test-skeleton.c (write_message): New function.
4480         * malloc/tst-mallocfork2.c (write_message): Remove.
4481         * debug/tst-longjmp_chk2.c (write_indented): New function.
4482         (write_message): Remove.
4483         (stackoverflow_handler): Call write_indented.
4485 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
4487         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
4488         "inexact" exceptions after fnstenv.
4489         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4490         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4491         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4493 2015-06-22  Zack Weinberg  <zackw@panix.com>
4495         * sysdeps/generic/bits/hwcap.h: Moved to ...
4496         * bits/hwcap.h: Here.
4498 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
4500         * sysdeps/aarch64/memcpy.S (memcpy):
4501         Further tuning for performance.
4503 2016-06-21  Florian Weimer  <fweimer@redhat.com>
4505         [BZ #20284]
4506         * malloc/arena.c (reused_arena): Do not return NULL if we start
4507         out with a non-corrupted arena.
4509 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4511         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
4512         * misc/tst-preadvwritev.c: New file.
4513         * misc/tst-preadvwritev64.c: Likewise.
4514         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
4515         usage.
4516         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4517         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4518         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4519         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
4521 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
4523         [BZ #19654]
4524         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4525         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
4526         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
4527         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
4528         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
4529         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
4530         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
4531         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
4532         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
4533         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
4534         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
4535         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
4536         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
4537         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
4538         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
4539         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
4540         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
4541         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
4542         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
4543         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
4544         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
4545         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
4546         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
4547         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
4548         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
4549         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
4551 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4553         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
4554         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
4556 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4558         * sysdeps/aarch64/memcpy.S (memcpy):
4559         Rewrite of optimized memcpy and memmove.
4560         * sysdeps/aarch64/memmove.S (memmove): Remove
4561         memmove code (merged into memcpy.S).
4563 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4565         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
4566         * sysdeps/generic/dl-dtv.h: New file.
4567         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4568         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
4569         (dtv_t): Remove.
4570         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4571         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
4572         (dtv_t): Remove.
4573         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4574         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
4575         (dtv_t): Remove.
4576         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4577         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
4578         (dtv_t): Remove.
4579         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4580         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
4581         (dtv_t): Remove.
4582         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4583         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
4584         (dtv_t): Remove.
4585         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4586         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
4587         (dtv_t): Remove.
4588         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
4589         (dtv_t): Remove.
4590         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4591         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
4592         (dtv_t): Remove.
4593         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4594         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
4595         (dtv_t): Remove.
4596         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4597         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
4598         (dtv_t): Remove.
4599         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4600         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
4601         (dtv_t): Remove.
4602         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4603         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
4604         (dtv_t): Remove.
4605         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4606         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
4607         (dtv_t): Remove.
4608         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4609         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
4610         (dtv_t): Remove.
4611         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4612         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
4613         (dtv_t): Remove.
4615 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4617         Revert symbol poisoning of  __malloc_initialize_hook.
4618         * include/stdc-predef.h (__malloc_initialize_hook): Remove
4619         poisoning.
4620         * malloc/Makefile: Remove un-poisoning.
4621         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
4622         instead of old__malloc_initialize_hook.
4623         * malloc/malloc-hooks.h: Likewise.
4624         * malloc/malloc.c: Likewise.
4625         * malloc/mcheck-init.c: Likewise.
4627 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
4629         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
4631 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
4633         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
4634         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
4635         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4636         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4638 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4640         * NEWS: Mention addition of nextup and nextdown.
4641         * manual/arith.texi: Document nextup and nextdown.
4642         * manual/libm-err-tab.pl: Add nextup and nextdown.
4643         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
4644         * math/Versions (libm): Add GLIBC_2.24.
4645         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
4646         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4647         Add new test.
4648         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
4649         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
4650         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
4651         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
4652         (nextup_test_data): Likewise.
4653         (nextdown_test_data): Likewise.
4654         * math/s_nextdown.c: New file.
4655         * math/s_nextdownf.c: Likewise.
4656         * math/s_nextdownl.c: Likewise.
4657         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
4658         F(nextup): New function.
4659         F(nextdown): Likewise.
4660         * math/tgmath.h: Add nextup and nextdown.
4661         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
4662         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
4663         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4664         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
4665         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
4666         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
4667         Add nextup and nextdown.
4668         (CFLAGS-nldbl-nextup.c): New variable.
4669         (CFLAGS-nldbl-nextdown.c): Likewise.
4670         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
4671         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
4672         * sysdeps/nacl/libm.abilist: Update.
4673         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4674         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4675         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4676         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4677         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4678         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4679         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4680         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4681         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4682         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4683         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4684         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4687         Likewise.
4688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4690         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4691         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4692         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4693         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4694         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
4696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
4697         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4698         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4699         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
4700         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4702 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4704         * manual/pattern.texi: Fix typos & grammar errors.
4706 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4708         * manual/search.texi: Fix typos & grammar errors.
4710 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4712         * manual/message.texi: Fix typos & grammar errors.
4714 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
4716         * manual/contrib.texi: Fix spelling typos.
4717         * manual/crypt.texi: Likewise.
4718         * manual/filesys.texi: Likewise.
4719         * manual/locale.texi: Likewise.
4720         * manual/message.texi: Likewise.
4721         * manual/nss.texi: Likewise.
4722         * manual/string.texi: Likewise.
4724 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4726         * manual/locale.texi: Fix typos & grammar errors.
4728 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4730         * manual/charset.texi: Fix typos & grammar errors.
4732 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4734         * manual/string.texi: Fix typos.
4736 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4738         * manual/ctype.texi: Fix typos.
4740 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4742         * manual/memory.texi: Fix various typos & grammar errors.
4744 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
4746         [BZ #20255]
4747         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
4748         * math/libm-test.inc (fdim_test_data): Add another test.
4750         [BZ #6796]
4751         [BZ #20255]
4752         [BZ #20256]
4753         * math/s_fdim.c: Include <math_private.h>.
4754         (__fdim): Use math_narrow_eval on result.
4755         * math/s_fdimf.c: Include <math_private.h>.
4756         (__fdimf): Use math_narrow_eval on result.
4757         * sysdeps/i386/fpu/s_fdim.S: Remove file.
4758         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
4759         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
4760         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
4761         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
4762         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
4763         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
4764         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
4765         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
4766         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
4767         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
4768         * math/libm-test.inc (fdim_test_data): Expect errno setting on
4769         overflow.  Add sNaN tests.
4771         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
4772         fpclassify.
4773         * math/s_fdimf.c (__fdimf): Likewise.
4774         * math/s_fdiml.c (__fdiml): Likewise.
4776 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4778         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4779         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
4780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4781         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4782         ifunc'ed strcasecmp/strncasecmp.
4783         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
4784         [EALIGN]: Removed.
4785         [END]: Likewise.
4786         [__strcasecmp]: Define instead of the above to control symbol name.
4787         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
4788         for __strcasecmp_power8.
4789         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
4790         for __strncasecmp_power8.
4791         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
4792         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
4793         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
4794         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
4795         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
4796         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
4798 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
4800         [BZ #20252]
4801         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
4802         arguments when second argument is a NaN.
4803         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
4804         qNaN tests.
4806         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
4807         (conj_test_data): Likewise.
4808         (copysign_test_data): Likewise.
4809         (creal_test_data): Likewise.
4810         (fma_test_data): Likewise.
4811         (fmod_test_data): Likewise.
4813         [BZ #20250]
4814         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
4815         itself.
4816         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
4817         zero input to itself.
4818         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
4819         Likewise.
4820         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
4821         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4822         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4823         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4824         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
4826 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4828         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
4829         * nptl/tst-cancel4-common.c: New file.
4830         * nptl/tst-cancel4-common.h: Likewise.
4831         * nptl/tst-cancel4.c: Move common definitions to
4832         tst-cancel4-common.{c,h} file.
4833         * nptl/tst-cancel4_1.c: New test.
4834         * nptl/tst-cancel4_2.c: New test.
4836 2016-06-13  Florian Weimer  <fweimer@redhat.com>
4838         [BZ #20248]
4839         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
4840         (write_message): New function.
4841         (stackoverflow_handler): Call it instead of printf, to avoid
4842         excessive stack usage by printf.
4843         (do_test): Restore SIGSEGV, SIGBUS default handlers.
4845 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4847         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
4848         (prio_inherit_missing): Remove define.
4849         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4850         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4851         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
4852         Likewise.
4853         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4854         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4855         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4856         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4857         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4858         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4860 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4862         [BZ #19670]
4863         [BZ #19672]
4865         * io/test-lfs.c (do_prepare): Use xmalloc.
4866         * io/tst-fcntl.c (do_prepare): Likewise.
4867         * libio/tst-fopenloc.c (do_bz17916): Likewise.
4868         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
4869         * login/tst-utmp.c (do_prepare): Likewise.
4870         * posix/tst-exec.c (do_prepare): Likewise.
4871         * posix/tst-pathconf.c (prepare): Likewise.
4872         * posix/tst-spawn.c (do_prepare): Likewise.
4873         * posix/tst-truncate.c (do_prepare): Likewise.
4874         * rt/tst-aio.c (do_prepare): Likewise.
4875         * rt/tst-aio64.c (do_prepare): Likewise.
4877 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4879         [BZ #20237]
4880         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4881         (get*ent): Set entidx to NULL during initialization.  If entidx is
4882         NULL, start iteration from the beginning.
4884 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4886         * malloc/malloc.c (musable): Return correct size for dumped fake
4887         mmapped chunk.
4889 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4891         [BZ #20222]
4892         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
4893         (_IO_cookie_write): Likewise.
4894         (_IO_cookie_seek): Likewise.
4895         (_IO_cookie_close): Likewise.
4896         (_IO_old_cookie_seek): Likewise.
4897         (set_callbacks): New function.
4898         (_IO_cookie_init): Call set_callbacks to copy callbacks.
4900 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
4902         * locale/programs/localedef.c (oldstyle_tables): Remove.
4903         * locale/programs/localedef.h (oldstyle_tables): Likewise.
4905 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
4907         [BZ #20240]
4908         * math/Makefile (CFLAGS-s_modf.c): New variable.
4909         (CFLAGS-s_modff.c): Likewise.
4910         (CFLAGS-s_modfl.c): Likewise.
4911         * math/libm-test.inc (modf_test_data): Add sNaN tests.
4913 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
4915         [BZ #20215]
4916         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
4917         [!__GNUC_PREREQ (3,2)]: Likewise.
4919 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4921         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
4922         (msghdr.msg_controllen): Likewise.
4923         (cmsghdr.cmsg_len): Likewise.
4924         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
4925         ptw-oldsendmsg.
4926         (CFLAGS-oldrecvmsg.c): Remove rule.
4927         (CFLAGS-oldsendmsg.c): Likewise.
4928         (CFLAGS-recvmsg.c): Add rule.
4929         (CFLAGS-sendmsg.c): Likewise.
4930         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4931         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
4932         (CFLAGS-recvmsg.c): Remove rule.
4933         (CFLAGS-sendmsg.c): Likewise.
4934         (CFLAGS-oldrecvmsg.c): Likewise.
4935         (CFLAGS-oldsendmsg.c): Likewise.
4936         (CFLAGS-recvmmsg.c): Likewise.
4937         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
4938         to kernel defined interfaces.
4939         (msghdr.msg_controllen): Likewise.
4940         (cmsghdr.cmsg_len): Likewise.
4941         (msghdr.__glibc_reserved1): Remove member.
4942         (msghdr.__glibc_reserved2): Likewise.
4943         (cmsghdr.__glibc_reserved1): Likewise.
4944         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
4945         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
4946         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4947         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4948         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
4949         version.
4950         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4951         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
4952         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4953         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
4954         Remove recvmsg and sendmsg.
4955         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
4956         Likewise.
4957         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4958         Likewise.
4959         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4960         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4961         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4962         Likewise.
4963         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4964         Likewise.
4965         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
4966         [libc] (GLIBC_2.24): Likewise.
4967         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4968         Likewise.
4969         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4970         Likewise.
4971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4972         [libc] (GLIBC_2.24): Likewise.
4973         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4974         Likewise.
4975         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4976         Likewise.
4977         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4978         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4979         Likewise.
4980         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4981         Likewise.
4982         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4983         Likewise.
4984         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
4985         Likewise.
4986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
4987         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
4988         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
4989         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
4990         version for {recv,send,recm,sendm}msg.
4991         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4992         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4993         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4994         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4995         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4996         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4997         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4998         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4999         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5000         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5001         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5002         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5004         Likewise.
5005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5006         Likewise.
5007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5009         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5010         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5011         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5012         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5013         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5014         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5017         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5018         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5019         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5021 2016-06-10  Florian Weimer  <fweimer@redhat.com>
5023         [BZ #19564]
5024         Remove __malloc_initialize_hook from the API.
5025         * malloc/malloc.h (__malloc_initialize_hook): Remove.
5026         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
5027         #pragma GCC poison.
5028         * malloc/malloc-hooks.h: New file.
5029         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
5030         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
5031         (old__malloc_initialize_hook): Rename from
5032         __malloc_initialize_hook to evade poisoning.  Turn into compat
5033         symbol.
5034         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
5035         __malloc_initialize_hook.
5036         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
5037         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
5038         * manual/memory.texi (Hooks for Malloc): Remove
5039         __malloc_initialize_hook.  Adjust hook example.
5041 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
5043         [BZ #20235]
5044         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
5045         itself.
5046         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5047         * math/libm-test.inc (log2_test_data): Add sNaN tests.
5049         [BZ #20234]
5050         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
5051         infinity or NaN input to itself.
5053         [BZ #20233]
5054         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
5055         to itself.
5057         [BZ #20232]
5058         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
5059         itself.
5061 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5063         * sysdeps/x86_64/start.S (_start): Always indirect branch to
5064         __libc_start_main via GOT.
5066 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5068         * sysdeps/x86_64/memcopy.h: New file.
5069         * sysdeps/x86_64/wordcopy.c: Likewise.
5071 2016-06-09  Florian Weimer  <fweimer@redhat.com>
5073         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
5074         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
5075         <cstdlib>.
5076         (optimization_barrier): New.
5077         (do_test): Use it.  Call quick_exit in the global namespace.
5078         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
5079         instead of <cstdlib>, <thread>.
5080         (optimization_barrier): New.
5081         (non_main_thread): Adjust declaration.  Call optimization_barrier.
5082         Call quick_exit in the global namespace.
5083         (do_test): Call optimization_barrier.  Use pthread_create,
5084         pthread_join instead of std::thread.
5086 2016-06-09  Andreas Schwab  <schwab@suse.de>
5088         [BZ #19755]
5089         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
5090         new entries in auto-propagate mode.
5091         * nscd/grpcache.c (cache_addgr): Likewise.
5093 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5095         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
5096         New functions.
5097         (add_temp_file): Use them.
5099 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
5101         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
5103 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
5105         [BZ #20229]
5106         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
5107         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
5108         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
5110         [BZ #20228]
5111         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
5112         itself.
5113         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5114         * math/libm-test.inc (log10_test_data): Add sNaN tests.
5116         [BZ #20227]
5117         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
5118         itself.
5119         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5120         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5121         * math/libm-test.inc (log_test_data): Add sNaN tests.
5123         [BZ #20226]
5124         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
5125         itself.
5126         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5127         * math/libm-test.inc (exp_test_data): Add sNaN tests.
5128         (exp10_test_data): Likewise.
5129         (expm1_test_data): Likewise.
5131         [BZ #20225]
5132         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
5133         itself.
5134         * math/s_ldexpf.c (__ldexpf): Likewise.
5135         * math/s_ldexpl.c (__ldexpl): Likewise.
5136         * math/w_scalbln.c (__w_scalbln): Likewise.
5137         * math/w_scalblnf.c (__w_scalblnf): Likewise.
5138         * math/w_scalblnl.c (__w_scalblnl): Likewise.
5139         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
5140         (scalbln_test_data): Likewise.
5142         [BZ #20224]
5143         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
5144         argument to itself.
5145         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
5147 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5149         [BZ #19776]
5150         * sysdeps/x86_64/memcpy.S: Make it dummy.
5151         * sysdeps/x86_64/mempcpy.S: Likewise.
5152         * sysdeps/x86_64/memmove.S: New file.
5153         * sysdeps/x86_64/memmove_chk.S: Likewise.
5154         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5155         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5156         * sysdeps/x86_64/memmove.c: Removed.
5157         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5158         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5159         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
5160         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5161         Likewise.
5162         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5163         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5164         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5165         memcpy-sse2-unaligned, memmove-avx-unaligned,
5166         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
5167         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5168         (__libc_ifunc_impl_list): Replace
5169         __memmove_chk_avx512_unaligned_2 with
5170         __memmove_chk_avx512_unaligned.  Remove
5171         __memmove_chk_avx_unaligned_2.  Replace
5172         __memmove_chk_sse2_unaligned_2 with
5173         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
5174         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
5175         with __memmove_avx512_unaligned.  Replace
5176         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
5177         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
5178         with __memcpy_chk_avx512_unaligned.  Remove
5179         __memcpy_chk_avx_unaligned_2.  Replace
5180         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
5181         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
5182         Replace __memcpy_avx512_unaligned_2 with
5183         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
5184         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
5185         with __mempcpy_chk_avx512_unaligned.  Remove
5186         __mempcpy_chk_avx_unaligned_2.  Replace
5187         __mempcpy_chk_sse2_unaligned_2 with
5188         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
5189         Replace __mempcpy_avx512_unaligned_2 with
5190         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
5191         Replace __mempcpy_sse2_unaligned_2 with
5192         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
5193         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
5194         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
5195         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
5196         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
5197         (ENTRY): Removed.
5198         (END): Likewise.
5199         (ENTRY_CHK): Likewise.
5200         (libc_hidden_builtin_def): Likewise.
5201         Don't include ../memcpy.S.
5202         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
5203         __memcpy_chk_avx512_unaligned_erms and
5204         __memcpy_chk_avx512_unaligned.  Use
5205         __memcpy_chk_avx_unaligned_erms and
5206         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5207         Default to __memcpy_chk_sse2_unaligned.
5208         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5209         Change function suffix from unaligned_2 to unaligned.
5210         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
5211         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
5212         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
5213         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
5214         (ENTRY): Removed.
5215         (END): Likewise.
5216         (ENTRY_CHK): Likewise.
5217         (libc_hidden_builtin_def): Likewise.
5218         Don't include ../mempcpy.S.
5219         (mempcpy): New.  Add a weak alias.
5220         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
5221         __mempcpy_chk_avx512_unaligned_erms and
5222         __mempcpy_chk_avx512_unaligned.  Use
5223         __mempcpy_chk_avx_unaligned_erms and
5224         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5225         Default to __mempcpy_chk_sse2_unaligned.
5227 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5229         [BZ #19881]
5230         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
5231         into ...
5232         * sysdeps/x86_64/memset.S: This.
5233         (__bzero): Removed.
5234         (__memset_tail): Likewise.
5235         (__memset_chk): Likewise.
5236         (memset): Likewise.
5237         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
5238         defined.
5239         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
5240         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
5241         (__memset_zero_constant_len_parameter): Check SHARED instead of
5242         PIC.
5243         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5244         memset-avx2 and memset-sse2-unaligned-erms.
5245         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5246         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
5247         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
5248         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5249         (__bzero): Enabled.
5250         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
5251         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
5252         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
5253         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
5254         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5255         (memset): Removed.
5256         (__memset_chk): Likewise.
5257         (MEMSET_SYMBOL): New.
5258         (libc_hidden_builtin_def): Replace __memset_sse2 with
5259         __memset_sse2_unaligned.
5260         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
5261         __memset_chk_sse2 and __memset_chk_avx2 with
5262         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
5263         Use __memset_chk_sse2_unaligned_erms or
5264         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
5265         __memset_chk_avx512_unaligned_erms and
5266         __memset_chk_avx512_unaligned.
5268 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5270         * math/gen-auto-libm-test.c (fp_format_desc): remove
5271         suffix member.
5272         (output_generic_value): Remove usage of suffix member,
5273         and the resulting unuse of the fp_format argument.
5274         (output_for_one_input_case): Remove unused fp_format
5275         parameter.
5277         * math/auto-libm-test-out: Regenerate.
5279         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
5280         usage with TEST_COND_ibm128.
5281         (TEST_COND_flt_32): Remove.
5282         (TEST_COND_dbl_64): Remove.
5283         (TEST_COND_ldbl_96_intel): Remove.
5284         (TEST_COND_ldbl_96_m68k): Remove.
5285         (TEST_COND_ldbl_128): Remove.
5287 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5289         * auto-libm-test-in:
5290         Replace flt-32 usage with binary32.
5291         Replace dbl-64 usage with binary64.
5292         Replace ldbl-intel-96 usage with intel96.
5293         Replace ldbl-m68k-96 usage with m68k96.
5294         Replace ldbl-128ibm usage with ibm128.
5295         Replace ldbl-128 usage with binary128.
5297         * auto-libm-test-out: Regenerate.
5299 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5301         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
5302         (parse_ulps): Dynamically generate type name matching
5303         string from all_floats.
5304         (get_ulps): Generate the ulps as an array instead.
5305         (output_ulps): Dynamically compose the type based
5306         on the number of supported formats, and print
5307         the indices as type specific helper macros.
5309         * math/libm-test.inc: Remove comment about CHOOSE.
5310         (ulp_data): Generate the type in libm-test-ulps.h.
5311         (ULP_IDX): New macro.
5312         (find_ulps): Update usage of max_ulp.
5314         * math/test-double-vlen2.h (CHOOSE): Remove.
5315         * math/test-double-vlen4.h (CHOOSE): Likewise.
5316         * math/test-double-vlen8.h (CHOOSE): Likewise.
5317         * math/test-float.c (CHOOSE): Likewise.
5318         * math/test-float-finite.c (CHOOSE): Likewise.
5319         * math/test-double.c (CHOOSE): Likewise.
5320         * math/test-double-finite.c (CHOOSE): Likewise.
5321         * math/test-idouble.c (CHOOSE): Likewise.
5322         * math/test-ifloat.c (CHOOSE): Likewise.
5323         * math/test-ildoubl.c (CHOOSE): Likewise.
5324         * math/test-ldouble-finite.c (CHOOSE): Likewise.
5325         * math/test-ldouble.c (CHOOSE): Likewise.
5327         * math/test-float.h (TEST_FLOAT): Remove.
5328         * math/test-double.h (TEST_DOUBLE): Likewise.
5329         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
5331 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5333         * math/gen-libm-test.pl: (apply_lit): New subroutine.
5334         (parse_args): Strip C suffix from floating point literals
5335         typed with 'f' and wrap them with LIT().
5337         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
5338         (test_ff_f_data_nexttoward): Rename to
5339         (test_fj_f_data): New struct.
5340         (nexttoward_test_data): Relabel tests as
5341         TEST_fj_f instead of TEST_ff_f.
5343 2016-06-08  Florian Weimer  <fweimer@redhat.com>
5345         Emacs bug 23726.
5346         * malloc/malloc.c (dumped_main_arena_start): Update comment.
5347         (__libc_realloc): Correct size computation for dumped fake mmapped
5348         chunks.
5350 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
5352         [BZ #20219]
5353         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
5354         to itself.
5355         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
5357         [BZ #20218]
5358         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
5359         to itself.
5360         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
5362 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
5364         [BZ #20195]
5365         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
5366         check to ...
5367         (init_cpu_features): Here.
5369 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
5371         [BZ #20214]
5372         * sysdeps/unix/sysv/linux/bits/in.h
5373         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5374          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
5375         Define to 1.
5376         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5377          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
5378         Define to 0.
5379         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
5380         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
5382 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
5384         [BZ #20198]
5385         * stdlib/Makefile (tests): Add tst-quick_exit, and
5386         tst-thread-quick_exit.
5387         [ifeq ($(have-cxx-thread_local),yes)]
5388         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
5389         (CFLAGS-tst-thread-quick_exit.o): Likewise.
5390         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
5391         (LDLIBS-tst-thread-quick_exit): Likewise.
5392         [ifneq ($(have-cxx-thread_local),yes)]
5393         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
5394         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
5395         If run_dtors is true call __call_tls_dtors.
5396         (exit): Call __run_exit_handlers with run_dtors set to true.
5397         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
5398         definition.
5399         * stdlib/quick_exit.c (quick_exit): Remove function.
5400         (__new_quick_exit): New function.
5401         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
5402         function.
5403         * stdlib/tst-quick_exit.cc: New file.
5404         * stdlib/tst-thread-quick_exit.cc: New file.
5405         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
5406         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
5407         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
5408         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
5409         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
5410         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
5411         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
5412         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
5413         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
5414         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
5415         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
5416         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
5417         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
5418         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
5419         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
5420         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
5422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
5423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
5424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
5425         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
5426         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
5427         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
5428         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
5429         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
5430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
5431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
5432         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
5433         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
5434         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
5436 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
5438         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
5439         a typo in comments.
5441 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5443         [BZ #20213]
5444         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
5445         argument to itself.
5446         * math/libm-test.inc (asin_test_data): Add sNaN tests.
5448 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5450         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
5451         required flags.
5452         (CFLAGS-pwritev64.c): Likewise.
5453         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
5454         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5455         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
5456         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5457         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
5458         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
5459         syscall from auto-generation.
5460         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
5461         [WORDSIZE == 64] (pwritev64): Remove macro.
5462         [!PWRITEV] (PWRITEV): Likewise.
5463         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5464         [!PWRITEV] (PWRITE): Likewise.
5465         [!PWRITEV] (OFF_T): Likewise.
5466         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5467         (LO_HI_LONG): Remove macro.
5468         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
5469         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
5470         (PWRITEV): Remove macro.
5471         (PWRITEV_REPLACEMENTE): Likewise.
5472         (PWRITE): Likewise.
5473         (OFF_T): Likewise.
5474         (pwritev64): New function.
5475         * nptl/tst-cancel4.c (tf_writev): Add test.
5477         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
5478         required flags.
5479         (CFLAGS-preadv64.c): Likewise.
5480         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
5481         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5482         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
5483         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
5484         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
5485         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
5486         syscall from auto-generation.
5487         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
5488         [WORDSIZE == 64] (preadv64): Remove macro.
5489         [!PREADV] (PREADV): Likewise.
5490         [!PREADV] (PREADV_REPLACEMENT): Likewise.
5491         [!PREADV] (PREAD): Likewise.
5492         [!PREADV] (OFF_T): Likewise.
5493         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
5494         (LO_HI_LONG): Remove macro.
5495         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
5496         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
5497         (PREADV): Remove macro.
5498         (PREADV_REPLACEMENTE): Likewise.
5499         (PREAD): Likewise.
5500         (OFF_T): Likewise.
5501         (preadv64): New function.
5502         * nptl/tst-cancel4.c (tf_preadv): Add test.
5504 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5506         [BZ #20212]
5507         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
5508         argument to itself.
5509         * math/libm-test.inc (acos_test_data): Add sNaN tests.
5511 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5513         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
5514         New symbol defined as libc_hidden_def.
5515         (strcasestr): Became a weak alias to __strcasestr.
5516         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
5517         according to multi-arch support.  Move __stpncpy hidden
5518         definition from here to...
5519         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
5520         symbol stpncpy.
5521         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
5522         libc_hidden_builtin_def.
5523         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
5524         memset symbol to use when multi-arch support is available.
5526 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5528         * dlfcn/tst-rec-dlopen.c: Include string.h.
5530 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5532         * manual/install.texi: Remove mention of --without-tls
5533         * INSTALL: Regenerate.
5535 2016-06-05  Florian Weimer  <fweimer@redhat.com>
5537         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
5538         Remove.
5539         (call_function, interposed_malloc_called): New variables.
5540         (malloc): New function.
5541         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
5542         and clear call_function as needed.
5544 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
5546         * include/wchar.h (__wmemset): Use __typeof.
5548 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
5550         * include/wchar.h (__wmemset): Declare function without typeof.
5552 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
5554         [BZ #20205]
5555         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
5556         exponent when incrementing negative subnormal with low mantissa
5557         word zero.
5558         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5559         Add another test.
5561 2016-06-03  Florian Weimer  <fweimer@redhat.com>
5563         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
5564         __wmemset instead of wmemset.
5566 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
5568         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
5569         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
5570         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
5571         __USE_KERNEL_IPV6_DEFS to 0.
5572         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
5573         Update comment.
5575 2016-06-01  Florian Weimer  <fweimer@redhat.com>
5577         [BZ #19861]
5578         Do not use IFUNC resolver with potentially unrelocated symbol.
5579         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
5580         (DEFINE_FORK): Remove macro and inline definition.
5581         (fork_alias): Renamed from fork_ifunc.
5582         (__fork_alias): Renamed from __fork_ifunc.
5584 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
5586         [BZ 19653]
5587         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
5588         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
5590 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5592         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
5593         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
5594         i386-linux-gnu).
5595         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
5596         Set to no.
5597         * sysdeps/mach/hurd/configure: Refresh.
5599 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5601         [BZ #20178]
5602         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
5603         on failure instead of exit.
5605 2016-05-30  Roland McGrath  <roland@hack.frob.com>
5607         [BZ #3629]
5608         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
5609         of POSIX.1-2008.
5611 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5613         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
5614           Use PLT entry for calling _hurd_self_sigstate.
5616 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5618         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
5619         available logical processors with SMT level type sharing L2
5620         cache for Intel processors.
5622 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5624         [BZ #20160]
5625         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
5626         argument to itself before returning the result.
5627         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5628         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5629         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5630         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5631         Likewise.
5632         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5633         Likewise.
5634         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
5635         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
5636         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5637         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5638         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5639         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5641         [BZ #20160]
5642         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
5643         argument to itself before returning the result.
5644         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5645         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5646         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5647         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
5648         Likewise.
5649         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5650         Likewise.
5651         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
5652         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
5653         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
5654         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5655         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5656         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5658 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5660         * libm-test.inc: Replace usage of M_El with
5661         (lit_e): New macro.
5663 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5665         * libm-test.inc: Replace usage of M_PI_4l with
5666         (lit_pi_4_d): New macro.
5668 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5670         * libm-test.inc: Replace usage of M_PIl with
5671         (lit_pi): New macro.
5673 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5675         * libm-test.inc: Replace usage of M_PI2l with
5676         (lit_pi_2_d): New macro.
5678         * math/test-double.h (LITM): New macro.
5679         * math/test-float.h (LITM): Likewise.
5680         * math/test-ldouble.h (LITM): Likewise.
5682 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5684         * libm-test.inc (M_PI_34l): Rename to
5685         (lit_pi_3_m_4_d): New Macro.
5686         (M_PI_34_LOG10El): Rename to
5687         (lit_pi_3_m_4_ln10_m_d): New Macro.
5688         (M_PI2_LOG10El): Rename to
5689         (lit_pi_2_ln10_m_d):  New Macro.
5690         (M_PI4_LOG10El): Rename to
5691         (lit_pi_4_ln10_m_d):  New Macro.
5692         (M_PI_LOG10El): Rename to
5693         (lit_pi_ln10_d):  New Macro.
5695 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5697         [BZ #20157]
5698         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
5699         determine whether to negate low half if [_ARCH_PPCGR], and integer
5700         comparison otherwise.
5701         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
5702         determine whether to negate low half.
5704         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
5705         (NO_TEST_INLINE_DOUBLE): Likewise.
5706         (TEST_COND_x86_64): Likewise.
5707         (TEST_COND_x86): Likewise.
5708         (M_PI_6l): Likewise.
5710 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5712         * math/libm-test.inc:
5713         (TEST_FLOAT): Change usage to TEST_COND_binary32.
5714         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
5715         (TEST_LDOUBLE): Update usage to evaluate as true if
5716         the guarded tests match the property being tested.
5717         (LDBL_MAX_EXP): Change to MAX_EXP.
5718         (LDBL_MIN_EXP): Change to MIN_EXP.
5719         (LDBL_MANT_DIG): Change to MANT_DIG, except for
5720         nexttoward tests.
5722 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5724         * math/libm-test.inc:
5725         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
5726         (TYPE_MIN): Likewise.
5727         (TYPE_TRUE_MIN): Likewise.
5728         (TYPE_MAX): Likewise.
5729         (MIN_EXP): Likewise.
5730         (MAX_EXP): Likewise.
5731         (MANT_DIG): Likewise.
5733         (FSTR_MAX): New macro.
5734         (__CONCATX): Likewise.
5735         (QTYPE_STR): Likewise.
5736         (TEST_COND_binary32): Likewise.
5737         (TEST_COND_binary64): Likewise.
5738         (TEST_COND_binary128): Likewise.
5739         (TEST_COND_ibm128): Likewise.
5740         (TEST_COND_intel96): Likewise.
5741         (TEST_COND_m68k96): Likewise.
5743         (TEST_COND_flt_32): Redefine as equivalent format test macro.
5744         (TEST_COND_dbl_64): Likewise.
5745         (TEST_COND_ldbl_96_intel): Likewise.
5746         (TEST_COND_ldbl_96_m68k): Likewise.
5747         (TEST_COND_ldbl_128): Likewise.
5748         (TEST_COND_ldbl_128ibm): Likewise.
5750         (plus_zero): Redefine using LIT macro.
5751         (minus_zero): Likewise.
5752         (plus_infty): Redefine as (INF).
5753         (minux_infty): Redefine as (-INF).
5754         (max_value): Redefine as TYPE_MAX.
5755         (min_value): Redefine as TYPE_MIN.
5756         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
5758         (print_float): Refactor to use snprintf to convert FLOAT values
5759         to string. This brings it closer to dropin replacement of strtof
5760         for the TS 18661 defined types.
5761         (update_stats): Likewise.
5762         (print_complex_function_ulps): Likewise.
5763         (print_max_error): Likewise.
5764         (print_complex_max_error): Likewise.
5765         (check_float_internal): Likewise.
5767         * math/test-float.h (PREFIX): New macro.
5768         (LIT): Likewise.
5769         (TYPE_STR): Likewise.
5770         (FTOSTR): Likewise.
5772         * math/test-double.h (PREFIX): New macro.
5773         (LIT): Likewise.
5774         (TYPE_STR): Likewise.
5775         (FTOSTR): Likewise.
5777         * math/test-ldouble.h (PREFIX): New macro.
5778         (LIT): Likewise.
5779         (TYPE_STR): Likewise.
5780         (FTOSTR): Likewise.
5782 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5784         [BZ #20156]
5785         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
5786         to itself when zero or not finite.
5787         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
5788         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5789         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
5790         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5792 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
5794         [BZ #20153]
5795         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
5796         x * x + x for infinities and NaNs.
5798         [BZ #20151]
5799         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
5800         argument to itself before returning result.
5801         (__ieee754_y0l): Likewise.
5802         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5803         (__ieee754_y1l).
5805         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
5806         (atan_test_data): Likewise.
5807         (ceil_test_data): Likewise.
5808         (cos_test_data): Likewise.
5809         (cosh_test_data): Likewise.
5810         (erf_test_data): Likewise.
5811         (exp2_test_data): Likewise.
5812         (fabs_test_data): Likewise.
5813         (floor_test_data): Likewise.
5814         (ilogb_test_data): Likewise.
5815         (j0_test_data): Likewise.
5816         (j1_test_data): Likewise.
5817         (jn_test_data): Likewise.
5818         (lgamma_test_data): Likewise.
5819         (lrint_test_data): Likewise.
5820         (llrint_test_data): Likewise.
5821         (logb_test_data): Likewise.
5822         (lround_test_data): Likewise.
5823         (llround_test_data): Likewise.
5824         (nearbyint_test_data): Likewise.
5825         (rint_test_data): Likewise.
5826         (round_test_data): Likewise.
5827         (sin_test_data): Likewise.
5828         (sincos_test_data): Likewise.
5829         (sinh_test_data): Likewise.
5830         (sqrt_test_data): Likewise.
5831         (tan_test_data): Likewise.
5832         (tanh_test_data): Likewise.
5833         (tgamma_test_data): Likewise.
5834         (trunc_test_data): Likewise.
5835         (y0_test_data): Likewise.
5836         (y1_test_data): Likewise.
5837         (yn_test_data): Likewise.
5839         * math/libm-test.inc: Update comment about NaN testing.
5840         (TEST_SNAN): New macro.
5841         (snan_value): Likewise.
5842         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
5843         (fpclassify_test_data): Add sNaN tests.
5844         (isfinite_test_data): Likewise.
5845         (isinf_test_data): Likewise.
5846         (isnan_test_data): Likewise.
5847         (isnormal_test_data): Likewise.
5848         (issignaling_test_data): Likewise.
5849         (signbit_test_data): Likewise.
5850         * math/gen-libm-test.pl (%beautify): Add snan_value.
5851         (show_exceptions): Add argument $test_snan.
5852         (parse_args): Handle snan_value as non-finite.  Update call to
5853         show_exceptions.
5854         * math/Makefile (libm-test-no-inline-cflags): Add
5855         -fsignaling-nans.
5857 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5859         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
5860         (CFLAGS-oldsendmsg.c): Add rule.
5861         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5862         Correct recvmsg symbol name.
5863         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
5864         Likewise.
5866 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5868         * sysdeps/unix/sysv/linux/Makefile
5869         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
5870         oldsendmmsg.
5871         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
5872         sendmmsg.
5873         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5874         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5875         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5876         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5878         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5879         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5881         Likewise.
5882         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5883         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5884         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5885         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5886         iovlen and controllen fields to adjust to POSIX specification.
5887         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5889         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
5890         and change to correct expected type.
5891         (msghdr.msg_controllen): Likewise.
5892         (cmsghdr.cmsg_len): Likewise.
5893         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
5894         expected POSIX assumption about the size.
5895         (msghdr.msg_controllen): Likewise.
5896         (msghdr.__glibc_reserved1): Likewise.
5897         (msghdr.__glibc_reserved2): Likewise.
5898         (cmsghdr.cmsg_len): Likewise.
5899         (cmsghdr.__glibc_reserved1): Likewise.
5900         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
5901         Add ptw-oldrecvmsg and ptw-oldsendmsg.
5902         (CFLAGS-sendmsg.c): Remove rule.
5903         (CFLAGS-recvmsg.c): Likewise.
5904         (CFLAGS-oldsendmsg.c): Add rule.
5905         (CFLAGS-oldrecvmsg.c): Likewise.
5906         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
5907         recvmsg and sendmsg.
5908         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
5909         Likewise.
5910         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
5911         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
5912         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5913         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
5914         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5915         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5916         Likewise.
5917         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5918         Likewise.
5919         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
5920         Likewise.
5921         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
5922         Likewise.
5923         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5924         Likewise.
5925         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5926         Likewise.
5927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
5928         (GLIBC_2.24): Likewise.
5929         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5930         Likewise.
5931         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5932         Likewise.
5933         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5934         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5935         Likewise.
5936         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5937         Likewise.
5938         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5939         Likewise.
5940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
5941         (GLIBC_2.24): Likewise.
5942         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
5943         Likewise.
5944         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
5945         Likewise.
5946         * sysdeps/unix/sysv/linux/Makefile
5947         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
5948         (CFLAGS-sendmsg.c): Add rule.
5949         (CFLAGS-recvmsg.c): Likewise.
5950         (CFLAGS-oldsendmsg.c): Likewise.
5951         (CFLAGS-oldrecvmsg.c): Likewise.
5952         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
5953         initialization.
5954         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5955         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5956         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
5957         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5958         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
5959         iovlen and controllen fields to adjust to POSIX specification.
5960         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
5961         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
5962         added recvmsg and sendmsg.
5963         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5964         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5965         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5966         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5967         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5968         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5969         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5970         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5971         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5972         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5973         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5974         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5976         Likewise.
5977         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5979         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5980         Likewise.
5981         Likewise.
5982         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5983         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5984         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5985         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5986         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5987         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5989         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5991         Likewise.
5992         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5993         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5995         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
5996         from auto-generation.
5997         (sendmsg): Likewise.
5998         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
5999         (sendmsg): Likewise.
6000         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
6001         (sendmsg): Likewise.
6002         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
6003         (sendmsg): Likewise.
6004         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
6005         (sendmsg): Likewise.
6006         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
6007         (sendmsg): Likewise.
6008         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
6009         Likewise.
6010         (sendmsg): Likewise.
6011         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
6012         (sendmsg): Likewise.
6013         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6014         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6015         Remove.
6016         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6017         Likewise.
6018         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6019         Undefine.
6020         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6021         Likewise.
6022         * sysdeps/unix/sysv/linux/kernel-features.h
6023         (__ASSUME_SENDMSG_SYSCALL): Define.
6024         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6025         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6026         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6027         Remove.
6028         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6029         Likewise.
6030         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6031         Undefine.
6032         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6033         Likewise.
6034         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6035         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6036         Remove.
6037         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6038         Likewise.
6039         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6040         Undefine.
6041         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6042         Likewise.
6043         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6044         (__ASSUME_SENDMSG_SYSCALL): Undefine.
6045         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6046         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6047         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6048         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6049         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6050         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6051         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6053 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6055         * stdlib/gen-tst-strtod-round.c: Add backslash to
6056         compile command in comment.
6057         (printfp): Remove the literal suffix, and define an infinite
6058         value as INF to avoid expansion clash with INFINITY.
6059         (round_str): Remove the literal suffix.
6060         (round_for_all): Likewise, remove the now duplicate ldbl-64
6061         entry, and remove some magic constants.
6063         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
6064         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
6065         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
6066         (_CONCAT): New macro.
6067         (CONCAT): Likewise.
6068         (CHOOSE_ld): Likewise.
6069         (CHOOSE_f): Likewise.
6070         (CHOOSE_d): Likewise.
6071         (FTYPE_MEMBER): Likewise.
6072         (BOOL_MEMBER): Likewise.
6073         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
6074         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
6075         (_XNTRY): Likewise.
6076         (XNTRY): Likewise.
6077         (_ENTRY): Likewise.
6078         (ENTRY): Likewise.
6079         (test_exactness): Generate members via macro.
6080         (test_results): Likewise.
6081         (test): Update members.
6082         (TEST): Redefine using new macros.
6083         (INF): New macro.
6084         (fetestmodes): New structure.
6085         (do_test): Refactor to be type generic.
6086         (test_in_one_mode): Refactor duplicate code into
6087         (GEN_ONE_TEST): New macro.
6089         * stdlib/tst-strtod-round-data.h: Regenerate.
6091         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
6092         Extend to pass additional arbitrary parameters to
6093         generators.
6095 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
6097         [BZ #15479]
6098         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
6099         floating-point state after first floating-point operation on
6100         input.  Restore full floating-point state instead of just rounding
6101         mode.
6102         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6103         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6104         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6105         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6106         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6108         [BZ #15479]
6109         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
6110         floating-point state after first floating-point operation on
6111         input.  Restore full floating-point state instead of just rounding
6112         mode.
6113         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6114         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6115         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6116         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6117         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6119 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6121         [BZ #19727]
6122         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
6123         valid high surrogate.
6124         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
6125         of an utf16 surrogate.
6126         * iconv/gconv_simple.c (BODY): Likewise.
6127         * iconvdata/bug-iconv12.c: New file.
6128         * iconvdata/Makefile (tests): Add bug-iconv12.
6130 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6132         [BZ #19726]
6133         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
6134         outptrp in case of an illegal input.
6135         * iconv/tst-iconv6.c: New file.
6136         * iconv/Makefile (tests): Add tst-iconv6.
6138 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6140         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
6141         an error in case of a value in range of an utf16 low surrogate.
6143 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6145         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
6146         an error in case of a value in range of an utf16 low surrogate.
6148 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6150         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
6151         Move to ...
6152         * sysdeps/s390/Makefile: ... here.
6153         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
6154         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
6155         (BRANCH_ON_COUNT): New define.
6156         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
6157         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
6158         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
6159         run on s390-32, too.
6160         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
6161         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
6162         run on s390-32, too.
6163         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
6164         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
6165         run on s390-32, too.
6167 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6169         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
6170         etf3eh or new vector loop-variant.
6172 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6174         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
6175         etf3eh or new vector loop-variant.
6177 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6179         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
6180         or new vector loop-variant.
6182 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6184         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
6185         Rename to TR_LOOP and usage of tr instead of troo instruction.
6187 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6189         * sysdeps/s390/multiarch/gconv_simple.c: New File.
6190         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
6192 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6194         * sysdeps/s390/multiarch/8bit-generic.c: New File.
6195         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
6196         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
6197         New override define.
6198         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
6200 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6202         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
6203         * sysdeps/s390/configure.ac: Add test for S390 vector register
6204         support in gcc.
6205         * sysdeps/s390/configure: Regenerated.
6207 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6209         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
6210         Install file from $(objpfx)gconv-modules.
6211         ($(objpfx)gconv-modules): Concatenate architecture specific file
6212         in variable sysdeps-gconv-modules and gconv-modules in src dir.
6213         * sysdeps/s390/gconv-modules: New file.
6214         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
6215         Deleted.
6216         ($(objpfx)gconv-modules-s390): Deleted.
6217         (sysdeps-gconv-modules): New variable.
6219 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6221         [BZ #15479]
6222         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
6223         of immediate operand to rounding instruction.
6224         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
6225         Likewise.
6226         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
6227         Likewise.
6228         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
6229         Likewise.
6231 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6233         * math/libm-test.inc (MIN_EXP): Directly define as
6234         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
6236 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6238         * math/libm-test.inc (MANT_DIG): Directly define as
6239         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
6241 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6243         * stdlib/gen-tst-strtod-round.c (main):
6244           Change usage to more closely match the generated
6245           output.  Add usage and compilation instructions.
6246           (string_to_fp): Add and use FILE* parameter as
6247           output target.
6248           (print_fp): Likewise.
6249           (round_str): Likewise.
6250           (round_for_all): Likewise.
6251         * stdlib/tst-strtod-round.c (tests): Move into
6252         * stdlib/tst-strtod-round-data.h: New file.
6254 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6256         [BZ #15479]
6257         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
6258         (__round): Do not force "inexact" exception.
6259         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
6260         variable.
6261         (__round): Do not force "inexact" exception.
6262         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
6263         (__roundf): Do not force "inexact" exception.
6264         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
6265         (__roundl): Do not force "inexact" exception.
6266         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
6267         (__roundl): Do not force "inexact" exception.
6268         * math/libm-test.inc (round_test_data): Do not allow spurious
6269         "inexact" exceptions.
6271         [BZ #15479]
6272         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
6273         exception in comment.
6274         (huge): Remove variable.
6275         (__floor): Do not force "inexact" exception.
6276         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
6277         "inexact" exception in comment.
6278         (huge): Remove variable.
6279         (__floor): Do not force "inexact" exception.
6280         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
6281         exception in comment.
6282         (huge): Remove variable.
6283         (__floorf): Do not force "inexact" exception.
6284         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
6285         exception in comment.
6286         (huge): Remove variable.
6287         (__floorl): Do not force "inexact" exception.
6289         [BZ #15479]
6290         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
6291         exception in comment.
6292         (huge): Remove variable.
6293         (__ceil): Do not force "inexact" exception.
6294         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
6295         "inexact" exception in comment.
6296         (huge): Remove variable.
6297         (__ceil): Do not force "inexact" exception.
6298         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
6299         (__ceilf): Do not force "inexact" exception.
6300         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
6301         exception in comment.
6302         (huge): Remove variable.
6303         (__ceill): Do not force "inexact" exception.
6305 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
6307         * config.h.in (BIND_NOW): New.
6308         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
6309         * configure: Regenerated.
6310         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
6311         indirect branch via the GOT slot.
6313 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6315         [BZ #19765]
6316         * sysdeps/s390/mempcpy.S: New File.
6317         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
6318         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
6319         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6320         Add mempcpy variants.
6321         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
6322         (memcpy): Adjust to be usable from mempcpy entry point.
6323         (__memcpy_mvcle): Likewise.
6324         * sysdeps/s390/s390-64/memcpy.S: Likewise.
6325         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
6326         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
6327         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
6328         (__memcpy_z10): Likewise.
6329         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6331 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6333         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
6334         Remove __GI_ symbol.
6335         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
6336         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
6337         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
6338         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6339         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
6340         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
6342 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6344         * sysdeps/s390/s390-64/memcpy.S (memcpy):
6345         Use cghi instead of chi to compare 64bit value.
6347 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6349         * sysdeps/s390/s390-32/memcpy.S (memcpy):
6350         Jump to 1MB check before executing mvc-loop.
6352 2016-05-24  Florian Weimer  <fweimer@redhat.com>
6354         [BZ #6527]
6355         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
6356         unconditionally.
6357         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
6359 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6361         * stdlib/tst-strtod6.c (do_test): Use new type generic
6362         invocation of the test function.
6363         (test): Refactor into ...
6364         (TEST_STRTOD): New macro base function.
6366 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6368         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
6369         (TEST_STRTOD): New macro.
6370         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
6372 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6374         * stdlib/tst-strtod6.c (do_test): Use new type generic
6375         invocation of the test function.
6376         (test): Refactor into ...
6377         (TEST_STRTOD): New macro base function.
6379 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6381         CVE-2016-4429
6382         [BZ #20112]
6383         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
6384         payload.
6386 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6388         [BZ #20111]
6389         * bits/sockaddr.h (_SS_SIZE): Define.
6390         * bits/socket.h (_SS_SIZE): Remove.
6391         (_SS_PADSIZE): Adjust to account for all padding.
6392         (struct sockaddr_storage): Update comment.  Avoid implicit
6393         padding.
6394         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
6395         (_SS_PADSIZE): Adjust to account for all padding.
6396         (struct sockaddr_storage): Update comment.  Avoid implicit
6397         padding.
6398         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
6399         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
6400         (_SS_PADSIZE): Adjust to account for all padding.
6401         (struct sockaddr_storage): Update comment.  Avoid implicit
6402         padding.
6403         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
6404         __SS_SIZE is 126 in this version.
6405         * inet/tst-sockaddr.c: New file.
6406         * inet/Makefile (tests): Add tst-sockaddr.c
6407         (tst-sockaddr.c): Compile with non-strict aliasing.
6409 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
6411         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
6412         [XPG3 || XPG4].
6413         (NL_ARGMAX): Also expect for [XPG3].
6414         (NL_LANGMAX): Likewise.
6415         (NL_MSGMAX): Likewise.
6416         (NL_NMAX): Likewise.
6417         (NL_SETMAX): Likewise.
6418         (NL_TEXTMAX): Likewise.
6419         (NZERO): Likewise.
6420         (TMP_MAX): Likewise.
6421         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
6422         variable.
6424         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
6425         (PF_MAX): Update value.
6426         (AF_KCM): New macro.
6427         (SOL_NETBEUI): Likewise.
6428         (SOL_LLC): Likewise.
6429         (SOL_DCCP): Likewise.
6430         (SOL_NETLINK): Likewise.
6431         (SOL_TIPC): Likewise.
6432         (SOL_RXRPC): Likewise.
6433         (SOL_PPPOL2TP): Likewise.
6434         (SOL_BLUETOOTH): Likewise.
6435         (SOL_PNPIPE): Likewise.
6436         (SOL_RDS): Likewise.
6437         (SOL_IUCV): Likewise.
6438         (SOL_CAIF): Likewise.
6439         (SOL_ALG): Likewise.
6440         (SOL_NFC): Likewise.
6441         (SOL_KCM): Likewise.
6442         (MSG_BATCH): New enum value and macro.
6444 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
6446         [BZ #18185]
6447         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
6448         sharing L2 cache to 2 for Knights Landing.
6450 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
6452         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
6453         (FTW_DP): Do not expect for [XPG3 || XPG4].
6454         (FTW_SL): Do not expect for [XPG3].
6455         (FTW_SLN): Likewise.
6456         (FTW_PHYS): Likewise.
6457         (FTW_MOUNT): Likewise.
6458         (FTW_DEPTH): Likewise.
6459         (FTW_CHDIR): Likewise.
6460         (nftw): Likewise.
6461         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
6462         variable.
6464 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6466         * manual/errno.texi: Fix various typos & grammar errors.
6468 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6470         * manual/intro.texi: Fix duplicated typo.
6472 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6474         [BZ #13304]
6475         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
6476         <float.h>, <math_private.h> and <stdlib.h>.
6477         (add_split): New function.
6478         (mul_split): Likewise.
6479         (ext_val): New typedef.
6480         (store_ext_val): New function.
6481         (mul_ext_val): New function.
6482         (compare): New function.
6483         (add_split_ext): New function.
6484         (__fmal): After checking for Inf, NaN and zero, compute result as
6485         an exact sum of scaled double values in round-to-nearest before
6486         adding those up and adjusting for other rounding modes.
6487         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
6488         tests of fma.
6489         * math/auto-libm-test-out: Regenerated.
6491 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6493         [BZ #20119]
6494         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
6495         processor level type mask for CPUID with EAX == 11.
6497 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6499         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
6500         logical threads if the HTT bit is 0.
6501         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
6502         (index_cpu_HTT): Likewise.
6503         (reg_HTT): Likewise.
6505 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6507         [BZ #20115]
6508         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
6509         Remove alignments on jump targets.
6511 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6513         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
6514         (getpwent): Likewise.
6515         (setpwent): Likewise.
6516         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
6517         variable.
6519         * conform/data/search.h-data (insque): Do not expect for [XPG3].
6520         (remque): Likewise.
6521         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
6522         variable.
6524 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6526         * math/libm-test.inc: Update comment not to refer to signs of NaNs
6527         not being tested.
6529 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6531         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6532         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
6533         call.
6534         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6535         (__condvar_cleanup1): Likewise.
6537 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6539         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
6540         New
6541         (__pthread_unwind): Renamed to ...
6542         (PTHREAD_UNWIND): This.
6543         (__pthread_enable_asynccancel): Replace
6544         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
6546 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6548         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
6549         (CLONE_NEWCGROUP): New macro.
6551         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
6552         (Q_GETNEXTQUOTA): New macro.
6554 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6556         [BZ #19907]
6557         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
6558         buffer updated by the previous run.
6559         * string/test-memcpy.c (do_one_test): Likewise.
6560         * benchtests/bench-memmove.c (do_one_test): Add a comment.
6561         * string/test-memmove.c (do_one_test): Likewise.
6563 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
6565         [BZ #20094]
6566         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
6567         not [__USE_XOPEN].
6568         (unlockpt): Likewise.
6569         (ptsname): Likewise.
6570         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
6571         variable.
6573         [BZ #20076]
6574         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
6575         instead of [__USE_UNIX98].
6576         (S_ISSOCK): Likewise.
6577         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
6578         variable.
6580         [BZ #20074]
6581         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
6582         [__USE_POSIX].
6583         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
6584         variable.
6586         [BZ #20051]
6587         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
6588         (ttyslot): Do not declare.
6589         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
6590         (ttyslot): New prototype.
6591         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
6592         variable.
6593         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6595 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6597         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
6599 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6601         Fix race condition in tst-mallocfork2, use fewer resources.
6602         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
6603         to current process group.
6604         (signal_sender): Yield in the non-sleeping case.
6606 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
6608         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
6609         (ecvt): Likewise.
6610         (fcvt): Likewise.
6611         (gcvt): Likewise.
6612         (getsubopt): Likewise.
6613         (grantpt): Likewise.
6614         (initstate): Likewise.
6615         (l64a): Likewise.
6616         (mktemp): Likewise.
6617         (mkstemp): Likewise.
6618         (ptsname): Likewise.
6619         (random): Likewise.
6620         (realpath): Likewise.
6621         (setstate): Likewise.
6622         (srandom): Likewise.
6623         (ttyslot): Likewise.
6624         (unlockpt): Likewise.
6625         (valloc): Likewise.
6627         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
6628         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
6629         variable.
6631 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6633         [BZ #20072]
6634         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
6635         init_cpu_features only if SHARED is defined.
6636         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
6638 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6640         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
6641         non-inclusive caches on Intel processors.
6643 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6645         * malloc/malloc.c (dumped_main_arena_start)
6646         (dumped_main_arena_end): New variables.
6647         (DUMPED_MAIN_ARENA_CHUNK): New macro.
6648         (do_check_chunk): Skip dumped fake mmapped chunks.
6649         (munmap_chunk): Likewise.
6650         (__libc_free): Do not adjust statistics for fake mmapped chunks.
6651         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
6652         mmapped chunks.
6653         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
6654         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
6655         and dumped_main_arena_end to cover the dumped heap.
6657 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
6659         * conform/data/time.h-data (getdate_err): Do not expect for
6660         [XPG3].
6661         (getdate): Likewise.
6662         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
6663         variable.
6665         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
6666         (F_ULOCK): Likewise.
6667         (F_TEST): Likewise.
6668         (F_TLOCK): Likewise.
6669         (useconds_t): Likewise.
6670         (intptr_t): Do not expect for [XPG3] or [XPG4].
6671         (brk): Do not expect for [XPG3]
6672         (fchown): Likewise.
6673         (fchdir): Likewise.
6674         (ftruncate): Likewise.
6675         (getdtablesize): Likewise.
6676         (gethostid): Likewise.
6677         (getpagesize): Likewise.
6678         (getpgid): Likewise.
6679         (getsid): Likewise.
6680         (getwd): Likewise.
6681         (lchown): Likewise.
6682         (lockf): Likewise.
6683         (readlink): Likewise.
6684         (sbrk): Likewise.
6685         (setpgrp): Likewise.
6686         (setregid): Likewise.
6687         (setreuid): Likewise.
6688         (symlink): Likewise.
6689         (sync): Likewise.
6690         (truncate): Likewise.
6691         (ualarm): Likewise.
6692         (usleep): Likewise.
6693         (vfork): Likewise.
6694         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
6695         variable.
6697         [BZ #20054]
6698         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
6699         not [__USE_UNIX98].
6700         * conform/data/unistd.h-data (gethostname): Do not expect for
6701         [XPG3].
6703         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
6704         [!POSIX] (S_IFBLK): Likewise.
6705         [!POSIX] (S_IFCHR): Likewise.
6706         [!POSIX] (S_IFIFO): Likewise.
6707         [!POSIX] (S_IFREG): Likewise.
6708         [!POSIX] (S_IFDIR): Likewise.
6709         [!POSIX] (S_IFLNK): Likewise.
6710         [!POSIX] (S_IFSOCK): Likewise.
6711         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
6712         variable.
6713         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6715 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
6717         * sysdeps/aarch64/memset.S (__memset):
6718         Rewrite of optimized memset.
6720 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6722         [BZ #19703]
6723         Partially async-signal-safe fork for single-threaded processes.
6724         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
6725         variable.  Do not acquire and reset/release malloc and libio locks
6726         in single-threaded processes.
6727         * malloc/tst-mallocfork2.c: New file.
6728         * malloc/Makefile (tests): Add it.
6730 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6732         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
6733         argument.  Use scratch buffer instead of extend_alloca.
6734         (gethosts): Use scratch buffer instead of extend_alloca.
6735         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
6736         extend_alloca.
6737         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
6739 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
6741         [BZ #20055]
6742         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
6743         instead of [__USE_UNIX98].
6744         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
6745         [__USE_UNIX98].
6746         * conform/data/termios.h-data (tcgetsid): Do not expect for
6747         [XPG3].
6748         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
6749         variable.
6750         (test-xfail-XPG4/termios.h/conform): Likewise.
6752 2016-05-11  Florian Weimer  <fweimer@redhat.com>
6754         Do not use mcheck in localedef.
6755         * locale/programs/localedef.c (turn_on_mcheck)
6756         (__malloc_initialize_hook): Remove.
6758 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6760         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
6761         * sysdeps/s390/s390-64/Makefile: Likewise.
6763 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6765         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
6766         Remove ifunc-defines.sym.
6767         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
6768         Likewise.
6769         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
6770         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6771         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
6772         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
6773         rtld-global-offsets.sym.
6774         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
6775         * sysdeps/x86/cpu-features-offsets.sym: This.
6776         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
6777         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
6779 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
6781         [BZ #20073]
6782         * io/sys/stat.h (fchmod): Declare for
6783         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
6784         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
6785         variable.
6787         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
6788         [XPG3] (S_IFSOCK): Likewise.
6789         [XPG3] (S_ISVTX): Likewise.
6790         [XPG3] (S_ISLNK): Likewise.
6791         [XPG3] (S_ISSOCK): Likewise.
6792         [XPG3] (fchmod): Likewise.
6793         [XPG3] (lstat): Likewise.
6794         [XPG3] (mknod): Likewise.
6796         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
6797         [XPG3].  Expect type long and XFAIL for [XPG4].
6798         (st_blocks): Likewise.
6800         [BZ #20044]
6801         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
6802         (pthread_atfork): New prototype.
6803         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
6804         variable.
6806         [BZ #20043]
6807         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
6808         prototype.
6810 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6812         [BZ #20017]
6813         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
6814         gmtime.
6816 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6818         [BZ #19994]
6819         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
6820         flag in _res.options.
6822 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
6824         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
6825         [XPG3 || XPG4].
6826         (blksize_t): Likewise.
6827         (clockid_t): Likewise.
6828         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
6829         variable.
6830         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6832 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6834         * sysdeps/unix/sysv/linux/s390/init-first.c:
6835         Add VDSO_SYMBOL(getcpu).
6836         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
6837         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
6838         Add VDSO_SYMBOL(getcpu).
6839         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6840         New define HAVE_GETCPU_VSYSCALL.
6841         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6843 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6845         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
6846         instead of <sysdeps/x86_64/cacheinfo.c>.
6847         * sysdeps/x86_64/cacheinfo.c: Moved to ...
6848         * sysdeps/x86/cacheinfo.c: Here.
6850 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6852         * malloc/malloc-internal.h: Adjust header file guard.
6854 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6856         [BZ #19787]
6857         * inet/getnameinfo.c (check_sprintf_result): New function.
6858         (CHECKED_SNPRINTF): New macro.
6859         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
6860         to the host buffer.
6861         (gni_host_local): Use checked_copy to copy the host name.
6862         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
6863         (gni_serv_local): Use checked_copy to copy the service name.
6864         (getnameinfo): Remove unnecessary truncation of result buffers.
6866 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6868         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
6869         in case of inet_ntop failure.
6871 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6873         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
6874         avoid long lines.
6875         (gni_host_inet_numeric): Likewise.  Reduce scope of local
6876         variables.
6877         (gni_host_inet, gni_host_local): Add comment.
6878         (gni_host): Add comment.  Use temporary to avoid long lines.
6880 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6882         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6883         registers specifiers where general purpose registers specifiers should
6884         have been used.
6886 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6888         [BZ #19779]
6889         CVE-2016-1234
6890         Avoid copying names of directory entries.
6891         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
6892         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
6893         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
6894         (struct readdir_result): New type.
6895         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
6896         (GL_READDIR): New macros.
6897         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
6898         (convert_dirent, convert_dirent64): New functions.
6899         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
6900         convert_dirent64.  Adjust references to the readdir result.
6901         * sysdeps/unix/sysv/linux/i386/glob64.c:
6902         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
6903         * posix/bug-glob2.c (LONG_NAME): Define.
6904         (filesystem): Add LONG_NAME.
6905         (my_DIR): Increase the size of room_for_dirent.
6907 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
6909         [BZ #20041]
6910         * misc/sys/select.h (__need_timespec): Only define if
6911         [__USE_XOPEN2K].
6912         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
6913         variable.
6914         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6915         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6916         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6918 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6919             Segher Boessenkool  <segher@gcc.gnu.org>
6921         [BZ #20004]
6922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
6923         (__novec_swapcontext): Add missing load.
6925 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
6927         [BZ #20023]
6928         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
6929         <time.h>.
6930         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
6931         variable.
6932         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6934 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
6937         flags CLONE_VM compare.
6939 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6941         [BZ #20031]
6942         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
6943         completely empty.
6945 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6947         [BZ #19573]
6948         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
6949         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
6950         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
6951         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
6952         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
6953         (hesiod_free_list): Mark as hidden.
6954         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
6955         res_set, res_get.
6956         * hesiod/hesiod.c: Remove unnecessary forward declarations.
6957         (init, __hesiod_res_get, __hesiod_res_set): Remove.
6958         (hesiod_init): Remove obsolete res_ninit call.
6959         (hesiod_end): Do not free resolver state.  Do not invoke callback.
6960         (hesiod_bind): Do not call init.
6961         (get_txt_records): Use res_mkquery, res_send instead of
6962         res_nmkquery, res_nsend.
6963         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
6964         instead of _nss_hesiod_init.
6965         (_nss_hesiod_initgroups_dyn): Likewise.
6966         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
6967         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
6968         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
6970 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6972         * hesiod/hesiod_p.h (DEF_RHS): Remove.
6973         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
6975 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6977         * hesiod/hesiod.h: Remove RCS keyword.
6978         * hesiod/hesiod_p.h: Likewise.
6980         * hesiod/hesiod.c: Likewise.
6982 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
6984         [BZ #12450]
6985         * locale/iso-639.def: Add Samogitian/sgs.
6987 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
6989         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
6991         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
6993 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
6994             Carlos O'Donell  <carlos@redhat.com>
6996         [BZ #19072]
6997         * grp/Makefile (headers): Add grp-merge.h
6998         (routines): Add grp-merge.
6999         * grp/getgrgid_r.c: Include grp-merge.h.
7000         (DEEPCOPY_FN): Define.
7001         (MERGE_FN): Define.
7002         * grp/getgrname_r.c: Include grp-merge.h.
7003         (DEEPCOPY_FN): Define.
7004         (MERGE_FN): Define.
7005         * grp/grp-merge.c: New file.
7006         * grp/grp-merge.h: New file.
7007         * include/grp-merge.h: New file.
7008         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
7009         __copy_grp@GLIBC_PRIVATE.
7010         * manual/nss.texi (Actions in the NSS configuration): Describe
7011         return, continue, and merge.
7012         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
7013         (DEEPCOPY_FN): Define.
7014         (MERGE_FN): Define.
7015         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
7016         (DEEPCOPY_FN): Define.
7017         (MERGE_FN): Define.
7018         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
7019         [!MERGE_FN]: Define __merge_einval.
7020         (CHECK_MERGE): Define.
7021         (REENTRANT_NAME): Process merge if do_merge is true.
7022         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
7023         (__nss_getent_r): Likewise.
7024         * nss/nsswitch.c (nss_parse_service_list): Likewise.
7025         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
7027 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7029         [BZ #20012]
7030         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
7031         length to calculate the buffer to read.
7032         (fmemopen_write): Set the buffer position based on bytes written.
7033         (fmemopen_seek): Return EINVAL for invalid whence modes.
7035         [BZ #19957]
7036         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
7037         tst-getpid2.
7038         (test): Add tst-clone2.
7039         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
7040         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
7041         pid/tid fields for CLONE_VM.
7042         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7043         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7044         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7045         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
7046         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7047         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7048         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7049         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7051         Likewise.
7052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7053         Likewise.
7054         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7055         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7056         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7057         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7058         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7059         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7060         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7061         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
7063 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7065         [BZ #19642]
7066         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
7067         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
7068         (gni_serv_local, gni_serv): New functions extracted from
7069         getnameinfo.
7070         (getnameinfo): Call gni_host and gni_serv to perform the
7071         processing.  Always free scratch buffer.
7073 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7075         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
7076         remaining bytes in the dest string, with zeros.
7078 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7080         [BZ #20010]
7081         CVE-2016-3706
7082         * sysdeps/posix/getaddrinfo.c
7083         (convert_hostent_to_gaih_addrtuple): New function.
7084         (gethosts): Call convert_hostent_to_gaih_addrtuple.
7085         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
7086         AF_INET data.
7088 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7090         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
7091         callback function gl_readdir.
7092         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
7093         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
7094         (glob_in_dir): Remove len.  Use strdup instead of malloc and
7095         memcpy to copy the name.
7096         * manual/pattern.texi (Calling Glob): Document requirements for
7097         implementations of the gl_readdir callback function.
7098         * manual/examples/mkdirent.c: New example.
7099         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
7100         per the manual guidance.
7101         * posix/tst-gnuglob.c (my_readdir): Likewise.
7103 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
7105         [BZ #20014]
7106         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
7107         not [__USE_POSIX].
7108         (getchar_unlocked): Likewise.
7109         (putc_unlocked): Likewise.
7110         (putchar_unlocked): Likewise.
7111         (flockfile): Likewise.
7112         (ftrylockfile): Likewise.
7113         (funlockfile): Likewise.
7114         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
7115         variable.
7116         (test-xfail-XPG4/stdio.h/conform): Likewise.
7118         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
7119         Expect constant.
7120         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
7121         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
7122         variable.
7123         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7124         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7126         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
7127         [__USE_LARGEFILE64] (off64_t): Likewise.
7128         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
7129         variable.
7131 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7133         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
7135 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7137         * resolv/inet_addr.c: Reindent preprocessor conditionals.
7138         * resolv/res_init.c: Likewise.
7139         * resolv/res_mkquery.c: Likewise.
7141 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7143         * resolv/res_init.c (isascii): Do not define.  Use definition in
7144         <ctype.h>.
7145         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
7146         (LOG_AUTH): Remove.
7147         (SPRINTF): Remove, adjust caller.
7148         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
7150 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7152         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
7153         SUNSECURITY conditional.
7154         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
7156 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7158         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
7159         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
7160         Remove BSD-related preprocessor conditionals.
7161         * conf/portability.h: Remove.
7163 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7165         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
7166         * resolv/res_data.c: Likewise.
7168 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7170         * resolv/res_comp.c: Remove code conditional on __ultrix__.
7171         * resolv/res_data.c: Remove code conditional on ultrix.
7173 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7175         * resolv/res_init.c (RFC1535): Do not define.  Remove
7176         RFC1535 preprocessor conditionals.
7177         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
7178         because there configuration options which make the resolver
7179         behavior different.
7181 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7183         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
7184         RESOLVSORT preprocessor conditionals.
7185         * resolv/nss_dns/dns-host.c: Likewise.
7186         * resolv/res_init.c: Likewise.
7188 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7190         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
7191         is never defined.
7193 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7195         * inet/inet_lnaof.c: Remove SCSS keyword.
7196         * inet/inet_mkadr.c: Likewise.
7197         * inet/inet_net.c: Likewise.
7198         * inet/inet_netof.c: Likewise.
7199         * inet/rcmd.c: Likewise.
7200         * inet/rexec.c: Likewise.
7201         * inet/ruserpass.c: Likewise.
7203 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7205         * resolv/inet_addr.c: Remove _LIBC conditionals.
7206         * resolv/res_data.c: Likewise.
7207         * resolv/res_init.c: Likewise.
7208         * resolv/res_mkquery.c: Likewise.
7209         * resolv/res_libc.c: Update comment.
7210         * resolv/README: Update.
7212 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7214         * resolv/gethnamaddr.c: Remove SCSS keyword.
7215         * resolv/herror.c: Likewise.
7216         * resolv/inet_addr.c: Likewise.
7217         * resolv/inet_net_ntop.c: Likewise.
7218         * resolv/inet_net_pton.c: Likewise.
7219         * resolv/inet_neta.c: Likewise.
7220         * resolv/inet_ntop.c: Likewise.
7221         * resolv/inet_pton.c: Likewise.
7222         * resolv/ns_date.c: Remove RCS keyword.
7223         * resolv/ns_name.c: Likewise.
7224         * resolv/ns_netint.c: Likewise.
7225         * resolv/ns_parse.c: Likewise.
7226         * resolv/ns_print.c: Likewise.
7227         * resolv/ns_samedomain.c: Likewise.
7228         * resolv/ns_ttl.c: Likewise.
7229         * resolv/nsap_addr.c: Likewise.
7230         * resolv/res_comp.c: Remove SCSS and RCS keyword.
7231         * resolv/res_data.c: Remove RCS keyword.
7232         * resolv/res_debug.c: Remove SCSS and RCS keyword.
7233         * resolv/res_init.c: Likewise.
7234         * resolv/res_mkquery.c: Likewise.
7235         * resolv/res_query.c: Likewise.
7236         * resolv/res_send.c: Likewise.
7238 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7240         * conform/data/stdio.h-data (fdopen): Expect also for
7241         [XPG3 || XPG4].
7243         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
7244         (fseeko): Likewise.
7245         (ftello): Likewise.
7246         (ftrylockfile): Likewise.
7247         (funlockfile): Likewise.
7248         (getc_unlocked): Likewise.
7249         (getchar_unlocked): Likewise.
7250         (putc_unlocked): Likewise.
7251         (putchar_unlocked): Likewise.
7253 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7255         [BZ #19868]
7256         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
7257         DNS packet syntax checks (which were not needed before).  Skip
7258         over non-PTR records.
7260 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7262         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
7263         definition.  Include <stddef.h> instead.
7265 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7267         [BZ #19831]
7268         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
7269         function.
7270         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
7271         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
7273 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7275         [BZ #19862]
7276         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
7277         (getanswer_r): Do not call syslog.
7278         (gaih_getanswer_slice): Likewise.
7279         * resolv/gethnamaddr.c (AskedForGot): Remove.
7280         (getanswer): Do not call syslog.
7281         (gethostbyaddr): Likewise.
7283 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7285         * conform/data/signal.h-data (union sigval): Expect also if
7286         [XOPEN2K].
7287         (struct sigevent): Likewise.
7288         (SIGEV_NONE): Likewise.
7289         (SIGEV_SIGNAL): Likewise.
7290         (SIGEV_THREAD): Likewise.
7291         (SIGRTMIN): Likewise.
7292         (SIGRTMAX): Likewise.
7293         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
7294         variable.
7295         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7297 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7299         [BZ #19830]
7300         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
7301         (gaih_getanswer_slice): Likewise.
7302         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
7303         Also check for availability of RR metadata.
7305 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7307         [BZ #19825]
7308         * resolv/res_send.c (send_vc): Remove early *resplen2
7309         initialization.  Set *resplen2 on socket error.  Call
7310         close_and_return_error for other errors.
7312 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7314         * sysdeps/unix/sysv/linux/netiucv/iucv.h
7315         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
7316         (SCM_IUCV_TRGCLS): New define.
7318 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7320         [BZ #20005]
7321         * libio/fmemopen.c (fmemopen_write): Update internal position after
7322         write.
7323         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
7324         * stdio-common/tst-fmemopen4.c: New file..
7326 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
7328         [BZ #19996]
7329         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
7330         not [__USE_XOPEN2K].
7331         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
7332         variable.
7334         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
7335         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
7336         variable.
7338         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
7339         [__USE_XOPEN2K8].
7340         [__USE_LARGEFILE64] (off64_t): Likewise.
7341         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
7342         variable.
7344 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
7346         [BZ #19989]
7347         * libio/stdio.h (cuserid): Do not declare if
7348         [__USE_XOPEN2K && !__USE_GNU].
7349         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
7350         variable.
7352 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7354         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7355         (sysdep_routines): Add P8 and PPC64 strcspn targets.
7356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7357         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7358         ifunc'ed strcspn.
7359         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7360         [EALIGN]: Removed.
7361         [END]: Likewise
7362         [STRSPN]: Define instead of the above to control symbol name.
7363         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
7364         New file.
7365         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
7366         Likewise.
7367         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
7368         Likewise.
7369         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
7370         Likewise.
7371         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7372         [INITIAL_MASK]: New macro.
7373         [STRCSPN]: Likewise.
7374         [UPDATE_MASK]: Likewise.
7375         [USE_AS_STRCSPN]: Lisewise.
7377 2016-04-25  Florian Weimer  <fweimer@redhat.com>
7379         [BZ #19931]
7380         * stdio-common/tst-vfprintf-width-prec.c: New file.
7381         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
7382         (tests-special): Add tst-vfprintf-width-prec-mem.out.
7383         (generated): Add mtrace-related files.
7384         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
7385         (tst-%-mem.out): New pattern rule, replaces
7386         tst-printf-bz18872-mem.out.
7387         * stdio-common/vfprintf.c (vfprintf): When handling a precision
7388         specifier, deallocate any previously allocated work buffer.
7390 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7392         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
7393         Add nop before __startcontext, add explaining comments.
7395 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
7397         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
7398         any more. Notably since IPV6_PKTINFO has been reintroduced with a
7399         completely different API.
7401         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
7402         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
7403         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
7404         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
7405         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
7406         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
7407         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
7408         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
7409         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
7410         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
7412 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
7414         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
7416 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
7418         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
7419         when it is the default of 0.
7421 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7423         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
7424         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7425         (sysdep_routines): Add new strcasestr targets.
7426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7427         (__libc_ifunc_impl_list): Likewise.
7428         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
7429         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
7430         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
7431         * sysdeps/powerpc/powerpc64/power8/Makefile:
7432         New file to add strcasestr-ppc64 to sysdep_routines.
7433         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
7434         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
7436 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
7438         * benchtests/Makefile (wcsmbs-benchset): Include only for
7439         native builds and runs.
7440         (LOCALES): Likewise.
7441         (bench-build): Build timing-type here instead of the bench
7442         target.  Generate locale only for native builds.
7443         * benchtests/README: Add note for cross-building.
7445         * benchtests/Makefile (bench-clean): Clean up extra-objs.
7447         * benchtests/README: Update README to include instructions on
7448         using bench-build.
7450         * Makefile.in (bench-build): New target.
7451         * Rules (PHONY): Add bench-build target.
7452         * benchtests/Makefile (bench): Depend on bench-build.
7453         (bench-build): New target.
7455 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7457         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
7458         profil_reply_port.
7459         (profile_waiter): Do not initialize profil_reply_port.
7460         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
7461         frequency instead of tick length in us.
7463 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
7465         [BZ #18712]
7466         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
7467         (__old_mempcpy_small): Likewise.
7468         (__old_strcpy_small): Likewise.
7469         (__old_stpcpy_small): Likewise.
7470         (__old_strpbrk_c2): Fix compat symbol name.
7471         (__old_strpbrk_c3): Likewise.
7472         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
7473         (__mempcpy_small): Remove.
7474         (__strcpy_small): Remove.
7475         (__stpcpy_small): Remove.
7477 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
7479         [BZ #19400]
7480         * locale/iso-639.def: Add the Talossan/tzl language.
7482 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7484         [BZ #16983]
7485         * locale/programs/ld-address.c (address_finish): Update postal_fmt
7486         comment.  Add "ln" to strchr check on postal_fmt.
7488 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7490         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
7491         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
7492         tel_dom_fmt.
7494 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7496         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7497         (sysdep_routines): Added __strlen_power8.
7498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
7499         __strlen_power8 entry.
7500         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
7501         Implementation for POWER8.
7502         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
7503         for __strlen_power8.
7504         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
7505         Implementation for POWER8.
7507 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
7509         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
7511 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
7513         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
7514         Goldmont and Airmont processors.
7516 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
7518         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
7519         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
7520         (__STRING2_SMALL_GET32): Remove.
7521         (memset): Remove.
7522         (__memset_1): Remove.
7523         (__memset_gc): Remove.
7524         (__mempcpy): Remove.
7525         (mempcpy): Remove.
7526         (__mempcpy_args): Remove.
7527         (strchr): Remove.
7528         (strcpy): Remove.
7529         (strcpy_args): Remove.
7530         (__stpcpy_args): Remove.
7531         (__strcmp_cc): Remove.
7532         (__strcmp_gc): Remove.
7533         (strstr): Remove.
7535 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
7537         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
7538         * nis/nis_call.c (nis_server_cache_add): Likewise.
7540 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7542         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
7544 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7546         * malloc/arena.c (__malloc_fork_lock_parent)
7547         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
7548         internal_function attribute.
7550 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
7552         * stdio-common/printf_fp.c (__printf_fp_l):
7553         Rename ___printf_fp_l to __printf_fp_l and
7554         remove strong alias. Use libc_hidden_def instead
7555         of ldbl_hidden_def macro.
7557 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7559         Remove malloc hooks from fork handler.  They are no longer needed
7560         because malloc runs right before fork, and no malloc calls from
7561         other fork handlers are not possible anymore.
7562         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
7563         declarations.
7564         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
7565         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
7566         (atfork_recursive_cntr): Remove.
7567         (__malloc_fork_lock_parent): Do not override malloc hooks and
7568         thread_arena.
7569         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
7570         thread_arena.
7571         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
7572         thread_arena instead of save_arena.
7574 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7576         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
7577         (thread_atfork, thread_atfork_static): Remove.
7578         * sysdeps/mach/hurd/malloc-machine.h:
7579         (thread_atfork, thread_atfork_static): Remove.
7581 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7583         [BZ #19431]
7584         Run the malloc fork handler as late as possible to avoid deadlocks.
7585         * malloc/malloc-internal.h: New file.
7586         * malloc/malloc.c: Include it.
7587         * malloc/arena.c (ATFORK_MEM): Remove.
7588         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
7589         Update comment.
7590         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
7591         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
7592         Remove outdated comment.
7593         (ptmalloc_init): Do not call thread_atfork.  Remove
7594         thread_atfork_static.
7595         * malloc/tst-malloc-fork-deadlock.c: New file.
7596         * Makefile (tests): Add tst-malloc-fork-deadlock.
7597         (tst-malloc-fork-deadlock): Link against libpthread.
7598         * manual/memory.texi (Aligned Memory Blocks): Update safety
7599         annotation comments.
7600         * sysdeps/nptl/fork.c (__libc_fork): Call
7601         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7602         __malloc_fork_unlock_child.
7603         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
7605 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7607         [BZ #19613]
7608         Remove union wait.
7609         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
7610         (w_stopsig, w_stopval): Remove.
7611         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
7612         stat_loc argument.
7613         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
7614         (__WAIT_STATUS_DEFN): Remove.
7615         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7616         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
7617         (wait, wait3, wait4): Use int * for the stat_loc argument.
7618         * posix/wait.c (__wait): Likewise.
7619         * posix/wait3.c (__wait3): Likewise.
7620         * posix/wait4.c (__wait4): Likewise.
7621         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
7622         (__WAIT_STATUS_DEFN): Remove.
7623         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7624         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
7625         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
7626         argument.
7627         * sysdeps/posix/wait.c (__libc_wait): Likewise.
7628         * sysdeps/posix/wait3.c (__wait3): Likewise.
7629         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
7630         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7631         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
7632         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
7633         stat_loc argument.
7634         * manual/process.texi (BSD Wait Functions): Remove union wait.
7636 2016-04-13  Andreas Schwab  <schwab@suse.de>
7638         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
7639         (test-extras): Add tst-tlsalign-vars.
7640         * math/Makefile: Wrap long lines.
7641         (libm-vec-test-wrappers): Define.
7642         (test-extras): Add $(libm-vec-test-wrappers).
7643         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
7644         * nss/Makefile (extra-test-objs): Add nss_test1.os.
7645         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
7646         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
7647         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
7648         (extra-test-objs): Add corresponding objects.
7650 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
7652         [BZ #19928]
7653         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
7654         New.
7655         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
7656         times of shared cache size.
7657         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
7658         (VMOVNT): New.
7659         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
7660         (VMOVNT): Likewise.
7661         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7662         (VMOVNT): Likewise.
7663         (VMOVU): Changed to movups for smaller code sizes.
7664         (VMOVA): Changed to movaps for smaller code sizes.
7665         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
7666         comments.
7667         (PREFETCH): New.
7668         (PREFETCH_SIZE): Likewise.
7669         (PREFETCHED_LOAD_SIZE): Likewise.
7670         (PREFETCH_ONE_SET): Likewise.
7671         Rewrite to use forward and backward loops, which move 4 vector
7672         registers at a time, to support overlapping addresses and use
7673         non temporal store if size is above the threshold and there is
7674         no overlap between destination and source.
7676 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
7678         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
7679         Include dl-vdso.
7680         * sysdeps/unix/sysv/linux/mips/Versions: Add
7681         __vdso_clock_gettime.
7682         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
7683         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
7684         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
7685         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
7686         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
7687         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7688         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7689         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7690         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7692 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7694         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
7695         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7696         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7697         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7698         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7699         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7702         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
7703         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
7704         syscalls generation.
7705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7706         [__NR_pwrite64] (__NR_write): Remove define.
7707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7708         [__NR_pwrite64] (__NR_write): Remove define.
7709         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
7710         Remove define.
7711         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
7712         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
7713         Remove define.
7714         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
7715         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
7716         Linux implementation as base.
7717         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7719         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
7720         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7721         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7722         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
7724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7725         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
7726         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
7727         syscall generation.
7728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7729         [__NR_pread64] (__NR_pread): Remove define.
7730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7731         [__NR_pread64] (__NR_pread): Likewise.
7732         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
7733         define.
7734         (__libc_pread): Use SYSCALL_LL macro on offset argument.
7735         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
7736         Remove define.
7737         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
7738         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
7739         Linux implementation as base.
7740         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7741         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7742         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7744         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
7745         definition.
7746         (__ALIGNMENT_COUNT): Likewise.
7747         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
7748         (__ALIGNMENT_COUNT): Likewise.
7749         (SYSCALL_LL): New define.
7750         (SYSCALL_LL64): Likewise.
7751         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
7752         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
7753         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
7754         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
7756         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7757         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
7758         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7759         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7760         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7761         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7763 2016-04-11  Florian Weimer  <fweimer@redhat.com>
7765         [BZ #19865]
7766         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
7767         original buffer before retry.
7769 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7771         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
7772         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
7773         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
7774         GLRO(dl_auxv) list.
7775         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
7776         including <ldsodefs.h>.
7777         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
7779 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
7781         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
7782         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
7783         $(CPPFLAGS).
7785 2016-04-09  Khem Raj  <raj.khem@gmail.com>
7787         [BZ #17950]
7788         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
7789         Add -mfpmath=387.
7791 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
7793         * sysdeps/i386/configure.ac: Change == to = when calling test.
7794         * sysdeps/x86_64/configure.ac: Likewise.
7795         * sysdeps/i386/configure: Regenerated.
7796         * sysdeps/x86_64/configure: Likewise.
7798 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
7800         [BZ #16137]
7801         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
7802         * benchtests/bench-strcoll.c (input_files): Likewise.
7803         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7804         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
7805         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
7807 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
7809         [BZ #19929]
7810         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
7811         [__USE_XOPEN2K8 && !__USE_GNU].
7812         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
7813         variable.
7815         [BZ #19925]
7816         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
7817         define if [!__USE_MISC && __USE_XOPEN2K].
7818         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
7819         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
7820         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
7821         Likewise.
7822         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
7823         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
7824         variable.
7825         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7827 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7829         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7830         (sysdep_routines): Add new strspn targets.
7831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7832         (__libc_ifunc_impl_list): Add strspn.
7833         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7834         New file.
7835         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
7836         Likewise.
7837         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
7838         Likewise.
7839         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7840         Likewise.
7842 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7844         * misc/hsearch_r.c: Include <limits.h>.
7846 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7848         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
7850 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7852         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7853         (MEMCPY_SYMBOL): New.
7854         (MEMPCPY_SYMBOL): Likewise.
7855         (MEMMOVE_CHK_SYMBOL): Likewise.
7856         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
7857         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
7858         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
7859         Provide alias for memcpy in libc.a and ld.so.
7861 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7863         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7864         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
7865         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
7866         Disabled fro now.
7867         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
7868         symbols.  Properly check USE_MULTIARCH on __memset symbols.
7870 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7872         * benchtests/Makefile (string-benchset): Add memcpy-large,
7873         memmove-large and memset-large.
7874         * benchtests/bench-memcpy-large.c: New file.
7875         * benchtests/bench-memmove-large.c: Likewise.
7876         * benchtests/bench-memmove-large.c: Likewise.
7877         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
7879 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7881         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7882         32-bit displacement to avoid long nop between instructions.
7884 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7886         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7887         a comment on VMOVU and VMOVA.
7889 2016-04-04  Florian Weimer  <fweimer@redhat.com>
7891         [BZ #19633]
7892         Use specified locale for number formatting in strfmon_l.
7893         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
7894         (__nl_lookup_word): New inline functions.
7895         * include/printf.h (__print_fp_l): Declare.
7896         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
7897         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
7898         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
7899         (___printf_fp): New function.
7900         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
7901         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
7902         * stdlib/tst-strfmon_l.c (do_test): New test.
7903         * stdlib/Makefile (tests): Add kt.
7904         (LOCALES): Build additional locales.
7905         (tst-strfmon_l.out): Require locales.
7907 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7909         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
7910         if not in libc.
7911         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7912         Likewise.
7913         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
7914         Likewise.
7915         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7916         Likewise.
7918 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7920         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7921         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
7922         with unaligned_erms.
7923         (__memmove_erms): Skip if source == destination.
7924         (__memmove_unaligned_erms): Don't check source == destination
7925         first.
7927 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7929         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7930         bit_arch_Fast_Copy_Backward for Intel Core proessors.
7932 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7934         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
7935         * string/strspn.c (strspn): Likewise.
7937 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7939         * benchtests/bench-memset.c (do_test): Support 64-byte
7940         alignment.
7941         (test_main): Test 64-byte alignment.
7943 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7945         * benchtests/bench-memmove.c (test_main): Test 64-byte
7946         alignment.
7948 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7950         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
7952 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7954         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
7955         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
7956         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
7958         * string/strpbrk.c (strpbrk): Rewrite function.
7959         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
7960         (__strpbrk_c2): Likewise.
7961         (__strpbrk_c3): Likewise.
7962         * string/string-inlines.c
7963         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
7964         Likewise.
7965         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
7966         Likewise.
7968         * string/strspn.c (strcspn): Rewrite function.
7969         * string/bits/string2.h (strspn): Use __builtin_strcspn.
7970         (__strspn_c1): Remove inline function.
7971         (__strspn_c2): Likewise.
7972         (__strspn_c3): Likewise.
7973         * string/string-inlines.c
7974         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
7975         compatibility symbol.
7976         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
7977         Likewise.
7978         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
7979         Likewise.
7980         * string/string-inlines.c: Include generic version.
7982 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
7983             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7985         * string/Version (libc): Add GLIBC_2.24.
7986         * string/strcspn.c (strcspn): Rewrite function.
7987         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
7988         (__strcspn_c1): Remove inline function.
7989         (__strcspn_c2): Likewise.
7990         (__strcspn_c3): Likewise.
7991         * string/string-inline.c
7992         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
7993         compatibility symbol.
7994         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
7995         Likewise.
7996         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
7997         Likewise.
7998         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
8000 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8002         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8003         Use ahi instead of aghi to adjust stack pointer.
8005 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8007         [BZ #19853]
8008         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
8009         TEST to take significant digits as second parameter.
8010         [TEST]: Redefine in terms of TEST_N taking 30
8011         significant digits.
8012         (do_test): Add test case to demonstrate precision
8013         failure in the ldbl-128ibm printf.
8014         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
8015         (__mpn_extract_long_double): Carry 7 extra intermediate
8016         bits of precision to aide computing difference when
8017         signs differ.
8019 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8021         [BZ #19881]
8022         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8023         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
8024         memset-avx512-unaligned-erms.
8025         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8026         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
8027         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
8028         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
8029         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
8030         __memset_sse2_unaligned_erms, __memset_erms,
8031         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
8032         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
8033         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
8034         file.
8035         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8036         Likewise.
8037         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
8038         Likewise.
8039         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
8040         Likewise.
8042 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8044         [BZ #19776]
8045         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8046         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
8047         memmove-avx512-unaligned-erms.
8048         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8049         (__libc_ifunc_impl_list): Test
8050         __memmove_chk_avx512_unaligned_2,
8051         __memmove_chk_avx512_unaligned_erms,
8052         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
8053         __memmove_chk_sse2_unaligned_2,
8054         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
8055         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
8056         __memmove_avx512_unaligned_erms, __memmove_erms,
8057         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
8058         __memcpy_chk_avx512_unaligned_2,
8059         __memcpy_chk_avx512_unaligned_erms,
8060         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
8061         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
8062         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
8063         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
8064         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
8065         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
8066         __mempcpy_chk_avx512_unaligned_erms,
8067         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
8068         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
8069         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
8070         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
8071         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
8072         __mempcpy_erms.
8073         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
8074         file.
8075         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8076         Likwise.
8077         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
8078         Likwise.
8079         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8080         Likwise.
8082 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8084         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
8085         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
8086         (La_s390_64_regs): Likewise.
8087         (La_s390_32_retval): Append vector register lrv_v24.
8088         (La_s390_64_retval): Likeweise.
8089         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8090         Handle extended structs La_s390_32_regs and La_s390_32_retval.
8091         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8092         Handle extended structs La_s390_64_regs and La_s390_64_retval.
8094 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8096         [BZ #19916]
8097         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
8098         to create a non-vector/vector version for _dl_runtime_resolve and
8099         _dl_runtime_profile. Move implementation to ...
8100         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
8101         (_dl_runtime_resolve) Save and restore fpr/vrs.
8102         (_dl_runtime_profile) Save and restore vrs and fix some issues
8103         if _dl_call_pltexit is called.
8104         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
8105         Choose the correct resolver function if running on a machine with vx.
8106         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
8107         to create a non-vector/vector version for _dl_runtime_resolve and
8108         _dl_runtime_profile. Move implementation to ...
8109         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
8110         (_dl_runtime_resolve) Save and restore fpr/vrs.
8111         (_dl_runtime_profile) Save and restore vrs and fix some issues
8112         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
8113         Choose the correct resolver function if running on a machine with vx.
8115 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8117         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
8119 2016-03-31  Florian Weimer  <fweimer@redhat.com>
8121         [BZ #19509]
8122         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
8123         skip_map != NULL.
8124         * elf/tst-dlsym-error.c: New file.
8125         * elf/Makefile (tests): Add tst-dlsym-error.
8126         (tst-dlsym-error): Link against libdl.
8128 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
8130         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8131         (__ASSUME_FUTIMESAT): Remove macro.
8132         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
8134 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8136         [BZ #19879]
8137         CVE-2016-3075
8138         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
8139         copy name.
8141 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8143         [BZ #19837]
8144         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
8145         error if parse_line fails.
8147 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8149         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
8150         (index_cpu_ERMS): Likewise.
8151         (reg_ERMS): Likewise.
8153 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
8155         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
8156         PER_LINUX_FDPIC): Add.
8158 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8160         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8161         memcpy-avx512-no-vzeroupper.
8162         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
8163         to ...
8164         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
8165         (MEMCPY): Don't define.
8166         (MEMCPY_CHK): Likewise.
8167         (MEMPCPY): Likewise.
8168         (MEMPCPY_CHK): Likewise.
8169         (MEMPCPY_CHK): Renamed to ...
8170         (__mempcpy_chk_avx512_no_vzeroupper): This.
8171         (MEMPCPY_CHK): Renamed to ...
8172         (__mempcpy_chk_avx512_no_vzeroupper): This.
8173         (MEMCPY_CHK): Renamed to ...
8174         (__memmove_chk_avx512_no_vzeroupper): This.
8175         (MEMCPY): Renamed to ...
8176         (__memmove_avx512_no_vzeroupper): This.
8177         (__memcpy_avx512_no_vzeroupper): New alias.
8178         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
8180 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8182         [BZ #18858]
8183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8184         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
8185         and mempcpy-avx512-no-vzeroupper.
8186         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
8187         New.
8188         (MEMPCPY): Likewise.
8189         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
8190         (MEMPCPY_CHK): New.
8191         (MEMPCPY): Likewise.
8192         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
8193         (MEMPCPY): Likewise.
8194         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
8195         (MEMPCPY): Likewise.
8196         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
8197         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
8198         Likewise.
8199         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
8200         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
8202 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8203              Amit Pawar  <Amit.Pawar@amd.com>
8205         [BZ #19583]
8206         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8207         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
8208         processors.  Set Fast_Copy_Backward for AMD Excavator
8209         processors.
8210         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
8211         New.
8212         (index_arch_Fast_Unaligned_Copy): Likewise.
8213         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
8214         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
8216 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8218         [BZ #19791]
8219         * resolv/res_send.c (close_and_return_error): New function.
8220         (send_dg): Initialize *resplen2 after reopen failure.  Call
8221         close_and_return_error for error returns.  On error paths without
8222         __res_iclose, initialze *resplen2 explicitly.  Update comment for
8223         successful return.
8225 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8227         [BZ# 19860]
8228         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
8229         zero if the compiler does not provide the AVX512F bit.
8231 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
8233         [BZ #19848]
8234         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
8235         from 8 to 4.
8236         (__ieee754_powl): Compare integer exponent against 4 not 8.
8237         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
8238         from 8 to 4.
8239         (__ieee754_powl): Compare integer exponent against 4 not 8.
8240         * math/auto-libm-test-in: Add more tests of pow.
8241         * math/auto-libm-test-out: Regenerated.
8242         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
8243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8245 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8247         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
8248         Make code unconditional.
8249         [!__NR_utimensat]: Remove conditional code.
8250         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
8251         Make code unconditional.
8252         [!__NR_utimensat]: Remove conditional code.
8253         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
8254         Make code unconditional.
8255         [!__NR_utimensat]: Remove conditional code.
8257 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8259         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
8260         Make code unconditional.
8262 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
8264         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
8265         call-clobbered %eax on retry path.
8266         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8268 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8270         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
8271         Don't set %rcx twice before "rep movsb".
8273 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8275         [BZ #19583]
8276         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
8277         inline.  Check family before setting family, model and
8278         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
8279         bits here.
8280         (init_cpu_features): Replace HAS_CPU_FEATURE and
8281         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
8282         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
8283         for Intel processors with usable AVX2.  Call get_common_indeces
8284         for other processors with family == NULL.
8285         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
8286         (CPU_FEATURES_ARCH_P): Likewise.
8287         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
8288         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
8290 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8292         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
8293         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
8294         $(shared-thread-library) instead of hardcoding the path to libpthread.
8296 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
8298         * sysdeps/unix/sysv/linux/kernel-features.h
8299         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
8300         * sysdeps/unix/sysv/linux/getdents.c
8301         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
8302         [!have_no_getdents64_defined]: Likewise.
8303         (__GETDENTS): Remove __have_no_getdents64 conditional.
8305 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
8307         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
8308         Remove macro.
8309         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
8310         <kernel-features.h>.
8311         (signalfd) [__NR_signalfd4]: Make code unconditional.
8312         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
8314 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8316         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
8317         style.
8319 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8321         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
8322         (__pthread_enable_asynccancel): Use JUMPTARGET to call
8323         __pthread_unwind.
8324         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8325         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
8326         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8327         (__condvar_cleanup1): Likewise.
8329 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
8331         [BZ #19822]
8332         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
8333         move it to the final $@ location.
8335 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8337         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
8338         access where posix_spawn success and pid argument is null.
8339         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
8340         success case.
8342 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
8344         * sysdeps/mach/hurd/i386/c++-types.data: New file.
8346         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
8348         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
8349         and __fcntl.
8350         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
8351         __fcntl only.
8352         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
8353         adding attribute_hidden to __open and __fcntl.
8355         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
8356         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
8357         depend on libc-modules.h,
8358         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
8360 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
8362         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
8363         Remove macro.
8364         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
8365         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
8366         entry.
8368         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
8369         Remove macro.
8370         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
8371         include <kernel-features.h>.
8372         [!__ASSUME_FALLOCATE]: Remove conditional code.
8373         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
8375 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8377         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
8378         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
8379         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
8380         (_ZGVdN4v_cos_avx2): Likewise.
8381         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
8382         (_ZGVdN4v_cos): Likewise.
8383         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
8384         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
8385         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
8386         (_ZGVdN4v_exp_avx2): Likewise.
8387         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
8388         (_ZGVdN4v_exp): Likewise.
8389         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
8390         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
8391         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
8392         (_ZGVdN4v_log_avx2): Likewise.
8393         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
8394         (_ZGVdN4v_log): Likewise.
8395         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
8396         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
8397         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
8398         (_ZGVdN4vv_pow_avx2): Likewise.
8399         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
8400         (_ZGVdN4vv_pow): Likewise.
8401         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
8402         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
8403         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
8404         (_ZGVdN4v_sin_avx2): Likewise.
8405         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
8406         (_ZGVdN4v_sin): Likewise.
8407         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
8408         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
8409         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
8410         (_ZGVdN4vvv_sincos_avx2): Likewise.
8411         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
8412         (_ZGVdN4vvv_sincos): Likewise.
8413         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
8414         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
8415         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
8416         (_ZGVbN4v_cosf_sse4): Likewise.
8417         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
8418         (_ZGVdN8v_cosf_avx2): Likewise.
8419         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
8420         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
8421         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
8422         (_ZGVbN4v_expf_sse4): Likewise.
8423         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
8424         (_ZGVdN8v_expf_avx2): Likewise.
8425         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
8426         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
8427         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
8428         (_ZGVbN4v_logf_sse4): Likewise.
8429         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
8430         (_ZGVdN8v_logf_avx2): Likewise.
8431         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
8432         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
8433         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
8434         (_ZGVbN4vv_powf_sse4): Likewise.
8435         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
8436         (_ZGVdN8vv_powf_avx2): Likewise.
8437         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8438         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
8439         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8440         (_ZGVbN4vvv_sincosf_sse4): Likewise.
8441         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8442         (_ZGVdN8vvv_sincosf_avx2): Likewise.
8443         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
8444         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
8445         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
8446         (_ZGVbN4v_sinf_sse4): Likewise.
8447         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
8448         (_ZGVdN8v_sinf_avx2): Likewise.
8449         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8450         Use JUMPTARGET to call callee.
8451         (WRAPPER_IMPL_SSE2_ff): Likewise.
8452         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8453         (WRAPPER_IMPL_AVX): Likewise.
8454         (WRAPPER_IMPL_AVX_ff): Likewise.
8455         (WRAPPER_IMPL_AVX_fFF): Likewise.
8456         (WRAPPER_IMPL_AVX512): Likewise.
8457         (WRAPPER_IMPL_AVX512_ff): Likewise.
8458         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8459         Likewise.
8460         (WRAPPER_IMPL_SSE2_ff): Likewise.
8461         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8462         (WRAPPER_IMPL_AVX): Likewise.
8463         (WRAPPER_IMPL_AVX_ff): Likewise.
8464         (WRAPPER_IMPL_AVX_fFF): Likewise.
8465         (WRAPPER_IMPL_AVX512): Likewise.
8466         (WRAPPER_IMPL_AVX512_ff): Likewise.
8467         (WRAPPER_IMPL_AVX512_fFF): Likewise.
8469 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8471         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
8472         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
8473         qualifier.
8474         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
8475         internal_function qualifiers.
8477 2016-03-15  Carlos O'Donell <carlos@redhat.com>
8479         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
8480         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
8481         * math/atest-exp.c (exp_mpn): Mark chk unused.
8482         * math/atest-exp2.c (exp_mpn): Likwise.
8483         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
8484         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
8486 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
8488         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
8489         Remove macro.
8490         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
8491         <kernel-features.h>.
8492         [__NR_ppoll]: Make code unconditional.
8493         [!__ASSUME_PPOLL]: Remove conditional code.
8495         * sysdeps/unix/sysv/linux/kernel-features.h
8496         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
8497         (__ASSUME_ACCEPT4): Likewise.
8498         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8499         Define.
8500         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
8501         Likewise.
8502         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8503         Likewise.
8504         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
8505         Likewise.
8506         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
8507         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
8508         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8509         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8510         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8511         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8512         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8513         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8514         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8515         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8516         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8517         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8518         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8519         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8520         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8521         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8522         Likewise.
8523         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8524         Likewise.
8525         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8526         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8527         0x040300].
8528         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8529         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8530         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8531         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8532         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8533         0x030300].
8534         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
8535         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8536         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8537         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8538         0x040300].
8539         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8540         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8541         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8542         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8543         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8544         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8545         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8546         0x030300].
8547         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8548         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8549         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8550         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8551         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8552         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8553         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8554         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8555         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8556         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8557         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8558         0x040300].
8559         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8560         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8561         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8562         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8563         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8564         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8565         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8566         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8567         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8568         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8569         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8570         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8571         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8572         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8573         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
8574         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8575         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8576         Likewise.
8577         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8578         Likewise.
8580 2016-03-15  Andreas Schwab  <schwab@suse.de>
8582         [BZ #19257]
8583         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
8584         statp->_u._ext.nscount as loop count.
8586 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
8588         * math/test-signgam-finite-c99.c: Also #undef
8589         __LIBC_INTERNAL_MATH_INLINES.
8590         * math/test-signgam-main.c: Likewise.
8592 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
8594         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
8595         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8596         (MADV_FREE): Likewise.
8597         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
8598         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
8599         EPOLLEXCLUSIVE.
8601 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
8603         * timezone/README: Remove mention of checktab.awk. Mention wiki
8604         SharedSourceFiles.
8606 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
8608         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
8609         WUNTRACED.
8611 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8613         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
8614         order to match the type of p when calling atomic_exchange_acq().
8616 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8618         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
8619         cfi_offset calls.
8620         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
8621         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
8622         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
8623         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
8624         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
8626 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
8628         * timezone/checktab.awk: Removed.
8630 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
8632         * manual/math.texi (Errors in Math Functions): Document relaxed
8633         accuracy goals for IBM long double.
8634         * math/libm-test.inc (test_exceptions): Always allow spurious
8635         "underflow" and "inexact" exceptions for IBM long double.
8637 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
8639         [BZ #19762]
8640         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8641         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
8642         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
8643         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
8644         (bit_arch_*): This for feature array.
8645         (bit_*): Renamed to ...
8646         (bit_cpu_*): This for cpu array.
8647         (index_*): Renamed to ...
8648         (index_arch_*): This for feature array.
8649         (index_*): Renamed to ...
8650         (index_cpu_*): This for cpu array.
8651         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
8652         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
8653         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
8654         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
8655         bit_##name with index_cpu_##name and bit_cpu_##name.
8656         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
8657         bit_##name with index_arch_##name and bit_arch_##name.
8659 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
8661         [BZ #19792]
8662         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
8663         Terminate FDE before return label.
8665 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
8667         [BZ #19790]
8668         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
8669         (rintl): Define as macro.
8670         [USE_AS_NEARBYINTL] (__rintl): Likewise.
8671         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
8672         of fesetround.  Ensure results are evaluated before end of scope.
8673         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
8674         USE_AS_NEARBYINTL and include s_rintl.c.
8675         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
8676         Disable exception traps in new environment.
8677         (libc_feholdsetround_ppc_ctx): Likewise.
8679 2016-03-08  Roland McGrath  <roland@hack.frob.com>
8681         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
8682         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
8683         (tst_audit10_aux) [__AVX512F__]: ... here.
8685 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
8687         * include/sys/auxv.h: New file.
8689 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8691         [BZ #19759]
8692         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
8694 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8696         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
8697         operand modifier.
8698         (feclearexcept): Likewise.
8700 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8702         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
8703         to reflect the entire 32-bit HWCAP.
8704         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
8705         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
8707 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8709         [BZ #19783]
8710         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
8711         $(test-via-rtld-prefix).
8712         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
8714 2016-03-08  Florian Weimer  <fweimer@redhat.com>
8716         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
8717         union wait.  Report any non-zero exit status as error.
8719 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8721         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
8722         configured with --enable-hardcoded-path-in-tests.
8724 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
8726         [BZ #19677]
8727         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8728         (__ieee754_remainderl): Put zero low parts in canonical form.
8729         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
8730         file.  Based on
8731         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
8732         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
8733         with wrapper round test-fmodrem-ldbl-128ibm.c.
8734         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
8735         file.
8736         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
8737         Likewise.
8738         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8739         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
8741 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8743         [BZ #19610]
8744         * elf/ldconfig.c (opt_link): Update comment.
8745         (options): Update help string for option -X.
8746         (search_dir): Unlink stale symbolic link only if updating symbolic
8747         links.
8748         * elf/tst-ldconfig-X.sh: New file.
8749         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
8750         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
8752 2016-03-07  Andreas Schwab  <schwab@suse.de>
8754         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
8755         needed arguments.
8757 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
8759         [BZ #15333]
8760         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
8761         to lstat64.
8763 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8765         * libio/filedoalloc.c (isatty): Remove.
8766         (local_isatty): Add comment.  Call __isatty directly.
8767         (_IO_file_doallocate): Update comment.  Assume _LIBC.
8768         * libio/wfiledoalloc.c (isatty): Remove.
8769         (_IO_wfile_doallocate): Update comment.
8771 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8773         [BZ #19269]
8774         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
8775         tst-audit4-aux.o.
8776         (tst-audit10): Depend on tst-audit10-aux.o.
8777         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
8778         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
8779         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
8780         instead of inline AVX code.
8781         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
8782         instead of inline AVX512 code.
8783         * sysdeps/x86_64/tst-audit4-aux.c: New file
8784         * sysdeps/x86_64/tst-audit10-aux.c: New file
8786         [BZ #19648]
8787         * test-skeleton.c (main): Do not set RLIMIT_DATA.
8789 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8791         [BZ #14750]
8792         [BZ #10354]
8793         [BZ #18433]
8794         * include/sched.h (__clone): Add hidden prototype.
8795         (__clone2): Likewise.
8796         * include/unistd.h (__dup): Likewise.
8797         * posix/Makefile (tests): Add tst-spawn2.
8798         * posix/tst-spawn2.c: New file.
8799         * sysdeps/posix/dup.c (__dup): Add hidden definition.
8800         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
8801         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8802         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8803         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8804         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8805         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
8806         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8807         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
8808         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8809         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8811         Likewise.
8812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8813         Likewise.
8814         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8815         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8816         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8817         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8818         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8819         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8820         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8821         * sysdeps/unix/sysv/linux/nptl-signals.h
8822         (____nptl_is_internal_signal): New function.
8823         * sysdeps/unix/sysv/linux/spawni.c: New file.
8825         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
8826         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
8827         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
8828         * posix/tst-execvp2.c (do_test): Likewise.
8829         * posix/tst-execvp3.c (do_test): Likewise.
8830         * posix/tst-execvp4.c (do_test): Likewise.
8831         * posix/tst-execvpe1.c: New file.
8832         * posix/tst-execvpe2.c: Likewise.
8833         * posix/tst-execvpe3.c: Likewise.
8834         * posix/tst-execvpe4.c: Likewise.
8835         * posix/tst-execvpe5.c: Likewise.
8836         * posix/tst-execvpe6.c: Likewise.
8838         [BZ #19534]
8839         * posix/execl.c (execl): Remove dynamic memory allocation.
8840         * posix/execle.c (execle): Likewise.
8841         * posix/execlp.c (execlp): Likewise.
8843 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8845         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
8846         Replace .text with .text.avx512.
8847         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8848         Likewise.
8850 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
8852         * sysdeps/generic/libnsl.abilist: New file.
8853         * sysdeps/generic/libutil.abilist: New file.
8855 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8857         [BZ #19762]
8858         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
8859         HAS_ARCH_FEATURE with Fast_Rep_String.
8860         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
8861         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
8862         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
8863         Likewise.
8864         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
8865         Likewise.
8866         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
8867         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
8868         Likewise.
8869         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
8870         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
8871         Likewise.
8873 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8875         [BZ #19745]
8876         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8877         with *%rax in call.
8879 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8881         [BZ #19745]
8882         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8883         with *__libc_start_main@GOTPCREL(%rip) in call.
8885 2016-03-04  Roland McGrath  <roland@hack.frob.com>
8887         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8888         inside conditional for nonempty $(CXX).
8890         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
8891         nonempty.
8893         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
8894         to test for empty $(CXX) rather than $(CXX) of "no".
8896 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8898         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
8900 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
8901             H.J. Lu  <hongjiu.lu@intel.com>
8903         [BZ #18880]
8904         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
8905         instead of Slow_BSF, and also check for Fast_Copy_Backward to
8906         enable __memcpy_ssse3_back.
8908 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8910         [BZ #19758]
8911         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8912         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
8914 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8916         [BZ #19490]
8917         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
8918         (__fentry__): Likewise.
8920 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8922         * gmon/Makefile (noprof): Add $(sysdep_noprof).
8923         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
8925 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8927         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
8928         __mcount_internal directly.
8929         (C_LABEL(__fentry__)): Likewise.
8930         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
8931         directly.
8933 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8935         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8936         (__start_context): Call __setcontext directly.
8938 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
8940         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8941         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8942         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
8943         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8944         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8945         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8946         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
8947         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8948         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8949         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
8950         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8951         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8952         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8953         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8954         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8955         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8956         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
8957         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8958         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8959         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8960         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
8961         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8962         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8963         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8964         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
8965         Remove conditional code.
8966         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8967         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
8968         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8969         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8970         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
8971         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8972         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8973         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8974         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8975         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8976         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8977         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8979 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
8981         * NEWS (2.23): Fix typo in bug 19048 text.
8983 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
8985         [BZ #14259]
8986         * Makeconfig: Rename msgcatdir to localedir.
8987         Rename inst_msgcatdir to inst_localedir.
8988         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
8989         * config.make.in: Add localedir.
8990         * elf/Makefile ($(objpfx)sotruss): Use localedir.
8991         (ldd-rewrite): Likewise.
8992         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
8993         (install-others): Use inst_localedir.
8994         (CPPFLAGS): Use localedir.
8995         * locale/Makefile (locale-CPPFLAGS): Likewise.
8996         * po/Makefile (mo-installed): Use inst_localedir.
8998         [BZ #19575]
8999         * localedata/charmaps/GB18030: Update comments regarding PAU to
9000         non-PUA mappings.
9002 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
9004         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
9005         test for header.
9006         * sysdeps/unix/sysv/linux/configure: Regenerated.
9007         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
9008         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
9009         Remove conditional code.
9010         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
9012         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9013         Define to 3.2.0.
9014         (arch_minimum_kernel): Likewise.
9015         * sysdeps/unix/sysv/linux/configure: Regenerated.
9016         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
9017         Define to 2.6.32.
9018         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
9019         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
9020         (arch_minimum_kernel): Define to 2.6.32.
9021         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
9022         * README: Document Linux 3.2 requirement.
9023         * manual/install.texi (Linux): Document Linux 3.2 headers
9024         requirement.
9025         * INSTALL: Regenerated.
9027 2016-02-24  Andreas Schwab  <schwab@suse.de>
9029         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
9030         if !NO_LONG_DOUBLE.
9032 2016-02-22  Roland McGrath  <roland@hack.frob.com>
9034         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
9035         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
9037 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
9039         [BZ #19512]
9040         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
9042 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9044         * posix/tst-dir.c: Include libc-internal.h.
9046 2016-02-20  Florian Weimer  <fweimer@redhat.com>
9048         [BZ #19056]
9049         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
9050         * manual/filesys.texi (Reading/Closing Directory): Mention
9051         deprecaion.
9052         * posix/tst-dir.c (main): Disable deprecation warning in test.
9054 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
9056         [BZ #19679]
9057         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
9058         Renamed to ...
9059         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
9060         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9061         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
9062         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9063         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9064         * sysdeps/x86_64/dl-trampoline.h
9065         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9066         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9068 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9070         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
9072 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9074         * elf/elf.h (R_386_GOT32X): New.
9075         (R_386_NUM): Update.
9076         (R_X86_64_GOTPCRELX: New.
9077         (R_X86_64_REX_GOTPCRELX): New.
9078         (R_X86_64_NUM): Update.
9080 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
9082         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
9084 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
9086         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
9087         assign attr->stackaddr to it, and adjust it down when
9088         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
9089         [_STACK_GROWS_UP]: Delete assert.
9090         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
9091         Implement stack grows up logic.
9092         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
9093         stack grows up logic.
9095 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9097         * NEWS: Update with 2.24 template.
9099 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9101         [BZ #19678]
9102         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9103         Ensure +0.0 is returned when taking the next value below the least
9104         positive value.
9106 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9108         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
9109         available.  Do not define NO_THREADS.
9110         * malloc/malloc.c: Do not check NO_THREADS.
9111         * malloc/arena.c: Likewise.
9113 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9115         * malloc/malloc.c (__libc_mallinfo): Update comment.
9116         (struct malloc_par): Remove max_total_mem member, it was always 0.
9117         (int_mallinfo): Store 0 into usmblks (no functional change).
9118         * malloc/hooks.c (struct malloc_state): Document that
9119         max_total_mem is always 0.
9120         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
9121         always 0.
9122         * manual/memory.texi (Statistics of Malloc): Likewise.
9124 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9126         * malloc/malloc.c (sysmalloc): Do not update arena_max.
9127         * malloc/arena.c (arena_max): Remove.
9128         (heap_trim, _int_new_arena): Do not update arena_max.
9130 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9132         * resolv/res_init.c (res_ninit): Update comment.
9134 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9136         [BZ #19505]
9137         * posix/spawn_int.h: Add headers and include guard.
9138         (__spawn_valid_fd): New function.
9139         * posix/spawn_faction_addopen.c
9140         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
9141         * posix/spawn_faction_addclose.c
9142         (posix_spawn_file_actions_addclose): Likewise.
9143         * posix/spawn_faction_adddup2.c
9144         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
9145         second file descriptor.
9146         * posix/spawn_valid_fd.c: New file.
9147         * posix/tst-posix_spawn-fd.c: New file.
9148         * posix/Makefile (routines): Add spawn_valid_fd.
9149         (tests): Add tst-posix_spawn-fd.
9151 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9153         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
9154         (do_test): Limit the number of arenas, so that we can use fewer
9155         outer threads.  Limit timeout to 3 seconds, in preparation for a
9156         larger TIMEOUT value.
9158 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9160         [BZ #19674]
9161         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
9162         sign in overflowing and underflowing results when overflow or
9163         underflow is detected early.  Include sign in result before rather
9164         than after scaling.
9166         [BZ #19603]
9167         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9168         (__ieee754_remainderl): Adjust sign of integer version of low part
9169         when taking absolute value of high part.
9170         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9171         * math/libm-test.inc (remainder_test_data): Add another test.
9172         (remquo_test_data): Likewise.
9174 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
9176         [BZ #19602]
9177         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
9178         equal high parts and both low parts zero specially.
9179         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
9180         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9181         Add test-fmodl-ldbl-128ibm.
9183         [BZ #19595]
9184         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
9185         common logic for all cases of shifting subnormal results.  Do not
9186         insert sign bit in shifted mantissa.  Always pass -1023 as biased
9187         exponent to ldbl_insert_mantissa in subnormal case.
9189         [BZ #19594]
9190         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
9191         on high and low parts then adjust result and use
9192         ldbl_canonicalize_int if needed.
9194         [BZ #19593]
9195         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
9196         on high part and __floor or __ceil on low part then use
9197         ldbl_canonicalize_int if needed.
9199         [BZ #19592]
9200         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
9201         high and low parts then use ldbl_canonicalize_int if needed.
9203         [BZ #17899]
9204         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
9205         New function.
9206         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
9207         on high and low parts then use ldbl_canonicalize_int if needed.
9209 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9211         * configure: Regenerated.
9213         * po/libc.pot: Regenerated.
9215         * po/be.po: Updated translation.
9216         * po/bg.po: Likewise.
9217         * po/ca.po: Likewise.
9218         * po/cs.po: Likewise.
9219         * po/da.po: Likewise.
9220         * po/el.po: Likewise.
9221         * po/eo.po: Likewise.
9222         * po/es.po: Likewise.
9223         * po/fi.po: Likewise.
9224         * po/fr.po: Likewise.
9225         * po/gl.po: Likewise.
9226         * po/hr.po: Likewise.
9227         * po/hu.po: Likewise.
9228         * po/ia.po: Likewise.
9229         * po/id.po: Likewise.
9230         * po/it.po: Likewise.
9231         * po/ja.po: Likewise.
9232         * po/lt.po: Likewise.
9233         * po/nb.po: Likewise.
9234         * po/nl.po: Likewise.
9235         * po/pt_BR.po: Likewise.
9236         * po/rw.po: Likewise.
9237         * po/sk.po: Likewise.
9238         * po/sl.po: Likewise.
9239         * po/sv.po: Likewise.
9240         * po/tr.po: Likewise.
9241         * po/zh_CN.po: Likewise.
9242         * po/zh_TW.po: Likewise.
9244         * version.h (RELEAES): Set to "development".
9245         (VERSION): Set to 2.23.90.
9247         * version.h (RELEASE): Set to "stable".
9248         (VERSION): Set to 2.23.
9249         * include/feature.h (__GLIBC_MINOR__): Set to 23.
9251         * NEWS: Updated fixed bugs.
9253 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
9254             Wilco Dijkstra  <wdijkstr@arm.com>
9256         [BZ #19462]
9257         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
9258         (_STRING_INLINE_unaligned): This.
9259         * include/string.h: Include <string_private.h>.
9260         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
9261         _STRING_INLINE_unaligned.
9262         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
9263         (_STRING_INLINE_unaligned): New.
9264         * sysdeps/aarch64/string_private.h: New file.
9265         * sysdeps/generic/string_private.h: Likewise.
9266         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
9267         * sysdeps/s390/string_private.h: Likewise.
9268         * sysdeps/x86/string_private.h: Likewise.
9269         * sysdeps/m68k/m680x0/m68020/bits/string.h
9270         (_STRING_ARCH_unaligned): Renamed to ...
9271         (_STRING_INLINE_unaligned): This.
9272         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
9273         to ...
9274         (_STRING_INLINE_unaligned): This.
9275         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
9276         to ...
9277         (_STRING_INLINE_unaligned): This.
9278         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
9279         to ...
9280         (_STRING_INLINE_unaligned): This.
9282 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9283             H.J. Lu  <hongjiu.lu@intel.com>
9285         [BZ #19590]
9286         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
9287         relocation.
9289 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
9291         [BZ #18665]
9292         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
9293         *herrno_p.
9294         (gaih_getanswer): Document functional behviour. Return tryagain
9295         if any result is tryagain.
9296         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
9297         when freed.
9298         * resolv/res_send.c: Add copyright text.
9299         (__libc_res_nsend): Document that MAXPACKET is expected.
9300         (send_vc): Document. Remove buffer reuse.
9301         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
9302         size of the buffer. Add Dprint for truncated UDP buffer.
9304 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
9306         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
9307         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
9308         * INSTALL: Regenerate.
9310 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
9311             Jonathan Wakely  <jwakely@redhat.com>
9312             Carlos O'Donell  <carlos@redhat.com>
9314         [BZ 19439]
9315         * math/Makefile (tests): Add test-math-isinff.
9316         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
9317         * math/bits/mathcalls.h [__USE_MISC]: Use
9318         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
9319         functions not in C++11 and which don't conflict e.g. isinff,
9320         isinfl etc.
9321         * math/test-math-isinff.cc: New file.
9323 2016-02-12  Florian Weimer  <fweimer@redhat.com>
9325         * misc/bug18240.c (do_test): Set RLIMIT_AS.
9327 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9329         [BZ #19529]
9330         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
9332 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9334         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9336 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
9338         [BZ #19550]
9339         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
9340         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
9341         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
9342         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
9343         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
9344         New syscall entry.
9345         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
9346         New syscall entry.
9347         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
9348         syscall entry.
9350 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
9352         [BZ #18240]
9353         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
9354         unsigned int wraparound.
9356 2016-01-27  Florian Weimer  <fweimer@redhat.com>
9358         [BZ #18240]
9359         * misc/bug18240.c: New test.
9360         * misc/Makefile (tests): Add it.
9362 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
9363             Joseph Myers  <joseph@codesourcery.com>
9365         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
9366         load in branch delay slot when less than a word of input left.
9368 2016-01-27  Andreas Schwab  <schwab@suse.de>
9370         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
9371         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
9372         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
9373         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
9375 2016-01-26  David S. Miller  <davem@davemloft.net>
9377         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
9379 2016-01-25  David S. Miller  <davem@davemloft.net>
9381         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
9382         __sqrtl_finite.
9383         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
9384         instead using versioned_symbol.
9385         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
9386         of entries.
9388         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
9389         __sqrtl_finite to GLIBC_2.23
9391 2016-01-25  Ricchard Henderson  <rth@redhat.com>
9393         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9395 2016-01-25  Andreas Schwab  <schwab@suse.de>
9397         [BZ #17514]
9398         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
9399         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
9400         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
9401         * nptl/tst-mutex-errorcheck.c: New file.
9403 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9405         [BZ #18560]
9406         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
9407         (IPCOP_semop): Likewise.
9408         (IPCOP_semget): Likewise.
9409         (IPCOP_semctl): Likewise.
9410         (IPCOP_msgsnd): Likewise.
9411         (IPCOP_msgrcv): Likewise.
9412         (IPCOP_msgget): Likewise.
9413         (IPCOP_msgctl): Likewise.
9414         (IPCOP_shmat): Likewise.
9415         (IPCOP_shmdt): Likewise.
9416         (IPCOP_shmget): Likewise.
9417         (IPCOP_shmctl): Likewise.
9419 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9421         * string/tst-endian.c: Include <libc-internal.h>.
9422         (do_test): Ignore tautological-compare warnings around
9423         "htobeXX (beXXtoh (i)) != i" and
9424         "htoleXX (leXXtoh (i)) != i" if-statements.
9426 2016-01-24  David S. Miller  <davem@davemloft.net>
9428         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
9429         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
9430         alias.
9431         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
9432         __sqrtl_finite.
9434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9436 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
9438         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
9439         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
9440         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9442 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9444         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
9445         (thread_func): Use new function to simplify barrier check.
9446         (do_test): Use new function to simplify checking barrier exit
9447         code, and actually join the child thread.
9449 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9451         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
9452         semicolon.
9453         (__libc_tend): Likewise.
9454         (__libc_tabort): Likewise.
9456 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
9458         * sysdeps/nios2/libm-test-ulps: Update.
9459         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
9460         (__gtsf2): Likewise.
9461         (__unorddf2): Likewise.
9462         (__unordsf2): Likewise.
9463         (__ledf2): Likewise.
9465 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
9467         * nis/nis_table.c (__follow_path): Disable diagnostic for
9468         uninitialized variable that is a false positive for gcc 4.7.
9469         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
9471 2016-01-20  Roland McGrath  <roland@hack.frob.com>
9473         * sysdeps/nacl/lowlevellock-futex.h
9474         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
9475         Always evaluate PRIVATE argument.
9477 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
9479         [BZ #19490]
9480         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
9481         (pthread_cond_broadcast): Use ENTRY/END
9482         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
9483         (pthread_cond_signal): Likewise.
9484         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
9485         Likewise.
9486         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
9487         Likewise.
9488         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
9489         Likewise.
9491 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
9493         * sysdeps/ieee754/dbl-64/s_finite.c
9494         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
9495         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
9496         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
9497         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
9498         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
9500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9501         (__gtsf2): Add as optional for libc.so.
9502         (__unordsf2): Likewise.
9503         (__signbit): Remove for libc.so.
9504         (__signbitl): Likewise.
9506 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9508         * iconvdata/bug-iconv11.c (test_ibm93x):
9509         Use %zu printf format specifier for size_t argument.
9511 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
9513         * math/gen-libm-test.pl (parse_ulps): Do not reduce
9514         already-recorded ulps.
9515         * sysdeps/arm/libm-test-ulps: Regenerated.
9516         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9517         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9518         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9520 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9521             Paul Pluzhnikov  <ppluzhnikov@google.com>
9523         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
9524         assembler not supporting AVX-512.
9526 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9528         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9530 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
9532         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9533         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9535         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9537         * sysdeps/arm/libm-test-ulps: Regenerated.
9539 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9541         [BZ #19451]
9542         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
9544 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9546         [BZ #19486]
9547         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
9548         * sysdeps/generic/fix-fp-int-convert-overflow.h
9549         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
9550         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
9551         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
9552         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
9553         Likewise.
9554         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
9555         Avoid conversions to long int where inexact exceptions
9556         could be raised.
9557         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
9558         Likewise.
9559         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
9560         Avoid conversions to long long int where inexact exceptions
9561         could be raised.
9562         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
9563         Likewise.
9565 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
9567         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
9568         * configure: Regenerated.
9570 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9572         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
9574 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
9576         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
9577         outside of comment.
9579 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9581         * nptl/tst-barrier1.c: Add description on first line.
9582         * nptl/tst-barrier2.c: Likewise.
9583         * nptl/tst-barrier3.c: Likewise.
9584         * nptl/tst-barrier4.c: Likewise.
9585         * nptl/tst-barrier5.c: Likewise.
9587 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9589         [BZ #18868]
9590         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
9592 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9594         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
9595         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9596         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
9597         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
9598         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
9599         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
9600         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9601         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9602         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9603         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9604         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9606 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9608         [BZ #13065]
9609         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
9610         new implementation.
9611         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
9612         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
9613         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
9614         (BARRIER_IN_THRESHOLD): New macro.
9615         * nptl/pthread_barrierattr_setpshared.c
9616         (pthread_barrierattr_setpshared): Clean up.
9617         * nptl/tst-barrier4.c: Correct comment.
9618         * nptl/tst-barrier5.c: New file.
9619         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
9620         (gen-as-const-headers): Remove lowlevelbarrier.sym.
9621         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
9622         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
9623         * nptl/lowlevelbarrier.sym: Remove.
9624         * nptl/DESIGN-barrier.txt: Remove.
9625         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
9626         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
9627         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
9628         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
9629         error.
9630         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
9631         implementation.
9633 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9635         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
9636         (do_child): Mask SIGRTMIN while thr is running.
9638 2016-01-15  Martin Sebor  <msebor@redhat.com>
9640         [BZ #19432]
9641         * iconvdata/Makefile: Add bug-iconv11.
9642         * iconvdata/bug-iconv11.c: New test.
9643         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
9644         * iconvdata/ibm933.c: Same.
9645         * iconvdata/ibm935.c: Same.
9646         * iconvdata/ibm937.c: Same.
9647         * iconvdata/ibm939.c: Same.
9649 2016-01-15  Martin Sebor  <msebor@redhat.com>
9651         [BZ #19443]
9652         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
9653         [DEBUG] (_ufc_set_bits): Declare used.
9654         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
9655         [DEBUG] (print_all): Declare used.
9656         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
9657         operands of the ternary ?: expression to target type.
9658         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
9659         calling the undeclared abort.
9660         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
9662 2016-01-15  Martin Sebor  <msebor@redhat.com>
9664         [BZ #18755]
9665         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
9666         warnings.
9667         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
9668         (__gai_create_helper_thread): Same.
9669         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
9670         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
9671         to suppress -Wmaybe-uninitialized warnings.
9673 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
9675         [BZ #19465]
9676         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
9677         inside if.
9678         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9679         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9680         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9682 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
9684         [BZ #19466]
9685         * time/tst-mktime2.c (time_t_max): Removed.
9686         (time_t_min): Likewise.
9687         (TYPE_SIGNED): New.
9688         (TYPE_MINIMUM): Likewise.
9689         (TYPE_MAXIMUM): Likewise.
9690         (TIME_T_MIN): Likewise.
9691         (TIME_T_MAX): Likewise.
9692         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
9693         and TIME_T_MIN.
9694         (do_test): Likewise.
9696 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
9698         [BZ #19467]
9699         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9700         index_Fast_Unaligned_Load flag for Excavator family CPUs.
9702 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
9704         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
9706 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
9708         * benchtests/Makefile (PYTHON): Define.
9709         (bench-func): Use $(PYTHON) to run python scripts.
9710         ($(objpfx)bench-%.c): Likewise.
9712 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
9714         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
9715         leading slash when `file_name' is "/".
9717 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
9719         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
9720         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
9721         Likewise.
9722         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
9723         Likewise.
9724         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
9725         Likewise.
9726         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
9727         enum constant and macro.
9728         (PTRACE_SETSIGMASK): Likewise.
9729         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9730         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9731         (PTRACE_GETSIGMASK): Likewise.
9732         (PTRACE_SETSIGMASK): Likewise.
9733         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9734         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
9735         Likewise.
9736         (PTRACE_SETSIGMASK): Likewise.
9737         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9738         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9739         (PTRACE_GETSIGMASK): Likewise.
9740         (PTRACE_SETSIGMASK): Likewise.
9741         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9742         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
9743         Likewise.
9744         (PTRACE_SETSIGMASK): Likewise.
9745         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9746         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
9747         Likewise.
9748         (PTRACE_SETSIGMASK): Likewise.
9749         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9750         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
9751         Likewise.
9752         (PTRACE_SETSIGMASK): Likewise.
9753         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9755 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
9756             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9758         [BZ #19439]
9759         * math/bits/mathcalls.h
9760         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
9761         prototype.
9762         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
9764 2016-01-11  Andreas Schwab  <schwab@suse.de>
9766         [BZ #19253]
9767         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
9768         cache when TZDEFRULES was used.
9769         * time/tst-tzname.c: New file.
9770         * time/Makefile (test): Add tst-tzname.
9771         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
9772         * timezone/Makefile (test-zones): Add $(posixrules-file).
9773         ($(testdata)/$(posixrules-file)): New rule.
9775 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9777         Fix doc quoting problems with Texinfo 5
9778         Without this change, in the info file output, Texinfo 5 quotes code
9779         in text with undirected single quotes 'like this' and generates
9780         code examples that with many PDF readers cannot be cut out of PDFs
9781         and pasted into code.
9782         * manual/libc.texinfo: Configure the libc manual like the GNU
9783         Emacs manual, by using @documentencoding and setting
9784         txicodequoteundirected and txicodequotebacktick.  This way,
9785         Texinfo 5 quotes code in text with directed single quotes ‘like
9786         this’ and produces examples that can be cut out of PDFs.  This
9787         change causes Texinfo 5 to generate info files that contain UTF-8
9788         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
9789         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
9791 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9793         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
9794         __libc_tabort, __libc_tend): New wrappers that enforce compiler
9795         barriers to their respective compiler built-ins.
9796         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
9797         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
9798         * sysdeps/powerpc/sysdep.h: Likewise.
9799         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
9800         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
9801         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
9803 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
9805         * scripts/config.guess: Revert previous shebang change.
9806         * scripts/config.sub: Likewise.
9807         * scripts/mkinstalldirs: Likewise.
9809 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9811         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
9812         PPC_FEATURE2_HAS_IEEE128.
9813         * sysdeps/powerpc/dl-procinfo.c:
9814         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
9816 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
9818         [BZ #19415]
9819         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
9820         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
9821         (_dl_lookup_address): Rewrite using function resolver trampoline.
9822         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
9823         two bits in address.
9825 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9827         * longlong.h: Change !__SHMEDIA__ to
9828         (!defined (__SHMEDIA__) || !__SHMEDIA__).
9829         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
9831 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
9832             Joseph Myers  <joseph@codesourcery.com>
9833             Mark Shinwell  <shinwell@codesourcery.com>
9834             Andrew Stubbs  <ams@codesourcery.com>
9835             Rich Felker <dalias@libc.org>
9837         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
9839 2016-01-07  Richard Henderson  <rth@redhat.com>
9841         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
9843 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9845         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
9846         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
9847         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9848         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9849         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
9851 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9852             Joseph Myers  <joseph@codesourcery.com>
9854         * timezone/private.h: Update from tzcode 2015g.
9855         * timezone/tzfile.h: Likewise.
9856         * timezone/tzselect.ksh: Likewise.
9857         * timezone/zdump.c: Likewise.
9858         * timezone/zic.c: Likewise.
9859         * timezone/ialloc.c: Remove file.
9860         * timezone/scheck.c: Likewise.
9861         * timezone/Makefile (extra-objs): Remove variable.
9862         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
9863         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
9864         -Wno-maybe-uninitialized.
9865         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
9866         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
9867         (CFLAGS-ialloc.c): Remove variable.
9868         (CFLAGS-scheck.c): Likewise.
9869         * timezone/README: Update list of files from tzcode.
9871 2016-01-07  Khem Raj  <raj.khem@gmail.com>
9873         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
9874         instead of __fxprintf when _LIBC is undefined.
9876 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
9878         * catgets/test-gencat.sh: Remove space after shebang.
9879         * conform/GlibcConform.pm: Likewise.
9880         * conform/check-header-lists.sh: Likewise.
9881         * conform/conformtest.pl: Likewise.
9882         * conform/linknamespace.pl: Likewise.
9883         * conform/list-header-symbols.pl: Likewise.
9884         * debug/catchsegv.sh: Likewise.
9885         * elf/genrtldtbl.awk: Likewise.
9886         * elf/tst-pathopt.sh: Likewise.
9887         * elf/tst-rtld-load-self.sh: Likewise.
9888         * grp/tst_fgetgrent.sh: Likewise.
9889         * iconvdata/gen-8bit-gap-1.sh: Likewise.
9890         * iconvdata/gen-8bit-gap.sh: Likewise.
9891         * iconvdata/gen-8bit.sh: Likewise.
9892         * iconvdata/run-iconv-test.sh: Likewise.
9893         * intl/tst-gettext.sh: Likewise.
9894         * intl/tst-gettext2.sh: Likewise.
9895         * intl/tst-gettext4.sh: Likewise.
9896         * intl/tst-gettext6.sh: Likewise.
9897         * intl/tst-translit.sh: Likewise.
9898         * io/ftwtest-sh: Likewise.
9899         * libio/test-freopen.sh: Likewise.
9900         * locale/gen-translit.pl: Likewise.
9901         * malloc/tst-mtrace.sh: Likewise.
9902         * manual/check-safety.sh: Likewise.
9903         * manual/libc-texinfo.sh: Likewise.
9904         * manual/tsort.awk: Likewise.
9905         * manual/xtract-typefun.awk: Likewise.
9906         * nptl/tst-cancel-wrappers.sh: Likewise.
9907         * nptl/tst-tls6.sh: Likewise.
9908         * posix/globtest.sh: Likewise.
9909         * posix/tst-getconf.sh: Likewise.
9910         * posix/wordexp-tst.sh: Likewise.
9911         * scripts/check-c++-types.sh: Likewise.
9912         * scripts/check-local-headers.sh: Likewise.
9913         * scripts/config.guess: Likewise.
9914         * scripts/config.sub: Likewise.
9915         * scripts/cpp: Likewise.
9916         * scripts/cross-test-ssh.sh: Likewise.
9917         * scripts/documented.sh: Likewise.
9918         * scripts/evaluate-test.sh: Likewise.
9919         * scripts/gen-libc-abis: Likewise.
9920         * scripts/gen-sorted.awk: Likewise.
9921         * scripts/list-fixed-bugs.py: Likewise.
9922         * scripts/merge-test-results.sh: Likewise.
9923         * scripts/mkinstalldirs: Likewise.
9924         * scripts/rellns-sh: Likewise.
9925         * scripts/test-installation.pl: Likewise.
9926         * scripts/update-copyrights: Likewise.
9927         * stdio-common/tst-printf.sh: Likewise.
9928         * stdio-common/tst-unbputc.sh: Likewise.
9929         * stdlib/tst-fmtmsg.sh: Likewise.
9930         * stdlib/tst-setcontext3.sh: Likewise.
9931         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
9932         * sysdeps/unix/make-syscalls.sh: Likewise.
9934 2016-01-06  John David Anglin  <dave.anglin@bell.net>
9936         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
9937         asm stw with atomic_exchange_rel.  Add explanatory comment.
9938         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
9939         Likewise.
9941 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9943         [BZ #19122]
9944         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
9945         * sysdeps/generic/dl-unistd.h: New file.
9946         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
9948 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9950          [BZ #19122]
9951          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
9952          * sysdeps/generic/dl-mman.h: New file.
9953          * sysdeps/mach/hurd/dl-mman.h: Likewise.
9955 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
9957         * manual/texinfo.tex: Update to version 2016-01-04.21 with
9958         trailing whitespace removed.
9959         * scripts/config.guess: Update to version 2016-01-01.
9960         * scripts/config.sub: Update to version 2016-01-01.
9961         * scripts/move-if-change: Update from gnulib.
9963 2016-01-04  Anton Blanchard  <anton@samba.org>
9965         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
9966         for array indices.
9967         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
9969 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
9971         * NEWS: Update copyright dates.
9972         * catgets/gencat.c (print_version): Likewise.
9973         * csu/version.c (banner): Likewise.
9974         * debug/catchsegv.sh: Likewise.
9975         * debug/pcprofiledump.c (print_version): Likewise.
9976         * debug/xtrace.sh (do_version): Likewise.
9977         * elf/ldconfig.c (print_version): Likewise.
9978         * elf/ldd.bash.in: Likewise.
9979         * elf/pldd.c (print_version): Likewise.
9980         * elf/sotruss.sh: Likewise.
9981         * elf/sprof.c (print_version): Likewise.
9982         * iconv/iconv_prog.c (print_version): Likewise.
9983         * iconv/iconvconfig.c (print_version): Likewise.
9984         * locale/programs/locale.c (print_version): Likewise.
9985         * locale/programs/localedef.c (print_version): Likewise.
9986         * login/programs/pt_chown.c (print_version): Likewise.
9987         * malloc/memusage.sh (do_version): Likewise.
9988         * malloc/memusagestat.c (print_version): Likewise.
9989         * malloc/mtrace.pl: Likewise.
9990         * manual/libc.texinfo: Likewise.
9991         * nptl/version.c (banner): Likewise.
9992         * nscd/nscd.c (print_version): Likewise.
9993         * nss/getent.c (print_version): Likewise.
9994         * nss/makedb.c (print_version): Likewise.
9995         * posix/getconf.c (main): Likewise.
9996         * scripts/test-installation.pl: Likewise.
9997         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9999         * All files with FSF copyright notices: Update copyright dates
10000         using scripts/update-copyrights.
10001         * intl/plural.c: Regenerated.
10002         * locale/programs/charmap-kw.h: Likewise.
10003         * locale/programs/locfile-kw.h: Likewise.
10005 2016-01-02  Helge Deller  <deller@gmx.de>
10007         [BZ #19285]
10008         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
10009         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
10010         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
10011         (MADV_xxK_PAGES): Remove.
10013 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
10015         [BZ #15421]
10016         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
10017         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
10018         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
10019         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
10021 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
10023         [BZ #19408]
10024         * sysdeps/unix/sysv/linux/personality.c: New file.
10025         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
10026         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
10027         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
10028         (sysdep_routines): Add personality.
10029         (tests): Add tst-personality.
10030         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
10031         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
10032         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
10033         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
10034         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
10035         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
10036         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
10037         Likewise.
10038         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
10039         Likewise.
10040         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
10041         Likewise.
10042         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
10043         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
10044         Likewise.
10046 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
10048         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
10049         (PATH_ARM_SYSTYPE): Remove.
10050         (PATH_CPUINFO): Likewise.
10051         (IO_BASE_FOOTBRIDGE): Likewise.
10052         (IO_SHIFT_FOOTBRIDGE): Likewise.
10053         (struct platform): Likewise.
10054         (init_iosys): Remove compatibility code for 2.4 kernels.
10055         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
10057 2015-12-29  Florian Weimer  <fweimer@redhat.com>
10059         * malloc/tst-malloc-thread-fail.c: New file.
10060         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
10061         (tst-malloc-thread-fail): Link against libpthread.
10063 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
10065         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
10066         (get_parser): New function.
10067         (main): New function.
10069 2015-12-29  Rob Wu  <rob@robwu.nl>
10071         [BZ #19369]
10072         * resolv/res_init.c (__res_vinit): Reset defdname before use.
10074 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
10076         [BZ #19270]
10077         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10079 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
10081         [BZ #15421]
10082         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
10084 2015-12-23  Torvald Riegel  <triegel@redhat.com>
10086         [BZ #13690]
10087         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
10088         after releasing it.
10089         (__lll_robust_unlock): Likewise.
10090         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10091         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
10092         (lll_robust_unlock): Likewise.
10093         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
10094         Prevent warnings in callers.
10096 2015-12-23  Florian Weimer  <fweimer@redhat.com>
10098         * malloc/arena.c (list_lock): Update comment.
10100 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10102         * sysdeps/powerpc/hwcapinfo.c: Export symbol
10103         __parse_hwcap_and_convert_at_platform to libc.a.
10105 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10107         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
10108         platform and feature support for POWER9.
10109         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10110         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
10111         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
10112         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
10113         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
10114         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
10115         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
10116         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
10118 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10120         Harmonize generic stdio-lock support with nptl
10122         This fixes build when _IO_funlockfile is a macro, fixes build where
10123         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
10124         stack unwind.
10126         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
10127         _IO_release_lock ): Use cleanup attribute on new
10128         _IO_acquire_lock_file variable instead of assuming that
10129         _IO_release_lock will be called.
10130         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
10131         _IO_acquire_lock_needs_exceptions_enabled.
10132         (_IO_acquire_lock_clear_flags2): New macro.
10134 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10136         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10138 2015-12-21  Florian Weimer  <fweimer@redhat.com>
10140         [BZ #19182]
10141         * malloc/arena.c (list_lock): Document lock ordering requirements.
10142         (free_list_lock): New lock.
10143         (ptmalloc_lock_all): Comment on free_list_lock.
10144         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
10145         (detach_arena): Update comment.  free_list_lock is now needed.
10146         (_int_new_arena): Use free_list_lock around detach_arena call.
10147         Acquire arena lock after list_lock.  Add comment, including FIXME
10148         about incorrect synchronization.
10149         (get_free_list): Switch to free_list_lock.
10150         (reused_arena): Acquire free_list_lock around detach_arena call
10151         and attached threads counter update.  Add two FIXMEs about
10152         incorrect synchronization.
10153         (arena_thread_freeres): Switch to free_list_lock.
10154         * malloc/malloc.c (struct malloc_state): Update comments to
10155         mention free_list_lock.
10157 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10159         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
10160         Remove functions.
10161         (sloww, sloww1): Accept argument to offset quadrant.
10162         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
10163         quadrant.
10164         (__sin, __cos): Consolidate common code into new functions.
10165         (reduce_sincos_1, do_sincos_1): New functions.
10166         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10168         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
10169         code to new functions.
10170         (reduce_sincos_2, do_sincos_2): New functions.
10171         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10173         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
10174         common code for sincos.
10175         (__cos) [!IN_SINCOS]: Likewise.
10176         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
10177         New function.
10178         (__sincos): Use it.
10180 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
10182         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
10183         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
10184         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10186 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10188         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
10189         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
10190         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10191         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
10192         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10193         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
10194         index_Prefer_No_VZEROUPPER): New feature.
10195         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
10196         Prefer_No_VZEROUPPER for Knights Landing.
10198 015-12-18  Torvald Riegel  <triegel@redhat.com>
10200         * math/atest-exp2.c (mp_exp_m1): Remove.
10202 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10204         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
10205         syscalls.
10206         (__SYSCALL0): New macro.
10207         (__SYSCALL1): Likewise.
10208         (__SYSCALL2): Likewise.
10209         (__SYSCALL3): Likewise.
10210         (__SYSCALL4): Likewise.
10211         (__SYSCALL5): Likewise.
10212         (__SYSCALL6): Likewise.
10213         (__SYSCALL_CONCAT_X): Likewise.
10214         (__SYSCALL_CONCAT): Likewise.
10215         (__SYSCALL_DIST): Likewise.
10216         (__SYSCALL_CALL): Likewise.
10218 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
10220         [BZ #19363]
10221         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
10223 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10225         [BZ #19375]
10226         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
10227         negative subnormals.
10229 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
10231         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10232         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
10233         (INTERNAL_SYSCALL_NCS): Use it.
10234         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10236 2015-12-16  Florian Weimer  <fweimer@redhat.com>
10238         [BZ #19243]
10239         * malloc/arena.c (get_free_list): Remove assert and adjust
10240         reference count handling.  Add comment about reused_arena
10241         interaction.
10242         (reused_arena): Add comments abount get_free_list interaction.
10243         * malloc/tst-malloc-thread-exit.c: New file.
10244         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
10245         (tst-malloc-thread-exit): Link against libpthread.
10247 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10249         [BZ #19367]
10250         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
10251         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
10252         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
10253         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
10254         (index_Prefer_MAP_32BIT_EXEC): Likewise.
10256 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10258         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
10259         Silvermont optimizations for Knights Landing.
10261 2015-12-15  Andreas Schwab  <schwab@suse.de>
10263         [BZ #17197]
10264         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
10265         immediately after emitting SI.
10266         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
10267         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
10268         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
10269         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
10270         * iconvdata/bug-iconv10.c: New file.
10271         * iconvdata/Makefile (tests): Add bug-iconv10.
10272         ($(objpfx)bug-iconv10.out): New rule.
10274 2015-12-15  Florian Weimer  <fweimer@redhat.com>
10276         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
10277         aliasing violation.
10279 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
10281         [BZ #18472]
10282         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
10283         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
10284         conditionals for them.
10285         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
10286         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
10287         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
10288         sys/kdaemon.h.
10289         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
10290         compat-only syscall, obsoleted in glibc 2.23.
10291         (create_module): Likewise.
10292         (get_kernel_syms): Likewise.
10293         (query_module): Likewise.
10294         (uselib): Likewise.
10295         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
10297 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
10299         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
10300         <linux/version.h>.
10301         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
10302         conditional code.
10303         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
10304         and ioshift_name initialization.
10306 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10308         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10309         Fix indentation.
10311 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10313         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
10315 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10317         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
10319 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
10320             Jakub Wilk  <jwilk@debian.org>
10322         [BZ #19347]
10323         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
10324         to change the group of the device to the tty group.
10326 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
10328         Split large string section; add truncation advice
10329         * manual/examples/strncat.c: Remove.
10330         This example was misleading, as the code would have undefined
10331         behavior if "hello" was longer than SIZE.  Anyway, the manual
10332         shouldn't encourage strncpy+strncat for this sort of thing.
10333         * manual/string.texi (Copying Strings and Arrays): Split into
10334         three sections Copying Strings and Arrays, Concatenating Strings,
10335         and Truncating Strings, as this section was way too long.  All
10336         cross-referenced changed.  Add advice about string-truncation
10337         functions.  Remove misleading strncat example.
10339 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
10341         * manual/nss.texi (NSS Modules Interface): Document
10342         NSS_STATUS_NOTFOUND and SUCCESS.
10344 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10346         [BZ 18568]
10347         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
10348         201505L, for Unicode 8.
10350 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
10352         * locale/C-translit.h: Regenerate.
10354 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10356         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
10357         and U+0153.
10359 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
10361         [BZ #19351]
10362         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
10363         expanding log(1+z), compare z rather than its square with epsilon
10364         to determine when to avoid evaluating the expansion.
10366         [BZ #19350]
10367         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10368         Increase overflow threshold.
10370         [BZ #19349]
10371         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
10372         when small.
10374         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10375         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10376         New macro.
10377         [__LINUX_KERNEL_VERSION >= 0x040300]
10378         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10379         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10380         Likewise.
10381         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10382         Likewise.
10383         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10384         Likewise.
10385         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10386         Likewise.
10387         [__LINUX_KERNEL_VERSION >= 0x040300]
10388         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10389         [__LINUX_KERNEL_VERSION >= 0x040300]
10390         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10391         [__LINUX_KERNEL_VERSION >= 0x040300]
10392         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10393         [__LINUX_KERNEL_VERSION >= 0x040300]
10394         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10395         [__LINUX_KERNEL_VERSION >= 0x040300]
10396         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10397         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10398         Likewise.
10399         [__LINUX_KERNEL_VERSION >= 0x040300]
10400         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10401         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10402         Likewise.
10403         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10404         Likewise.
10405         [__LINUX_KERNEL_VERSION >= 0x040300]
10406         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10407         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10408         Likewise.
10409         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10410         Likewise.
10411         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10412         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
10413         Likewise.
10414         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
10415         Likewise.
10416         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10417         Likewise.
10418         [__LINUX_KERNEL_VERSION >= 0x040300]
10419         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10420         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10421         Likewise.
10422         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10423         Likewise.
10424         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10425         Likewise.
10426         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10427         Likewise.
10428         [__LINUX_KERNEL_VERSION >= 0x040300]
10429         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10430         [__LINUX_KERNEL_VERSION >= 0x040300]
10431         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10432         [__LINUX_KERNEL_VERSION >= 0x040300]
10433         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10434         [__LINUX_KERNEL_VERSION >= 0x040300]
10435         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10436         [__LINUX_KERNEL_VERSION >= 0x040300]
10437         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10438         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10439         Likewise.
10440         [__LINUX_KERNEL_VERSION >= 0x040300]
10441         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10442         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10443         Likewise.
10444         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10445         Likewise.
10446         [__LINUX_KERNEL_VERSION >= 0x040300]
10447         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10448         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10449         Likewise.
10450         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10451         Likewise.
10452         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10453         (__ASSUME_SOCKET_SYSCALL): Likewise.
10454         (__ASSUME_BIND_SYSCALL): Likewise.
10455         (__ASSUME_CONNECT_SYSCALL): Likewise.
10456         (__ASSUME_LISTEN_SYSCALL): Likewise.
10457         (__ASSUME_ACCEPT_SYSCALL): Likewise.
10458         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10459         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10460         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10461         (__ASSUME_SEND_SYSCALL): Likewise.
10462         (__ASSUME_SENDTO_SYSCALL): Likewise.
10463         (__ASSUME_RECV_SYSCALL): Likewise.
10464         (__ASSUME_RECVFROM_SYSCALL): Likewise.
10465         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
10466         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10467         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10468         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10469         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10470         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10471         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
10472         Likewise.
10473         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
10474         Likewise.
10475         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
10476         Likewise.
10477         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
10478         Likewise.
10479         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
10480         Likewise.
10481         [__LINUX_KERNEL_VERSION >= 0x020625]
10482         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10483         [__LINUX_KERNEL_VERSION >= 0x020625]
10484         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10485         [__LINUX_KERNEL_VERSION >= 0x020625]
10486         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10487         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
10488         Likewise.
10489         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
10490         Likewise.
10491         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
10492         Likewise.
10493         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
10494         Likewise.
10495         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
10496         Likewise.
10497         [__LINUX_KERNEL_VERSION >= 0x020625]
10498         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10499         [__LINUX_KERNEL_VERSION >= 0x020625]
10500         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10501         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
10502         Likewise.
10503         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
10504         Likewise.
10506 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10508         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
10509         record the current if the current ABI and CPU support the FP64
10510         extension.
10511         (has-modd-spreg): Define to record the current if the current ABI and
10512         CPU support 32-bit floating point values in odd FPU registers.
10513         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10514         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
10515         $(has-modd-spreg) equals yes.
10516         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
10517         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
10518         $(has-modd-spreg) equal yes.
10520 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10522         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
10523         basename.
10525 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
10527         * benchtests/Makefile (bench-math): Move ffs and ffsll...
10528         (bench-string): ... here.
10529         (bench): Add bench-string.
10530         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
10531         to *-benchset to reflect what they are.
10532         (benchset): Adjust.
10534         * benchtests/sincos-inputs: Add inputs from sin-inputs and
10535         cos-inputs.
10537 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
10539         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
10540         __attribute__ ((__simd__)) for vector math function declarations.
10542 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10544         Fix typo in strncat, wcsncat manual entries
10545         * manual/string.texi (Copying and Concatenation): Fix typos in
10546         sample implementations of strncat and wcsncat, by having them use
10547         the old value of the destination length, not the new one.
10549 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
10551         [BZ #16961]
10552         [BZ #16962]
10553         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
10554         string on the stack for strtod.
10555         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
10556         a string on the stack for strtof.
10557         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
10558         constructing a string on the stack for strtold.
10559         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
10560         __strtold_nan to GLIBC_PRIVATE.
10561         * math/test-nan-overflow.c: New file.
10562         * math/test-nan-payload.c: Likewise.
10563         * math/Makefile (tests): Add test-nan-overflow and
10564         test-nan-payload.
10566 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10568         Consistency about byte vs character in string.texi
10569         * manual/string.texi (String and Array Utilities):
10570         Distinguish more carefully among bytes, multibyte characters,
10571         and wide characters.  Use "byte" when talking about C 'char',
10572         to distinguish it more clearly from multibyte characters.
10573         Say "wide character" or "multibyte character" instead of
10574         "character", when a wide or multibyte character is intended.
10575         Similarly for "multibyte string" versus "string".
10576         Define these terms more carefully.
10578 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
10580         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
10581         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
10582         Likewise.
10583         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10584         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10585         * sysdeps/sh/math_private.h: New file.
10586         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
10587         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
10588         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
10589         long double function name.
10590         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10591         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10592         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10593         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10594         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
10596         Remove __finitel, __isinfl, and __isnanl.
10597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10598         Likewise.
10599         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10601         Remove __finitel.
10602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10603         Likewise.
10604         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10606 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
10608         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
10609         installed libmvec_nonshared.a.
10611 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10613         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
10614         (sysdep_routines): Likewise.
10615         (sysdep-rtld-routines): Likewise.
10616         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
10617         [$(subdir) = nptl](tests-static): test-get_hwcap-static
10618         * sysdeps/powerpc/Versions: Added new
10619         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
10620         * sysdeps/powerpc/hwcapinfo.c: New file.
10621         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
10622         and parse hwcap, hwcap2 and platform number information.
10623         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
10624         to store HWCAP+HWCAP2 and platform number.
10625         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
10626         for HWCAP+HWCAP2 and platform number in the TCB.
10627         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
10628         the HWCAP, HWCAP2 and platform number in the TCB.
10629         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
10630         (TLS_INIT_TP): Included calls to add the hwcap and
10631         at_platform values in the TCB in TP initialization.
10632         (TLS_DEFINE_INIT_TP): Likewise.
10633         (THREAD_GET_HWCAP): New macro.
10634         (THREAD_SET_HWCAP): Likewise.
10635         (THREAD_GET_AT_PLATFORM): Likewise.
10636         (THREAD_SET_AT_PLATFORM): Likewise.
10637         * sysdeps/powerpc/powerpc32/dl-machine.h:
10638         (dl_platform_init): New function that calls
10639         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
10640         powerpc32.
10641         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
10642         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
10643         this functionality, static linking case.
10644         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
10645         linking case.
10646         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
10647         __parse_hwcap_and_convert_at_platform for the static linking case.
10648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
10649         Included the new __parse_hwcap_and_convert_at_platform symbol in the
10650         ABI list for GLIBC 2.23.
10651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
10652         Likewise.
10653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
10654         Likewise.
10656 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
10658         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
10659         * configure: Regenerate.
10660         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
10661         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
10663 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
10665         * iconvdata/ibm930.c: Add comment explaining encoding uses.
10666         * iconvdata/ibm933.c: Likewise.
10667         * iconvdata/ibm935.c: Likewise.
10668         * iconvdata/ibm937.c: Likewise.
10669         * iconvdata/ibm939.c: Likewise.
10671 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10673         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
10674         pthread_join.
10675         * nptl/tst-cancel21.c (tf): Likewise.
10677 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10679         [BZ #19313]
10680         * bits/typesizes.h (__CPU_MASK_TYPE): New.
10681         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10682         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10683         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
10684         Likewise.
10685         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
10686         Likewise.
10687         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
10688         Likewise.
10689         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
10690         Likewise.
10691         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
10692         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
10693         unsigned long int with __CPU_MASK_TYPE.
10695 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10697         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10699 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
10701         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
10702         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
10703         t512.x.
10704         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
10706 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
10708         [BZ #19214]
10709         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
10710         argument to return extended model.  Update family and model
10711         with extended family and model when family == 0x0f.
10712         (init_cpu_features): Updated.
10714 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10716         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
10717         signed off_t, so 32bit bigger than 2GiB values are fine actually.
10719         * sysdeps/mach/hurd/mmap64.c: New file.
10721 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
10723         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
10724         rights for its main user thread in NEWTASK.
10726 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
10728         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
10729         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
10731 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
10733         [BZ #14259]
10734         * Makeconfig: Rename localedir to complocaledir.
10735         Rename inst_localedir to inst_complocaledir.
10736         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
10737         * config.make.in: Use complocaledir and libc_cv_complocaledir.
10738         * configure.ac: Use libc_cv_complocaledir.
10739         * configure: Regenerate.
10740         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
10741         -DCOMPLOCALEDIR.
10742         * locale/findlocale.c: Use COMPLOCALEDIR.
10743         * locale/loadarchive.c: Likewise.
10744         * locale/programs/locale.c: Likewise.
10745         * locale/programs/localedef.c: Likewise.
10746         * locale/programs/locarchive.c: Likewise.
10747         * localedata/Makefile: Use inst_complocaledir.
10748         * sysdeps/gnu/configure: Regenerate.
10749         * sysdeps/hppa/configure: Regenerate.
10750         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
10751         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10753         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
10754         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
10755         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
10756         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
10758 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
10760         [BZ #19058]
10761         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
10762         AS_NEEDED.
10763         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
10764         workaround.
10765         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
10766         libmvec-static-only-routines): Added new file.
10767         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
10769 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10771         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
10772         of interrupted RPC instead of restoring it.
10774         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
10775         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
10776         libc_hidden_def.
10777         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
10778         into initialized data instead of common. Define rtld_hidden_data_def.
10779         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
10780         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
10781         libc_hidden_def.
10782         (if_freenameindex): Add libc_hidden_weak.
10783         (if_nameindex): Add libc_hidden_weak.
10784         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
10785         __open64.
10786         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
10787         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
10788         * sysdeps/mach/nanosleep.c: Include <time.h>
10789         (__nanosleep): Rename to __libc_nanosleep.
10790         (__nanosleep): Add weak_alias.
10791         (nanosleep): Update alias.
10793 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
10795         * stdlib/strtod_nan.c: New file.
10796         * stdlib/strtod_nan_double.h: Likewise.
10797         * stdlib/strtod_nan_float.h: Likewise.
10798         * stdlib/strtod_nan_main.c: Likewise.
10799         * stdlib/strtod_nan_narrow.h: Likewise.
10800         * stdlib/strtod_nan_wide.h: Likewise.
10801         * stdlib/strtof_nan.c: Likewise.
10802         * stdlib/strtold_nan.c: Likewise.
10803         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
10804         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
10805         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
10806         * wcsmbs/wcstod_nan.c: Likewise.
10807         * wcsmbs/wcstof_nan.c: Likewise.
10808         * wcsmbs/wcstold_nan.c: Likewise.
10809         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
10810         strtold_nan.
10811         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
10812         wcstof_nan.
10813         * include/stdlib.h (__strtof_nan): Declare and use
10814         libc_hidden_proto.
10815         (__strtod_nan): Likewise.
10816         (__strtold_nan): Likewise.
10817         (__wcstof_nan): Likewise.
10818         (__wcstod_nan): Likewise.
10819         (__wcstold_nan): Likewise.
10820         * include/wchar.h (____wcstoull_l_internal): Declare.
10821         * stdlib/strtod_l.c: Do not include <ieee754.h>.
10822         (____strtoull_l_internal): Remove declaration.
10823         (STRTOF_NAN): Define macro.
10824         (SET_MANTISSA): Remove macro.
10825         (STRTOULL): Likewise.
10826         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
10827         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
10828         (STRTOF_NAN): Define macro.
10829         (SET_MANTISSA): Remove macro.
10830         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
10831         (SET_MANTISSA): Remove macro.
10832         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
10833         macro.
10834         (SET_MANTISSA): Remove macro.
10835         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
10836         macro.
10837         (SET_MANTISSA): Remove macro.
10838         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
10839         (SET_MANTISSA): Remove macro.
10840         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
10841         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
10842         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
10844         [BZ #19266]
10845         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
10846         upper case and lower case letters inside NAN(), not using TOLOWER.
10847         * stdlib/tst-strtod-nan-locale-main.c: New file.
10848         * stdlib/tst-strtod-nan-locale.c: Likewise.
10849         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
10850         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10851         Depend on $(gen-locales).
10852         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
10853         * wcsmbs/tst-wcstod-nan-locale.c: New file.
10854         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
10855         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
10856         Depend on $(gen-locales).
10857         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
10859 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
10861         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
10863         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
10865         __finitel, __isinfl, and __isnanl.
10866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10867         Likewise.
10868         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
10870         __finitel.
10871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10872         Likewise.
10873         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10875 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10877         * malloc/memusage.c (me): Remove redundant getenv call.
10879 2015-10-24  Florian Weimer  <fweimer@redhat.com>
10881         [BZ #19143]
10882         [BZ #19164]
10883         * nptl/check-cpuset.h: Remove.
10884         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10885         Remove CPU set size check.
10886         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10887         Likewise.
10888         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10889         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10890         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
10891         (__pthread_setaffinity_new): Remove CPU set size check.
10892         * sysdeps/unix/sysv/linux/sched_setaffinity.c
10893         (__kernel_cpumask_size): Remove.
10894         (__sched_setaffinity_new): Remove CPU set size check.
10895         * manual/threads.texi (Default Thread Attributes): Remove stale
10896         reference to check_cpuset_attr, determine_cpumask_size in comment.
10897         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
10898         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
10899         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
10900         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
10901         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
10902         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
10903         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
10904         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
10905         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
10906         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
10907         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
10908         skeleton test file.
10909         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
10910         tst-affinity-pid.
10912 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10914         * scripts/update-abilist.sh: New file.
10915         * Makefile (+subdir_targets): Add subdir_update-all-abi.
10916         * Makerules (update-all-abi-%, update-all-abi)
10917         (subdir_update-all-abi): New targets.
10918         * elf/Makefile (update-all-abi): New target.
10920 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10922         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
10923         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
10924         (__libc_lock_define_initialized): Use it.
10925         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
10926         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
10927         * malloc/malloc.c (main_arena): Likewise.
10928         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10929         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10931 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
10933         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10934         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
10935         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10936         (PTRACE_O_MASK): Update value.
10937         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
10938         New value in enum __ptrace_setoptions.
10939         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10940         (PTRACE_O_MASK): Update value.
10941         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10942         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10943         (PTRACE_O_MASK): Update value.
10944         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10945         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10946         (PTRACE_O_MASK): Update value.
10947         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10948         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10949         (PTRACE_O_MASK): Update value.
10950         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
10951         New value in enum __ptrace_setoptions.
10952         (PTRACE_O_MASK): Update value.
10953         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
10954         New value in enum __ptrace_setoptions.
10955         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10956         (PTRACE_O_MASK): Update value.
10958         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
10959         New macro.
10960         (PACKET_AUXDATA): Likewise.
10961         (PACKET_ORIGDEV): Likewise.
10962         (PACKET_VERSION): Likewise.
10963         (PACKET_HDRLEN): Likewise.
10964         (PACKET_RESERVE): Likewise.
10965         (PACKET_TX_RING): Likewise.
10966         (PACKET_LOSS): Likewise.
10967         (PACKET_VNET_HDR): Likewise.
10968         (PACKET_TX_TIMESTAMP): Likewise.
10969         (PACKET_TIMESTAMP): Likewise.
10970         (PACKET_FANOUT): Likewise.
10971         (PACKET_TX_HAS_OFF): Likewise.
10972         (PACKET_QDISC_BYPASS): Likewise.
10973         (PACKET_ROLLOVER_STATS): Likewise.
10974         (PACKET_FANOUT_DATA): Likewise.
10975         (PACKET_MR_UNICAST): Likewise.
10977         [BZ #19242]
10978         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
10979         (TOUPPER): Likewise.
10980         * stdlib/tst-strtol-locale-main.c: New file.
10981         * stdlib/tst-strtol-locale.c: Likewise.
10982         * stdlib/Makefile (tests): Add tst-strtol-locale.
10983         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
10984         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
10985         Depend on $(gen-locales).
10986         * wcsmbs/tst-wcstol-locale.c: New file.
10987         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
10988         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
10989         tr_TR.ISO-8859-9.
10990         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
10991         Depend on $(gen-locales).
10993 2015-11-20  Roland McGrath  <roland@hack.frob.com>
10995         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
10996         __glibc_likely instead of __builtin_expect.  After falling back to
10997         dyncode_create in a non-ET_DYN case, use the allocate_code_data
10998         system interface to register the code pages as occupied.
11000 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
11002         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11003         [!ARM_MATH_PRIVATE_H].
11004         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
11005         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11006         [!HPPA_MATH_PRIVATE_H].
11007         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
11008         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
11009         to [!I386_MATH_PRIVATE_H].
11010         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
11011         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
11012         Change guard to [!M68K_MATH_PRIVATE_H].
11013         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
11014         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
11015         guard to [!MICROBLAZE_MATH_PRIVATE_H].
11016         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
11017         macro.
11018         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11019         [!MIPS_MATH_PRIVATE_H].
11020         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
11021         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11022         [!NIO2_MATH_PRIVATE_H].
11023         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
11024         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11025         [!TILE_MATH_PRIVATE_H].
11026         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
11028         [BZ #15421]
11029         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
11030         initialize with 0 and define as weak alias of __signgam.
11031         * include/math.h [!_ISOMAC] (__signgam): Declare.
11032         * math/Makefile (libm-calls): Add w_lgamma_compat.
11033         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
11034         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
11035         test-signgam-ullong-init.
11036         (tests-static): Add test-signgam-uchar-static,
11037         test-signgam-uchar-init-static, test-signgam-uint-static,
11038         test-signgam-uint-init-static, test-signgam-ullong-static and
11039         test-signgam-ullong-init-static.
11040         (CFLAGS-test-signgam-uchar.c): New variable.
11041         (CFLAGS-test-signgam-uchar-init.c): Likewise.
11042         (CFLAGS-test-signgam-uchar-static.c): Likewise.
11043         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
11044         (CFLAGS-test-signgam-uint.c): Likewise.
11045         (CFLAGS-test-signgam-uint-init.c): Likewise.
11046         (CFLAGS-test-signgam-uint-static.c): Likewise.
11047         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
11048         (CFLAGS-test-signgam-ullong.c): Likewise.
11049         (CFLAGS-test-signgam-ullong-init.c): Likewise.
11050         (CFLAGS-test-signgam-ullong-static.c): Likewise.
11051         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
11052         * math/Versions (libm): Add GLIBC_2.23.
11053         * math/lgamma-compat.h: New file.
11054         * math/test-signgam-main.c: Likewise.
11055         * math/test-signgam-uchar-init-static.c: Likewise.
11056         * math/test-signgam-uchar-init.c: Likewise.
11057         * math/test-signgam-uchar-static.c: Likewise.
11058         * math/test-signgam-uchar.c: Likewise.
11059         * math/test-signgam-uint-init-static.c: Likewise.
11060         * math/test-signgam-uint-init.c: Likewise.
11061         * math/test-signgam-uint-static.c: Likewise.
11062         * math/test-signgam-uint.c: Likewise.
11063         * math/test-signgam-ullong-init-static.c: Likewise.
11064         * math/test-signgam-ullong-init.c: Likewise.
11065         * math/test-signgam-ullong-static.c: Likewise.
11066         * math/test-signgam-ullong.c: Likewise.
11067         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
11068         wrapper of w_lgamma_main.c.
11069         * math/w_lgamma_compat.c: New file.
11070         * math/w_lgamma_compatf.c: Likewise.
11071         * math/w_lgamma_compatl.c: Likewise.
11072         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
11073         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11074         defining compatibility symbols.
11075         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
11076         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
11077         wrapper of w_lgammaf_main.c.
11078         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
11079         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11080         defining compatibility symbols.
11081         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
11082         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
11083         wrapper of w_lgammal_main.c.
11084         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
11085         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11086         defining compatibility symbols.
11087         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
11088         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
11089         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
11090         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
11091         <lgamma-compat.h>.
11092         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
11093         (__ieee754_gamma): Define as alias.
11094         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
11095         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
11096         <lgamma-compat.h>.
11097         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
11098         (__ieee754_gammaf): Define as alias.
11099         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
11100         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
11101         <lgamma-compat.h>.
11102         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
11103         (__ieee754_gammal): Define as alias.
11104         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
11105         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
11106         <math/w_lgamma_compat.c>.
11107         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
11108         Define as alias of __lgamma_compat and use in defining lgammal.
11109         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
11110         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
11111         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
11112         (USE_AS_COMPAT): New macro.
11113         (LGAMMA_OLD_VER): Undefine and redefine.
11114         (lgammal): Do not define here.
11115         (gammal): Only define here if [GAMMA_ALIAS].
11116         * conform/linknamespace.pl (@whitelist): Remove signgam.
11117         * sysdeps/nacl/libm.abilist: Update.
11118         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11119         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11120         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11121         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11122         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11123         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11124         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11125         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11126         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11127         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11128         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11129         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11131         Likewise.
11132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11133         Likewise.
11134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11135         Likewise.
11136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11137         Likewise.
11138         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11139         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11140         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11141         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11142         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11144         Likewise.
11145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11146         Likewise.
11147         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11148         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11149         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11151 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11153         [BZ #16364]
11154         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
11155         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
11157 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11159         * sysdeps/s390/fpu/bits/mathinline.h:
11160         Use __asm__ [__volatile__] instead of asm [volatile].
11161         * sysdeps/s390/abort-instr.h: Likewise.
11162         * sysdeps/s390/atomic-machine.h: Likewise.
11163         * sysdeps/s390/bits/string.h: Likewise.
11164         * sysdeps/s390/dl-tls.h: Likewise.
11165         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11166         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11167         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11168         * sysdeps/s390/fpu/fesetround.c: Likewise.
11169         * sysdeps/s390/fpu/fpu_control.h: Likewise.
11170         * sysdeps/s390/fpu/s_fma.c: Likewise.
11171         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
11172         * sysdeps/s390/memusage.h: Likewise.
11173         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
11174         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
11175         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
11176         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
11177         * sysdeps/s390/nptl/tls.h: Likewise.
11178         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
11179         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11180         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11181         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
11182         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11183         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11184         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
11185         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11186         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11187         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
11188         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
11189         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11190         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11191         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
11192         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11193         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11194         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
11195         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11196         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
11197         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11198         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
11199         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11200         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
11202 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11203             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11205         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11206         Add lwarx hint, and use macro for acquire instruction.
11207         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11208         Likewise.
11209         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
11210         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
11211         update to use new atomic macros.
11213 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11215         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11216         (__lll_trylock_elision): Fix setting of adapt_count.
11217         * sysdeps/unix/sysv/linux/powerpc/htm.h
11218         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
11219         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
11220         (_ABORT_SYSCALL): Renumber, and clarify definition.
11221         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
11223 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11225         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
11226         after system headers to prevent MIN/MAX redefinition.  Define
11227         HAVE_ALLOCA to preserve builtin alloca usage.
11229 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11231         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
11232         static and don't set or restore rounding.
11233         (__cos)[IN_SINCOS]: Likewise.
11234         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
11235         (__sincos): Set and restore rounding mode.  Remove check for infinite
11236         or NaN input.
11238         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
11240         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
11241         as used.
11243 2015-11-16  Florian Weimer  <fweimer@redhat.com>
11245         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
11247 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11249         * config.make.in (have-glob-dat-reloc): New.
11250         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
11251         target supports GLOB_DAT relocaton. AC_SUBST.
11252         * configure: Regenerated.
11253         * elf/Makefile (tests): Add tst-prelink.
11254         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11255         (tst-prelink-ENV): New.
11256         ($(objpfx)tst-prelink-conflict.out): Likewise.
11257         ($(objpfx)tst-prelink-cmp.out): Likewise.
11258         * sysdeps/x86/tst-prelink.c: Moved to ...
11259         * elf/tst-prelink.c: Here.
11260         * sysdeps/x86/tst-prelink.exp: Moved to ...
11261         * elf/tst-prelink.exp: Here.
11262         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
11263         (tst-prelink-ENV): Removed.
11264         ($(objpfx)tst-prelink-conflict.out): Likewise.
11265         ($(objpfx)tst-prelink-cmp.out): Likewise.
11266         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
11268 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
11270         [BZ #14551]
11271         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
11272         (__mpn_construct_long_double): If high part overflows to infinity,
11273         set errno and recompute overflowed result of the correct sign.
11274         * sysdeps/ieee754/ldbl-128ibm/Makefile
11275         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
11276         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
11277         $(libm).
11278         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
11280 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
11282         [BZ #15479]
11283         [BZ #19238]
11284         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
11285         floating-point state after first operation on input.  Restore full
11286         state rather than just rounding mode.
11287         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
11288         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
11289         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
11291         [BZ #19235]
11292         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
11293         add 0.5 to integer arguments.
11294         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
11295         Likewise.
11296         (.LC2): New object.
11298 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
11300         * scripts/pylintrc (reports): Set to no.
11302 2015-11-10  Roland McGrath  <roland@hack.frob.com>
11304         * elf/dl-load.c (open_verify): Take new argument FD.
11305         Skip __open call if passed FD is not -1.
11306         (_dl_map_object, open_path): Update callers.
11307         * elf/dl-sysdep-open.h: New file.
11308         * elf/dl-load.c: Include it.
11309         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
11310         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
11311         * sysdeps/nacl/dl-sysdep-open.h: New file.
11312         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
11313         from libc to rtld.
11315 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11317         [BZ #19228]
11318         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
11319         and restore full floating-point state.
11320         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11321         Likewise.
11322         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
11323         Likewise.
11324         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
11325         Likewise.
11326         * math/test-nearbyint-except-2.c: New file.
11327         * math/Makefile (tests): Add test-nearbyint-except-2.
11329 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
11331         [BZ #19178]
11332         * sysdeps/x86/Makefile (tests): Add tst-prelink.
11333         (tst-prelink-ENV): New.
11334         ($(objpfx)tst-prelink-conflict.out): Likewise.
11335         ($(objpfx)tst-prelink-cmp.out): Likewise.
11336         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11337         * sysdeps/x86/tst-prelink.c: New file.
11338         * sysdeps/x86/tst-prelink.exp: Likewise.
11340 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11342         * math/auto-libm-test-in: Add another test of pow.
11343         * math/auto-libm-test-out: Regenerated.
11344         * math/libm-test.inc (pow_test_data): Add another test.
11346 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11348         [BZ #19219]
11349         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
11350         weak_alias to nearbyintl.
11352 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11354         * sysdeps/aarch64/bits/string.h: New file.
11355         (_STRING_ARCH_unaligned): Define.
11357 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11359         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
11360         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11361         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11362         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
11363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
11365 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
11367         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
11368         for original name of the DSO.  Add it to the name list of the DSO
11369         if it is actually given.
11370         (_dl_map_object): Keep track of whether an audit module rewrote
11371         the file name.  If yes, pass the original name to
11372         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
11373         debugging is enabled, log the change of the file name.
11374         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
11375         _dl_map_object_from_fd.
11376         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
11377         * elf/tst-audit11.c: New file
11378         * elf/tst-auditmod11.c: New file.
11379         * elf/tst-audit11mod1.c: New file.
11380         * elf/tst-audit11mod2.c: New file.
11381         * elf/tst-audit11mod2.map: New file.
11382         * elf/tst-audit12.c: New file
11383         * elf/tst-auditmod12.c: New file.
11384         * elf/tst-audit12mod1.c: New file.
11385         * elf/tst-audit12mod2.c: New file.
11386         * elf/tst-audit12mod2.map: New file.
11387         * elf/tst-audit12mod3.c: New file.
11389 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11391         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
11392         Don't create weak aliases,
11393         because versioned symbols are created later.
11394         * sysdeps/s390/s390-32/setjmp.S
11395         (setjmp, _setjmp): Remove weak and rename to an unique name
11396         in SHARED case due to existing versioned symbols.
11397         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11398         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
11399         (getcontext): Create weak alias only in non SHARED case.
11400         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11402 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11404         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
11405         (__ASSUME_*_SYSCALL) Define new macros.
11406         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
11407         Remove socketcall syscalls.
11408         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
11409         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
11410         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
11411         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
11412         * sysdeps/unix/sysv/linux/send.c (__libc_send):
11413         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
11415 2015-11-09  Florian Weimer  <fweimer@redhat.com>
11417         [BZ #12926]
11418         Terminate process on invalid netlink response.
11419         * sysdeps/unix/sysv/linux/netlinkaccess.h
11420         (__netlink_assert_response): Declare.
11421         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
11422         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
11423         (sysdep_routines): Add netlink_assert_response.
11424         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
11425         __netlink_assert_response.
11426         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
11427         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
11428         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
11429         __netlink_assert_response.
11431 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11433         [BZ #19178]
11434         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
11435         (RTYPE_CLASS_PLT): Likewise.
11436         (RTYPE_CLASS_COPY): Likewise.
11437         (RTYPE_CLASS_TLS): Likewise.
11438         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
11439         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
11440         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
11441         DL_DEBUG_PRELINK.
11443 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
11445         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
11446         calls with argument -0.5.
11447         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
11449         * configure.ac (libc_cv_z_nodelete): Remove configure test.
11450         (libc_cv_z_nodlopen): Likewise.
11451         (libc_cv_z_initfirst): Likewise.
11452         * configure: Regenerated.
11454 2015-11-06  Florian Weimer  <fweimer@redhat.com>
11456         Simplify abilist format to be line-based.
11457         * scripts/abilist.awk: Collect descriptors in the descs variable.
11458         (emit): Write descs variable and sort it
11459         externally, with sort.
11460         * sysdeps/**/*.abilist: Convert to new format.
11462 2015-11-06  Mark Wielaard  <mjw@redhat.com>
11464         [BZ #11460]
11465         * io/Makefile (routines): Add fts64.
11466         (tests): Add tst-fts and tst-fts-lfs.
11467         (CFLAGS-fts64.c): New.
11468         * io/Versions (GLIBC_2.23): New.
11469         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
11470         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
11471         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
11472         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
11473         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
11474         (FTSENT64): Likewise.
11475         (fts64_children): Likewise.
11476         (fts64_close): Likewise.
11477         (fts64_open): Likewise.
11478         (fts64_read): Likewise.
11479         (fts64_set): Likewise.
11480         * io/fts64.c: New file.
11481         * io/tst-fts.c: New test.
11482         * io/tst-fts-lfs.c: Likewise.
11483         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
11484         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
11485         fts64_set.
11486         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11487         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11488         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11489         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11490         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11491         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11492         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11493         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11494         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11495         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11496         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11497         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11498         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11500         Likewise.
11501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11502         Likewise.
11503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11505         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11506         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11507         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11508         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11509         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11512         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11513         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11514         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11515         * sysdeps/wordsize-64/fts.c: New file.
11516         * sysdeps/wordsize-64/fts64.c: Likewise.
11517         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
11518         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
11519         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
11520         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
11522 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11524         * math/libm-test.inc (NON_FINITE): New macro.
11525         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
11526         * math/gen-libm-test.pl (show_exceptions): Add argument
11527         $non_finite.
11528         (parse_args): Update call to show_exceptions.
11529         * math/test-math-finite.h: New file.
11530         * math/test-math-no-finite.h: Likewise.
11531         * math/test-double-finite.c: Likewise.
11532         * math/test-float-finite.c: Likewise.
11533         * math/test-ldouble-finite.c: Likewise.
11534         * math/test-double.c: Include "test-math-no-finite.h".
11535         * math/test-float.c: Include "test-math-no-finite.h".
11536         * math/test-ldouble.c: Include "test-math-no-finite.h".
11537         * math/test-math-inline.h (TEST_FINITE): New macro.
11538         * math/test-math-vector.h (TEST_FINITE): Likewise.
11539         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
11540         (libm-tests): Add test-float-finite and test-double-finite.
11541         ($(objpfx)test-float-finite.o): New dependency on
11542         $(objpfx)libm-test.stmp.
11543         ($(objpfx)test-double-finite.o): Likewise.
11544         ($(objpfx)test-ldouble-finite.o): Likewise.
11545         (libm-test-no-inline-cflags): New variable.
11546         (libm-test-finite-cflags): Likewise.
11547         (CFLAGS-test-float-finite.c): Likewise.
11548         (CFLAGS-test-double-finite.c): Likewise.
11549         (CFLAGS-test-ldouble-finite.c): Likewise.
11550         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
11551         (CFLAGS-test-double.c): Likewise.
11552         (CFLAGS-test-ldouble.c): Likewise.
11554 2015-11-05  Roland McGrath  <roland@hack.frob.com>
11556         * io/fcntl.c (__fcntl): Add ... to prototype.
11557         * misc/ioctl.c (__ioctl): Likewise.
11558         * misc/syscall.c (syscall): Likewise.
11560 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11562         * scripts/list-fixed-bugs.py: New file.
11564         [BZ #19213]
11565         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
11566         returned for argument 1.
11567         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
11568         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
11569         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
11570         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
11571         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
11572         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
11574         [BZ #19211]
11575         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
11576         __USE_XOPEN], not if [!__USE_ISOC99].
11577         (lgammaf): Likewise.
11578         (lgammal): Likewise.
11579         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
11580         (gammaf): Likewise.
11581         (gammal): Likewise.
11582         * math/test-signgam-finite-c11.c: New file.
11583         * math/test-signgam-finite-c99.c: Likewise.
11584         * math/test-signgam-finite.c: Likewise.
11585         * math/Makefile (tests): Add test-signgam-finite,
11586         test-signgam-finite-c99 and test-signgam-finite-c11.
11587         (CFLAGS-test-signgam-finite.c): New variable.
11588         (CFLAGS-test-signgam-finite-c99.c): Likewise.
11589         (CFLAGS-test-signgam-finite-c11.c): Likewise.
11591         [BZ #19212]
11592         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
11593         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
11594         500].
11595         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
11596         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
11597         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
11598         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
11599         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
11600         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
11601         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
11602         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
11603         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
11604         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
11606         [BZ #19209]
11607         * math/bits/math-finite.h (ldexp): Remove declaration.
11608         (ldexpf): Likewise.
11609         (ldexpl): Likewise.
11611         [BZ #19205]
11612         * math/bits/math-finite.h (acosf): Condition declaration on
11613         [__USE_ISOC99].
11614         (acosl): Likewise.
11615         (acoshf): Likewise.
11616         (acoshl): Likewise.
11617         (asinf): Likewise.
11618         (asinl): Likewise.
11619         (atan2f): Likewise.
11620         (atan2l): Likewise.
11621         (atanhf): Likewise.
11622         (atanhl): Likewise.
11623         (coshf): Likewise.
11624         (coshl): Likewise.
11625         (expf): Likewise.
11626         (expl): Likewise.
11627         (fmodf): Likewise.
11628         (fmodl): Likewise.
11629         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
11630         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
11631         (j0l): Likewise.
11632         (y0f): Likewise.
11633         (y0l): Likewise.
11634         (j1f): Likewise.
11635         (j1l): Likewise.
11636         (y1f): Likewise.
11637         (y1l): Likewise.
11638         (jnf): Likewise.
11639         (jnl): Likewise.
11640         (ynf): Likewise.
11641         (ynl): Likewise.
11642         (lgammaf_r): Condition declaration on [__USE_ISOC99].
11643         (lgammal_r): Likewise.
11644         (__lgamma_r_finite): New declaration.
11645         (__lgammaf_r_finite): Likewise.
11646         (__lgammal_r_finite): Likewise.
11647         (lgamma): Use __lgamma_r_finite.
11648         (lgammaf): Condition definition on [__USE_ISOC99].  Use
11649         __lgammaf_r_finite.
11650         (lgammal): Condition definition on [__USE_ISOC99].  Use
11651         __lgammal_r_finite.
11652         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
11653         __lgamma_r_finite.
11654         (gammaf): Condition definition on [__USE_ISOC99].  Use
11655         __lgammaf_r_finite.
11656         (gammal): Condition definition on [__USE_ISOC99].  Use
11657         __lgammal_r_finite.
11658         (logf): Condition declaration on [__USE_ISOC99].
11659         (logl): Likewise.
11660         (log10f): Likewise.
11661         (log10l): Likewise.
11662         (ldexpf): Likewise.
11663         (ldexpl): Likewise.
11664         (powf): Likewise.
11665         (powl): Likewise.
11666         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
11667         __USE_ISOC99].
11668         (remainderf): Condition declaration on [__USE_ISOC99].
11669         (remainderl): Likewise.
11670         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
11671         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
11672         (scalbl): Likewise.
11673         (sinhf): Condition declaration on [__USE_ISOC99].
11674         (sinhl): Likewise.
11675         (sqrtf): Likewise.
11676         (sqrtl): Likewise.
11678 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11680         * sysdeps/arm/atomic-machine.h
11681         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11682         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11683         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
11684         Remove conditional code.
11685         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11686         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11687         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
11688         Change conditional to [__ASSEMBLER__].
11689         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11690         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
11691         [!__ASSEMBLER__].
11692         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
11693         code.
11694         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
11695         conditional macro definitions.
11696         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
11697         (__arch_compare_and_exchange_val_16_acq): Likewise.
11698         (__arch_compare_and_exchange_val_32_acq): Likewise.
11699         (atomic_exchange_and_add): Likewise.
11700         (atomic_add): Likewise.
11701         (atomic_add_negative): Likewise.
11702         (atomic_add_zero): Likewise.
11703         (atomic_bit_set): Likewise.
11704         (atomic_bit_test_set): Likewise.
11705         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
11706         code unconditional.
11707         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11709         * math/test-math-errno.h: New file.
11710         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
11711         empty.
11712         (TEST_ERRNO): New macro.
11713         (TEST_EXCEPTIONS): Likewise.
11714         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
11715         (TEST_EXCEPTIONS): Likewise.
11716         * math/test-math-vector.h (TEST_ERRNO): Likewise.
11717         * math/test-double.c: Include "test-math-errno.h".
11718         * math/test-float.c: Likewise.
11719         * math/test-ldouble.c: Likewise.
11720         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
11721         code unconditional.
11722         (test_exceptions): Only run code if TEST_EXCEPTIONS.
11723         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
11724         unconditional.
11725         (test_errno): Only run code if TEST_ERRNO.
11726         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
11728 2015-11-04  Florian Weimer  <fweimer@redhat.com>
11730         * nptl/tst-once5.cc: Remove attribution.
11732 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11734         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
11735         sqrt, tan, tanh, y0, y1 and yn.
11736         * math/auto-libm-test-out: Regenerated.
11737         * math/libm-test.inc (scalb_test_data): Add more tests.
11738         (scalbn_test_data): Likewise.
11739         (scalbln_test_data): Likewise.
11740         (signbit_test_data): Likewise.
11741         (sin_test_data): Likewise.
11742         (sincos_test_data): Likewise.
11743         (sinh_test_data): Likewise.
11744         (sqrt_test_data): Likewise.
11745         (tan_test_data): Likewise.
11746         (tanh_test_data): Likewise.
11747         (tgamma_test_data): Likewise.
11748         (y0_test_data): Likewise.
11749         (y1_test_data): Likewise.
11750         (yn_test_data): Likewise.
11751         (significand_test_data): Likewise.
11752         * sysdeps/i386/fpu/libm-test-ulps: Update.
11754 2015-11-03  David Kastrup  <dak@gnu.org>
11756         [BZ #18604]
11757         * assert/assert.h (assert): Don't macro-expand failed assertion
11758         expression in error message.
11759         * malloc/malloc.c (assert): Likewise.
11761 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
11763         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
11764         test.
11765         * configure: Regenerated.
11767 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
11769         * math/libm-test.inc (modf_test_data): Add more tests.
11770         (nearbyint_test_data): Likewise.
11771         (nextafter_test_data): Likewise.
11772         (nexttoward_test_data): Likewise.
11773         (pow_test_data): Likewise.
11774         (remainder_test_data): Likewise.
11775         (remquo_test_data): Likewise.
11776         (rint_test_data): Likewise.
11778         [BZ #19201]
11779         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11780         Check for zero remainder in case of large exponents and ensure
11781         correct sign of result in that case.
11782         * math/libm-test.inc (remainder_test_data): Add more tests.
11784         [BZ #6799]
11785         * math/s_nextafter.c: Include <errno.h>.
11786         (__nextafter): Set errno on overflow and underflow.
11787         * math/s_nexttowardf.c: Include <errno.h>.
11788         (__nexttowardf): Set errno on overflow and underflow.
11789         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
11790         (__nextafterl): Set errno on overflow and underflow.
11791         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
11792         (__nexttoward): Set errno on overflow and underflow.
11793         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
11794         (__nexttowardf): Set errno on overflow and underflow.
11795         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
11796         (__nextafterf): Set errno on overflow and underflow.
11797         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
11798         (__nextafterl): Set errno on overflow and underflow.
11799         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
11800         (__nexttoward): Set errno on overflow and underflow.
11801         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
11802         (__nexttowardf): Set errno on overflow and underflow.
11803         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
11804         (__nextafterl): Set errno on overflow and underflow.
11805         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
11806         (__nexttoward): Set errno on overflow and underflow.
11807         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
11808         (__nexttowardf): Set errno on overflow and underflow.
11809         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
11810         (__nexttoward): Set errno on overflow and underflow.
11811         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
11812         (__nexttowardf): Set errno on overflow and underflow.
11813         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
11814         (__nldbl_nexttowardf): Set errno on overflow and underflow.
11815         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
11816         (__nextafterl): Set errno on overflow and underflow.
11817         * math/libm-test.inc (nextafter_test_data): Do not allow errno
11818         setting to be missing on overflow.  Add more tests.
11819         (nexttoward_test_data): Likewise.
11821         * configure.ac (libc_cv_initfini_array): Remove configure test.
11822         * configure: Regenerated.
11824 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
11826         [BZ #19189]
11827         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
11828         non-finite argument handle arguments with negative sign.
11830         * math/libm-test.inc (j0_test_data): Do not test sign of zero
11831         result from infinite argument.
11832         (j1_test_data): Likewise.
11833         (jn_test_data): Likewise.
11834         (y0_test_data): Likewise.
11835         (y1_test_data): Likewise.
11836         (yn_test_data): Likewise.
11838         [BZ #16171]
11839         * math/w_remainder.c (drem): Define as weak alias of __remainder.
11840         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
11841         * math/w_remainderf.c (dremf): Define as weak alias of
11842         __remainderf.
11843         * math/w_remainderl.c (dreml): Define as weak alias of
11844         __remainderl.
11845         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
11846         __remainder.
11847         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
11848         __remainderf.
11849         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
11850         __remainderl.
11851         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
11852         weak alias of remainderl.
11853         * sysdeps/ieee754/ldbl-opt/w_remainder.c
11854         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
11855         alias of __remainder.
11856         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
11857         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
11858         strong alias of __remainderl.
11859         (dreml): Use long_double_symbol.
11860         * math/Makefile (libm-calls): Remove w_drem.
11861         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
11862         (CFLAGS-nldbl-drem.c): Remove variable.
11863         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
11864         * math/w_drem.c: Remove file.
11865         * math/w_dremf.c: Likewise.
11866         * math/w_dreml.c: Likewise.
11867         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
11868         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
11869         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
11871         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
11872         * sysdeps/i386/configure: Regenerated.
11873         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
11874         * sysdeps/x86_64/configure: Regenerated.
11876         * configure.ac (libc_cv_asm_protected_directive): Remove configure
11877         test.
11878         (libc_cv_visibility_attribute): Likewise.
11879         (libc_cv_protected_data): Test unconditionally.
11880         (libc_cv_broken_visibility_attribute): Remove configure test.
11881         (libc_cv_have_sdata_section): Test unconditionally.
11882         * configure: Regenerated.
11884         * include/libc-internal.h (libc_max_align_t): Remove typedef.
11885         * include/scratch_buffer.h: Include <stddef.h> instead of
11886         <libc-internal.h>.
11887         (struct scratch_buffer): Use max_align_t instead of
11888         libc_max_align_t.
11890 2015-10-29  Florian Weimer  <fweimer@redhat.com>
11892         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
11893         instead of extend_alloca.  Change control flow to avoid a goto.
11894         Remove assert which is trivially always true.
11896 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11898         [BZ #16068]
11899         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
11900         (FE_ALL_EXCEPT_X86): New macro.
11901         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11902         FE_ALL_EXCEPT.  Ensure precision control is included in
11903         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11904         handle "denormal operand exception" and clear FZ and DAZ bits.
11905         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
11906         (FE_ALL_EXCEPT_X86): New macro.
11907         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11908         FE_ALL_EXCEPT.  Ensure precision control is included in
11909         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11910         handle "denormal operand exception" and clear FZ and DAZ bits.
11911         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
11912         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
11913         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11914         test-fenv-x87 and test-fenv-sse-2.
11915         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
11917         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
11918         * math/test-double.h (BUILD_COMPLEX): New macro.
11919         * math/test-float.h (BUILD_COMPLEX): Likewise.
11920         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
11922         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
11923         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
11924         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
11925         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
11926         instead of DBL_DENORM_MIN in comment.
11927         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
11928         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11929         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
11930         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
11931         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
11932         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11934 2015-10-28  Florian Weimer  <fweimer@redhat.com>
11936         [BZ# 19048]
11937         * malloc/malloc.c (struct malloc_state): Update comment.  Add
11938         attached_threads member.
11939         (main_arena): Initialize attached_threads.
11940         * malloc/arena.c (list_lock): Update comment.
11941         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
11942         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
11943         (deattach_arena): New function.
11944         (_int_new_arena): Initialize arena reference count and deattach
11945         replaced arena.
11946         (get_free_list, reused_arena): Update reference count and deattach
11947         replaced arena.
11948         (arena_thread_freeres): Update arena reference count and only put
11949         unreferenced arenas on the free list.
11951 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11953         [BZ #19181]
11954         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
11955         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
11956         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
11957         * math/test-fenv-clear-main.c: New file.
11958         * math/test-fenv-clear.c: Likewise.
11959         * math/Makefile (tests): Add test-fenv-clear.
11960         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
11961         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11962         test-fenv-clear-sse.
11963         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
11965         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
11966         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
11967         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
11969 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11971         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
11972         static libc.
11974 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11976         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
11977         test.
11978         * sysdeps/i386/configure: Regenerated.
11979         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
11980         test.
11981         * sysdeps/x86_64/configure: Regenerated.
11982         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
11983         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11984         memset-avx2 unconditionally instead of conditionally on
11985         [$(config-cflags-avx2) = yes].
11986         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11987         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
11988         unconditional.
11989         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
11990         * sysdeps/x86_64/multiarch/memset_chk.S
11991         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
11992         to [IS_IN (libc) && SHARED].
11994 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11996         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
11997         configure test.
11998         * sysdeps/arm/configure: Regenerated.
11999         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
12000         Define variable if not already defined.
12002         [BZ #17404]
12003         * sysdeps/mips/atomic-machine.h
12004         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
12005         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
12006         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12008         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
12009         unconditional.
12010         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
12011         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12012         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
12013         unconditional.
12014         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12015         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
12016         unconditional.
12017         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12018         * stdlib/setenv.c
12019         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
12020         code unconditional.
12021         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
12022         Remove conditional code.
12023         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
12024         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
12025         unconditional.
12026         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12027         code.
12028         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
12029         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
12030         unconditional.
12031         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12032         code.
12033         * sysdeps/ieee754/ldbl-128/k_tanl.c
12034         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12035         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12036         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
12037         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12038         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12039         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
12040         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
12041         unconditional.
12042         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12043         code.
12044         * sysdeps/ieee754/ldbl-96/k_tanl.c
12045         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12046         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12048         * nptl/tst-initializers1-c11.c: New file.
12049         * nptl/tst-initializers1-gnu11.c: Likewise.
12050         * nptl/Makefile (tests): Add these new tests.
12051         (CFLAGS-tst-initializers1-c11.c): New variable.
12052         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
12054         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
12055         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
12056         instead of -std=gnu99.
12057         * configure.ac (systemtap): Test with -std=gnu11 instead of
12058         -std=gnu99.
12059         * configure: Regenerated.
12060         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
12061         in compilation command in comment.
12063         * sysdeps/nptl/configure.ac: Remove file.
12064         * sysdeps/nptl/configure: Remove generated file.
12065         * configure.ac (libc_cv_forced_unwind): Do not substitute.
12066         * configure: Regenerated.
12067         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
12068         * config.make.in (have-forced-unwind): Remove variable.
12069         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12070         unconditional.
12071         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
12072         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
12073         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
12074         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
12075         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12076         unconditional.
12078 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12080         [BZ #19174]
12081         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
12082         .skip_lock_out_of_tbegin_retries.
12083         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12084         (__lll_lock_elision): Likewise, and respect a value of
12085         try_tbegin <= 0.
12087 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12089         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
12090         statement.
12092 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12094         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
12095         variable.
12096         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12097         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12099         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
12100         of -std=c1x -D_ISOC11_SOURCE.
12102         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
12103         * configure: Regenerated.
12104         * manual/install.texi (Tools for Compilation): Document
12105         requirement for GCC 4.7 or later.
12106         * INSTALL: Regenerated.
12108 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
12110         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
12111         on CNT to a conditional jump to 'puntdata'.
12113 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12115         * configure.ac (libc_cv_gcc___thread): Remove configure test.
12116         (libc_cv_gcc_tls_model_attr): Likewise.
12117         * configure: Regenerated.
12119         * configure.ac (libc_cv_need_minus_P): Remove configure test.
12120         * configure: Regenerated.
12121         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
12123 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
12125         * configure.ac (old_glibc_headers): Remove configure test.
12126         * configure: Regenerated.
12127         * config.make.in (old-glibc-headers): Remove variable.
12128         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
12129         (install): Remove dependency on remove-old-headers.
12130         (headers2_0): Remove variable.
12131         (remove-old-headers): Remove rule.
12133         * configure.ac (libc_cv_dot_text): Remove configure test.
12134         (libc_cv_asm_set_directive): Use .text instead of
12135         ${libc_cv_dot_text} in configure test.
12136         * configure: Regenerated.
12138 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12140         [BZ #19168]
12141         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12143 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12145         * configure.ac (CXX): Clear the variable if the C++ toolchain does
12146         not support static linking.
12147         * configure: Regenerate.
12149 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
12151         * math/libm-test.inc (check_float_internal): Do not special-case
12152         errors up to 0.5 ulp.
12154         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12155         log2.
12156         * math/auto-libm-test-out: Regenerated.
12157         * math/libm-test.inc (MAX_EXP): New macro.
12158         (ilogb_test_data): Add more tests.
12159         (isfinite_test_data): Likewise.
12160         (isgreater_test_data): Likewise.
12161         (isgreaterequal_test_data): Likewise.
12162         (isinf_test_data): Likewise.
12163         (isless_test_data): Likewise.
12164         (islessequal_test_data): Likewise.
12165         (islessgreater_test_data): Likewise.
12166         (isnan_test_data): Likewise.
12167         (isnormal_test_data): Likewise.
12168         (issignaling_test_data): Likewise.
12169         (isunordered_test_data): Likewise.
12170         (j0_test_data): Likewise.
12171         (j1_test_data): Likewise.
12172         (jn_test_data): Likewise.
12173         (lgamma_test_data): Likewise.
12174         (log_test_data): Likewise.
12175         (log10_test_data): Likewise.
12176         (log1p_test_data): Likewise.
12177         (log2_test_data): Likewise.
12178         (logb_test_data): Likewise.
12179         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12181         [BZ #18611]
12182         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
12183         avoid excess range and precision on underflow.
12184         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12185         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12186         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12187         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
12188         underflow.
12189         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12190         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12191         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12192         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12193         * math/auto-libm-test-in: Do not allow missing errno setting for
12194         tests of j1 and jn.
12195         * math/auto-libm-test-out: Regenerated.
12197 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
12199         [BZ #15491]
12200         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
12201         floating-point environment instead of clearing all exceptions.
12202         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12203         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
12204         merging in "invalid" exceptions from frndint.
12205         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12206         * math/test-nearbyint-except.c: New file.
12207         * math/Makefile (tests): Add test-nearbyint-except.
12209 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
12211         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
12213         * sysdeps/tile/libm-test-ulps: Regenerated.
12215 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
12218         (__NR_sync_file_range2): Assume it is always defined.
12219         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12220         (__NR_sync_file_range): Assume it is always defined.
12222 2015-10-22  Andreas Schwab  <schwab@suse.de>
12224         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12225         INTERNAL_SYSCALL_ERRNO.
12226         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12227         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12228         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12229         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12230         Likewise.
12231         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12233 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12235         * io/tst-fcntl.c (fd): New static variable.
12236         (do_prepare): Open temporary file here....
12237         (do_test): ...not here.
12239         * io/ftwtest-sh: Also trap on exit to remove temporary files.
12241 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12243         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
12244         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12245         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12246         Moved before "#ifdef __ASSEMBLER__".
12248 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12250         [BZ #19156]
12251         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
12252         arguments very close to 0.
12254 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
12256         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
12257         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
12259 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12261         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12262         New.  Defined for GCC 5 and above when not compiling for
12263         profiling.
12264         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12266         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12267         Renamed to ...
12268         (CFLAGS-epoll_pwait.o): This.
12269         (CFLAGS-mmap.c): Renamed to ...
12270         (CFLAGS-mmap.o): This.
12271         (CFLAGS-mmap64.c): Renamed to ...
12272         (CFLAGS-mmap64.o): This.
12273         (CFLAGS-epoll_pwait.os): New.
12274         (CFLAGS-mmap.os): Likewise.
12275         (CFLAGS-mmap64.os): Likewise.
12276         (CFLAGS-semtimedop.os): Likewise.
12277         (CFLAGS-semtimedop.c): Renamed to ...
12278         (CFLAGS-semtimedop.o): This.
12280 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12282         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
12283         warning message.
12285 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12287         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
12288         * Makefile ($(objpfx)c++-types-check.out): Filter out
12289         $(+gccwarn-c) instead of -Wstrict-prototypes.
12291         * io/fts.c (fts_open): Convert to prototype-style function
12292         definition.
12293         * malloc/mcheck.c (mcheck): Likewise.
12294         (mcheck_pedantic): Likewise.
12295         * posix/regexec.c (re_search_2_stub): Likewise.  Use
12296         internal_function.
12297         (re_search_internal): Likewise.
12298         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
12299         prototype-style function definition.
12300         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12301         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
12302         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
12303         (xdr_utmpptr): Likewise.
12304         (xdr_utmparr): Likewise.
12305         (xdr_utmpidle): Likewise.
12306         (xdr_utmpidleptr): Likewise.
12307         (xdr_utmpidlearr): Likewise.
12309         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
12310         log, log10 and log2.
12311         * math/auto-libm-test-out: Regenerated.
12312         * math/libm-test.inc (fmod_test_data): Add more tests.
12313         (fpclassify_test_data): Likewise.
12314         (frexp_test_data): Likewise.
12315         (hypot_test_data): Likewise.
12316         (ilogb_test_data): Likewise.
12318 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
12320         * debug/fortify_fail.c (__fortify_fail): Convert to
12321         prototype-style function definition.  Use internal_function.
12322         * libio/genops.c (save_for_backup): Convert to prototype-style
12323         function definition.
12324         * libio/wgenops.c (save_for_wbackup): Likewise.
12325         * login/grantpt.c (grantpt): Likewise.
12326         * login/ptsname.c (ptsname): Likewise.
12327         (__ptsname_r): Likewise.
12328         * login/unlockpt.c (unlockpt): Likewise.
12329         * mach/msgserver.c (__mach_msg_server): Likewise.
12330         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
12331         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
12332         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
12333         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
12334         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
12335         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
12336         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
12337         Likewise.
12338         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
12339         internal_function.
12340         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
12341         prototype-style function definition.
12342         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
12343         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
12344         (__pthread_create_2_0): Likewise.
12345         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
12346         * nptl/register-atfork.c (__register_atfork): Likewise.
12347         * posix/glob.c (glob): Likewise.
12348         * posix/regcomp.c (re_comp): Likewise.
12349         * posix/regexec.c (re_exec): Likewise.
12350         * stdlib/add_n.c [__STDC__]: Make code unconditional.
12351         [!__STDC__]: Remove conditional code.
12352         * stdlib/cmp.c [__STDC__]: Make code unconditional.
12353         [!__STDC__]: Remove conditional code.
12354         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
12355         [!__STDC__]: Remove conditional code.
12356         * stdlib/divrem.c [__STDC__]: Make code unconditional.
12357         [!__STDC__]: Remove conditional code.
12358         * stdlib/lshift.c [__STDC__]: Make code unconditional.
12359         [!__STDC__]: Remove conditional code.
12360         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
12361         [!__STDC__]: Remove conditional code.
12362         * stdlib/mul.c [__STDC__]: Make code unconditional.
12363         [!__STDC__]: Remove conditional code.
12364         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
12365         [!__STDC__]: Remove conditional code.
12366         * stdlib/rshift.c [__STDC__]: Make code unconditional.
12367         [!__STDC__]: Remove conditional code.
12368         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
12369         function definition.
12370         (STRTOF): Likewise.
12371         * stdlib/strtod_l.c (__STRTOF): Likewise.
12372         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
12373         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
12374         (__strtol_l): Likewise.
12375         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
12376         [!__STDC__]: Remove conditional code.
12377         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
12378         definition.
12379         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12380         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12381         type.
12382         (__strcasecmp): Convert to prototype-style function definition.
12383         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
12384         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12385         type.
12386         (__strncasecmp): Convert to prototype-style function definition.
12387         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
12388         * sunrpc/xdr.c (xdr_union): Likewise.
12389         * sunrpc/xdr_array.c (xdr_array): Likewise.
12390         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
12391         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
12392         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
12393         Likewise.
12394         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
12395         Likewise.
12396         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
12397         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12398         Likewise.
12399         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
12400         (LOCALE_PARAM_PROTO): Likewise.
12401         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
12402         argument type.
12403         (ut_argument_spec): Remove macro.
12404         (ut_argument_spec_iso): Rename to ut_argument_spec.
12405         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
12406         prototype-style function definition.
12407         (memcpy_uppcase): Likewise.
12408         (__strftime_internal): Likewise.
12409         (my_strftime): Likewise.
12410         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
12411         (LOCALE_PARAM_DECL): Likewise.
12412         [_LIBC] (LOCALE_PARAM): Include argument type.
12413         (__strptime_internal): Convert to prototype-style function
12414         definition.
12415         (strptime): Likewise.
12416         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12417         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12418         type.
12419         (__wcscasecmp): Convert to prototype-style function definition.
12420         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
12421         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12422         type.
12423         (__wcsncasecmp): Convert to prototype-style function definition.
12425         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
12426         function definition.
12427         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12428         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12429         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
12430         * elf/dl-minimal.c (_itoa): Likewise.
12431         * hurd/hurdmalloc.c (malloc): Likewise.
12432         (free): Likewise.
12433         (realloc): Likewise.
12434         * inet/inet6_option.c (inet6_option_space): Likewise.
12435         (inet6_option_init): Likewise.
12436         (inet6_option_append): Likewise.
12437         (inet6_option_alloc): Likewise.
12438         (inet6_option_next): Likewise.
12439         (inet6_option_find): Likewise.
12440         * io/ftw.c (FTW_NAME): Likewise.
12441         (NFTW_NAME): Likewise.
12442         (NFTW_NEW_NAME): Likewise.
12443         (NFTW_OLD_NAME): Likewise.
12444         * libio/iofwide.c (_IO_fwide): Likewise.
12445         * libio/strops.c (_IO_str_init_static_internal): Likewise.
12446         (_IO_str_init_static): Likewise.
12447         (_IO_str_init_readonly): Likewise.
12448         (_IO_str_overflow): Likewise.
12449         (_IO_str_underflow): Likewise.
12450         (_IO_str_count): Likewise.
12451         (_IO_str_seekoff): Likewise.
12452         (_IO_str_pbackfail): Likewise.
12453         (_IO_str_finish): Likewise.
12454         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
12455         (_IO_wstr_overflow): Likewise.
12456         (_IO_wstr_underflow): Likewise.
12457         (_IO_wstr_count): Likewise.
12458         (_IO_wstr_seekoff): Likewise.
12459         (_IO_wstr_pbackfail): Likewise.
12460         (_IO_wstr_finish): Likewise.
12461         * locale/programs/localedef.c (normalize_codeset): Likewise.
12462         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12463         (add_locales_to_archive): Likewise.
12464         (delete_locales_from_archive): Likewise.
12465         * malloc/malloc.c (__libc_mallinfo): Likewise.
12466         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
12467         * misc/tsearch.c (__tfind): Likewise.
12468         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
12469         * nptl/pthread_attr_getdetachstate.c
12470         (__pthread_attr_getdetachstate): Likewise.
12471         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
12472         Likewise.
12473         * nptl/pthread_attr_getinheritsched.c
12474         (__pthread_attr_getinheritsched): Likewise.
12475         * nptl/pthread_attr_getschedparam.c
12476         (__pthread_attr_getschedparam): Likewise.
12477         * nptl/pthread_attr_getschedpolicy.c
12478         (__pthread_attr_getschedpolicy): Likewise.
12479         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
12480         Likewise.
12481         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
12482         Likewise.
12483         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
12484         Likewise.
12485         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
12486         Likewise.
12487         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
12488         (__pthread_attr_init_2_0): Likewise.
12489         * nptl/pthread_attr_setdetachstate.c
12490         (__pthread_attr_setdetachstate): Likewise.
12491         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
12492         Likewise.
12493         * nptl/pthread_attr_setinheritsched.c
12494         (__pthread_attr_setinheritsched): Likewise.
12495         * nptl/pthread_attr_setschedparam.c
12496         (__pthread_attr_setschedparam): Likewise.
12497         * nptl/pthread_attr_setschedpolicy.c
12498         (__pthread_attr_setschedpolicy): Likewise.
12499         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
12500         Likewise.
12501         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
12502         Likewise.
12503         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
12504         Likewise.
12505         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
12506         Likewise.
12507         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
12508         Likewise.
12509         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
12510         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
12511         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
12512         use internal_function.
12513         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
12514         prototype-style function definition.
12515         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
12516         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
12517         internal_function.
12518         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
12519         Convert to prototype-style function definition.
12520         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12521         Likewise.
12522         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
12523         Likewise.
12524         (__pthread_mutex_unlock): Likewise.
12525         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
12526         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
12527         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
12528         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
12529         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
12530         * nss/makedb.c (process_input): Likewise.
12531         * posix/fnmatch.c (__strchrnul): Likewise.
12532         (__wcschrnul): Likewise.
12533         (fnmatch): Likewise.
12534         * posix/fnmatch_loop.c (FCT): Likewise.
12535         * posix/glob.c (globfree): Likewise.
12536         (__glob_pattern_type): Likewise.
12537         (__glob_pattern_p): Likewise.
12538         * posix/regcomp.c (re_compile_pattern): Likewise.
12539         (re_set_syntax): Likewise.
12540         (re_compile_fastmap): Likewise.
12541         (regcomp): Likewise.
12542         (regerror): Likewise.
12543         (regfree): Likewise.
12544         * posix/regexec.c (regexec): Likewise.
12545         (re_match): Likewise.
12546         (re_search): Likewise.
12547         (re_match_2): Likewise.
12548         (re_search_2): Likewise.
12549         (re_search_stub): Likewise.  Use internal_function
12550         (re_copy_regs): Likewise.
12551         (re_set_registers): Convert to prototype-style function
12552         definition.
12553         (prune_impossible_nodes): Likewise.  Use internal_function.
12554         * resolv/inet_net_pton.c (inet_net_pton): Convert to
12555         prototype-style function definition.
12556         (inet_net_pton_ipv4): Likewise.
12557         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12558         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
12559         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
12560         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
12561         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12562         Make variadic.
12563         * time/strptime_l.c (localtime_r): Convert to prototype-style
12564         function definition.
12565         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12566         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12567         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12568         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12570         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
12571         definition.
12572         (_ufc_doit_r): Likewise.
12573         * crypt/crypt_util.c (_ufc_copymem): Likewise.
12574         (_ufc_output_conversion_r): Likewise.
12575         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
12576         * inet/rcmd.c (rcmd_af): Likewise.
12577         (rcmd): Likewise.
12578         (ruserok_af): Likewise.
12579         (ruserok): Likewise.
12580         (ruserok2_sa): Likewise.
12581         (ruserok_sa): Likewise.
12582         (iruserok_af): Likewise.
12583         (iruserok): Likewise.
12584         (__ivaliduser): Likewise.
12585         (__validuser2_sa): Likewise.
12586         * inet/rexec.c (rexec_af): Likewise.
12587         (rexec): Likewise.
12588         * inet/ruserpass.c (ruserpass): Likewise.
12589         * locale/programs/xmalloc.c (xcalloc): Likewise.
12590         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
12591         * math/w_drem.c (__drem): Likewise.
12592         * math/w_dremf.c (__dremf): Likewise.
12593         * math/w_dreml.c (__dreml): Likewise.
12594         * misc/daemon.c (daemon): Likewise.
12595         * resolv/res_debug.c (p_fqnname): Likewise.
12596         * stdlib/div.c (div): Likewise.
12597         * string/memcmp.c (memcmp_bytes): Likewise.
12598         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
12599         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
12601         * crypt/cert.c (main): Convert to prototype-style function
12602         definition.
12603         * io/pipe.c (__pipe): Likewise.
12604         * io/pipe2.c (__pipe2): Likewise.
12605         * misc/futimesat.c (futimesat): Likewise.
12606         * misc/utimes.c (__utimes): Likewise.
12607         * posix/execve.c (__execve): Likewise.
12608         * posix/execvp.c (execvp): Likewise.
12609         * posix/execvpe.c (__execvpe): Likewise.
12610         * posix/fexecve.c (fexecve): Likewise.
12611         * socket/socketpair.c (socketpair): Likewise.
12612         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12613         * stdlib/erand48.c (erand48): Likewise.
12614         * stdlib/erand48_r.c (__erand48_r): Likewise.
12615         * stdlib/jrand48.c (jrand48): Likewise.
12616         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
12617         * stdlib/lcong48.c (lcong48): Likewise.
12618         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
12619         * stdlib/nrand48.c (nrand48): Likewise.
12620         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
12621         * stdlib/seed48.c (seed48): Likewise.
12622         * stdlib/seed48_r.c (__seed48_r): Likewise.
12623         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
12624         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
12625         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
12627 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12629         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
12630         * configure: Regenerated.
12631         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
12632         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
12633         unconditional.
12634         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12635         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12636         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12637         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
12638         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
12639         unconditional.
12640         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12642         * posix/Makefile (CFLAGS-regex.c): Remove variable.
12643         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
12645         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
12646         function definition.
12647         * crypt/crypt_util.c (__encrypt_r): Likewise.
12648         * libio/genops.c (_IO_no_init): Likewise.
12649         * libio/iofopncook.c (_IO_fopencookie): Likewise.
12650         (_IO_old_fopencookie): Likewise.
12651         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12652         * libio/iogetline.c (_IO_getline): Likewise.
12653         (_IO_getline_info): Likewise.
12654         * libio/iogetwline.c (_IO_getwline): Likewise.
12655         (_IO_getwline_info): Likewise.
12656         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
12657         * libio/vswprintf.c (_IO_vswprintf): Likewise.
12658         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
12659         (find_entry): Likewise.
12660         (iterate_table): Likewise.
12661         (lookup): Likewise.
12662         * login/forkpty.c (forkpty): Likewise.
12663         * misc/hsearch_r.c (__hsearch_r): Likewise.
12664         * misc/select.c (__select): Likewise.
12665         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
12666         Likewise.
12667         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
12668         Likewise.
12669         * nptl/old_pthread_cond_timedwait.c
12670         (__pthread_cond_timedwait_2_0): Likewise.
12671         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
12672         * nptl/pthread_barrierattr_getpshared.c
12673         (pthread_barrierattr_getpshared): Likewise.
12674         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
12675         Likewise.
12676         * nptl/pthread_mutex_setprioceiling.c
12677         (pthread_mutex_setprioceiling): Likewise.
12678         * nptl/pthread_mutexattr_getprioceiling.c
12679         (pthread_mutexattr_getprioceiling): Likewise.
12680         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
12681         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12682         Likewise.
12683         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12684         Likewise.
12685         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
12686         Likewise.
12687         * socket/recvfrom.c (__recvfrom): Likewise.
12688         * socket/sendto.c (__sendto): Likewise.
12689         * socket/setsockopt.c (__setsockopt): Likewise.
12690         * stdio-common/_itoa.c (_itoa): Likewise.
12691         * stdio-common/_itowa.c (_itowa): Likewise.
12692         * stdio-common/reg-printf.c (__register_printf_specifier):
12693         Likewise.
12694         (__register_printf_function): Likewise.
12695         * stdio-common/tempname.c (__path_search): Likewise.
12696         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
12697         * stdlib/mul_1.c (mpn_mul_1): Likewise.
12698         * stdlib/random_r.c (__initstate_r): Likewise.
12699         * stdlib/setenv.c (__add_to_environ): Likewise.
12700         * stdlib/submul_1.c (mpn_submul_1): Likewise.
12701         * streams/getpmsg.c (getpmsg): Likewise.
12702         * streams/putmsg.c (putmsg): Likewise.
12703         * streams/putpmsg.c (putpmsg): Likewise.
12704         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
12705         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12706         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
12707         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
12708         * sunrpc/pm_getport.c (pmap_getport): Likewise.
12709         * sunrpc/svc_udp.c (cache_get): Likewise.
12710         * sunrpc/xdr_array.c (xdr_vector): Likewise.
12711         * sysdeps/mach/hurd/getcwd.c
12712         (__canonicalize_directory_name_internal): Likewise.
12713         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
12714         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
12715         * sysdeps/mach/hurd/select.c (__select): Likewise.
12716         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12717         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12718         * sysdeps/sparc/nptl/pthread_barrier_init.c
12719         (__pthread_barrier_init): Likewise.
12720         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
12721         (__pthread_cond_timedwait): Likewise.
12722         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
12723         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
12724         Likewise.
12725         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
12726         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
12727         Likewise.
12728         * sysvipc/semtimedop.c (semtimedop): Likewise.
12729         * time/setitimer.c (__setitimer): Likewise.
12730         * time/strftime_l.c (emacs_strftime): Likewise.
12732 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12734         * config.make.in (have-ssp): Delete.
12735         (stack-protector): New variable.
12736         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
12737         cache test for -fstack-protector-strong.  Export stack_protector to
12738         the best ssp flag.
12739         * configure: Regenerated.
12740         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
12741         * nscd/Makefile (CFLAGS-nscd): Likewise.
12742         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12744 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
12746         [BZ #19122]
12747         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
12748         attribute_hidden.
12750 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12752         [BZ #18743]
12753         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
12754         code to...
12755         (ELIDE_LOCK): ...here.
12756         (__get_new_count): New function with part of the code from
12757         __elide_lock that updates the value of adapt_count after a
12758         transaction abort.
12759         (__elided_trylock): Moved this code to...
12760         (ELIDE_TRYLOCK): ...here.
12762 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12764         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
12765         * configure: Regenerate.
12766         * INSTALL: Regenerate.
12767         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
12768         and tweak grammar.
12770 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
12772         * login/programs/pt_chown.c: Include signal.h
12773         (main): Clear any signal mask from the parent process.
12775 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12777         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
12778         * configure: Regenerated.
12779         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
12780         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
12781         $(gnu89-inline-CFLAGS).
12783         * configure.ac (libc_cv_asm_weak_directive): Remove configure
12784         test.
12785         (libc_cv_asm_weakext_directive): Likewise.
12786         * configure: Regenerated.
12787         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
12788         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
12789         * include/libc-symbols.h
12790         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
12791         #error.
12792         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
12793         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
12795         * sysdeps/arm/backtrace.c (__backtrace): Convert to
12796         prototype-style function definition.
12797         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12798         * sysdeps/i386/ffs.c (__ffs): Likewise.
12799         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12800         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
12801         Likewise.
12802         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12803         Likewise.
12804         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12805         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12806         Likewise.
12807         * sysdeps/m68k/ffs.c (__ffs): Likewise.
12808         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
12809         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
12810         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
12811         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
12812         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
12813         * sysdeps/mach/hurd/access.c (__access): Likewise.
12814         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
12815         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
12816         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12817         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
12818         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
12819         (cthread_getspecific): Likewise.
12820         (cthread_setspecific): Likewise.
12821         (__libc_getspecific): Likewise.
12822         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
12823         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
12824         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
12825         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
12826         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
12827         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
12828         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
12829         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
12830         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
12831         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
12832         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
12833         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
12834         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
12835         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
12836         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
12837         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
12838         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
12839         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
12840         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
12841         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
12842         * sysdeps/mach/hurd/link.c (__link): Likewise.
12843         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
12844         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
12845         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12846         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
12847         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12848         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
12849         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
12850         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
12851         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12852         * sysdeps/mach/hurd/rename.c (rename): Likewise.
12853         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
12854         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12855         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
12856         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
12857         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
12858         * sysdeps/mach/hurd/send.c (__send): Likewise.
12859         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
12860         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
12861         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
12862         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
12863         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
12864         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
12865         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
12866         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
12867         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
12868         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
12869         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
12870         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
12871         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
12872         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
12873         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
12874         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12875         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
12876         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12877         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
12878         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12879         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12880         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12881         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12882         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12883         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12884         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12885         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12886         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12887         * sysdeps/posix/alarm.c (alarm): Likewise.
12888         * sysdeps/posix/cuserid.c (cuserid): Likewise.
12889         * sysdeps/posix/dirfd.c (dirfd): Likewise.
12890         * sysdeps/posix/dup.c (__dup): Likewise.
12891         * sysdeps/posix/dup2.c (__dup2): Likewise.
12892         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
12893         (main): Likewise.
12894         * sysdeps/posix/flock.c (__flock): Likewise.
12895         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
12896         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12897         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
12898         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
12899         * sysdeps/posix/isatty.c (__isatty): Likewise.
12900         * sysdeps/posix/killpg.c (killpg): Likewise.
12901         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12902         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
12903         * sysdeps/posix/raise.c (raise): Likewise.
12904         * sysdeps/posix/remove.c (remove): Likewise.
12905         * sysdeps/posix/rename.c (rename): Likewise.
12906         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
12907         * sysdeps/posix/seekdir.c (seekdir): Likewise.
12908         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12909         * sysdeps/posix/sigignore.c (sigignore): Likewise.
12910         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
12911         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12912         * sysdeps/posix/sigset.c (sigset): Likewise.
12913         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
12914         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
12915         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
12916         * sysdeps/posix/time.c (time): Likewise.
12917         * sysdeps/posix/ttyname.c (getttyname): Likewise.
12918         (ttyname): Likewise.
12919         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
12920         * sysdeps/posix/utime.c (utime): Likewise.
12921         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
12922         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12923         Likewise.
12924         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
12925         (pthread_spin_trylock): Likewise.
12926         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
12927         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
12928         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
12929         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
12930         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
12931         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
12932         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
12933         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
12934         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
12935         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
12936         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
12937         * sysdeps/s390/ffs.c (__ffs): Likewise.
12938         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
12939         Likewise.
12940         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12941         Likewise.
12942         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
12943         Likewise.
12944         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
12945         (pthread_barrier_destroy): Likewise.
12946         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12947         (__pthread_barrier_wait): Likewise.
12948         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
12949         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12950         (__pthread_barrier_wait): Likewise.
12951         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
12952         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
12953         (memcmp_not_common_alignment): Likewise.
12954         (MEMCMP): Likewise.
12955         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
12956         (_wordcopy_fwd_dest_aligned): Likewise.
12957         (_wordcopy_bwd_aligned): Likewise.
12958         (_wordcopy_bwd_dest_aligned): Likewise.
12959         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
12960         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
12961         * sysdeps/unix/bsd/stty.c (stty): Likewise.
12962         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
12963         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
12964         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
12965         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
12966         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
12967         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
12968         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
12969         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
12970         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12971         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
12972         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
12973         * sysdeps/unix/stime.c (stime): Likewise.
12974         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
12975         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
12976         Likewise.  Use internal_function.
12977         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
12978         Convert to prototype-style function definition.
12979         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12980         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12981         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
12982         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12983         Likewise.  Use internal_function.
12984         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
12985         prototype-style function definition
12986         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12987         Likewise.
12988         (__getlogin_r): Likewise.
12989         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
12990         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
12991         (__pthread_cond_broadcast): Likewise.
12992         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
12993         (__pthread_cond_destroy): Likewise.
12994         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
12995         (__pthread_cond_init): Likewise.
12996         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
12997         (__pthread_cond_signal): Likewise.
12998         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
12999         (__pthread_cond_wait): Likewise.
13000         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
13001         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13002         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
13003         Likewise.
13004         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
13005         Likewise.
13006         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
13007         Likewise.
13008         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
13009         Likewise.
13010         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
13011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
13012         (__ftruncate64): Likewise.
13013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
13014         (truncate64): Likewise.
13015         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
13016         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
13017         (pthread_getcpuclockid): Likewise.
13018         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
13019         Likewise.
13020         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
13021         Likewise.
13022         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
13023         Likewise.
13024         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13025         Likewise.
13026         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
13027         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
13028         (__libc_sigaction): Likewise.
13029         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
13030         Likewise.
13031         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
13032         (__sigprocmask): Likewise.
13033         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
13034         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
13035         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
13036         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13037         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13038         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
13039         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13040         Likewise.
13041         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
13042         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
13043         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13044         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
13045         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
13046         Likewise.
13047         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
13048         (__sigprocmask): Likewise.
13049         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
13050         (cfgetispeed): Likewise.
13051         (cfsetospeed): Likewise.
13052         (cfsetispeed): Likewise.
13053         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
13054         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
13055         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13056         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13057         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
13058         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
13059         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
13060         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
13061         Likewise.
13062         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
13063         Likewise.
13064         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
13065         Likewise.
13066         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
13067         Likewise.
13068         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13070 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13072         sunrpc: Rewrite with explicit TLS access using __thread.
13073         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
13074         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
13075         directly.
13076         (__rpc_thread_variables): Access thread_rpc_vars directly.
13077         Eliminate redundant assignment of the tvp variable.
13079 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13081         malloc: Rewrite with explicit TLS access using __thread.
13082         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
13083         (tsd_setspecific, tsd_getspecific): Remove.
13084         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
13085         (tsd_setspecific, tsd_getspecific): Likewise.
13086         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
13087         (tsd_setspecific, tsd_getspecific): Likewise.
13088         * malloc/arena.c (thread_arena): New TLS variable.
13089         (arena_key): Remove variable.
13090         (arena_get): Use thread_arena.
13091         (arena_lookup): Remove macro.
13092         (malloc_atfork, free_atfork, ptmalloc_lock_all)
13093         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
13094         (_int_new_arena, get_free_list, reused_arena)
13095         (arena_thread_freeres): Use thread_arena.
13096         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
13097         tsd_getspecific, tsd_setspecific from safety annotations.
13098         (Allocating Cleared Space): Remove arena_lookup from safety
13099         annotations.
13101 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13103         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
13104         struct scratch_buffer instead of extend_alloca.
13106 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13108         * sysdeps/unix/sysv/linux/kernel-features.h
13109         (__ASSUME_SOCK_CLOEXEC): Remove.
13110         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
13111         (__have_paccept): Remove unused macro.
13112         * include/unistd.h (__have_sock_cloexec): Remove declaration.
13113         * misc/syslog.c (openlog_internal): Remove fallback code for
13114         !__ASSUME_SOCK_CLOEXEC.
13115         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
13116         missing SOCK_CLOEXEC.
13117         * nscd/connections.c (have_sock_cloexec): Remove definition.
13118         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13119         * nscd/nscd_helper.c (open_socket): Remove fallback code for
13120         !__ASSUME_SOCK_CLOEXEC.
13121         * resolv/res_send.c (__have_o_nonblock): Remove definition.
13122         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13123         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
13124         definition.
13125         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
13126         code for !__ASSUME_SOCK_CLOEXEC.
13128 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13130         [BZ #18982]
13131         * manual/stdio.texi (Variable Arguments Output): Add portability
13132         note, explaining that vfprintf clobbers the va_list pointer.
13134 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13136         * math/libm-test.inc (fabs_test_data): Add more tests.
13137         (fdim_test_data): Likewise.
13138         (fma_test_data): Likewise.
13139         (fmax_test_data): Likewise.
13140         (fmin_test_data): Likewise.
13141         (fmod_test_data): Likewise.
13143 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
13145         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
13146         data.
13148 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13150         * math/libm-test.inc (ceil_test_data): Add more tests and more
13151         expectations for "inexact".
13152         (floor_test_data): Add more tests.
13153         (round_test_data): Likewise.
13154         (trunc_test_data): Likewise.
13156         * crypt/cert.c (good_bye): Convert to prototype-style function
13157         definition.
13158         (get8): Likewise.
13159         (put8): Likewise.
13160         * crypt/crypt-entry.c (crypt): Likewise.
13161         (__fcrypt): Likewise.
13162         * crypt/crypt_util.c (_ufc_prbits): Likewise.
13163         (_ufc_set_bits): Likewise.
13164         (_ufc_clearmem): Likewise.
13165         (__init_des_r): Likewise.
13166         (shuffle_sb): Likewise.
13167         (shuffle_sb): Likewise.
13168         (_ufc_setup_salt_r): Likewise.
13169         (_ufc_mk_keytab_r): Likewise.
13170         (_ufc_dofinalperm_r): Likewise.
13171         (encrypt): Likewise.
13172         (__setkey_r): Likewise.
13173         (setkey): Likewise.
13174         * crypt/md5.c (md5_init_ctx): Likewise.
13175         (md5_read_ctx): Likewise.
13176         (md5_finish_ctx): Likewise.
13177         (md5_stream): Likewise.
13178         (md5_buffer): Likewise.
13179         (md5_process_bytes): Likewise.
13180         * crypt/sha256.c (__sha256_init_ctx): Likewise.
13181         (__sha256_finish_ctx): Likewise.
13182         (__sha256_process_bytes): Likewise.
13183         * crypt/sha512.c (__sha512_init_ctx): Likewise.
13184         (__sha512_finish_ctx): Likewise.
13185         (__sha512_process_bytes): Likewise.
13186         * ctype/isctype.c (__isctype): Likewise.
13187         * debug/backtrace.c (__backtrace): Likewise.
13188         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
13189         * debug/fgets_chk.c (__fgets_chk): Likewise.
13190         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
13191         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
13192         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13193         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13194         * debug/memset_chk.c (__memset_chk): Likewise.
13195         * debug/strcat_chk.c (__strcat_chk): Likewise.
13196         * debug/strncat_chk.c (__strncat_chk): Likewise.
13197         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
13198         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
13199         * dirent/dirfd.c (dirfd): Likewise.
13200         * dirent/getdents.c (__getdirentries): Likewise.
13201         * dirent/getdents64.c (getdirentries64): Likewise.
13202         * dirent/rewinddir.c (__rewinddir): Likewise.
13203         * dirent/seekdir.c (seekdir): Likewise.
13204         * dirent/telldir.c (telldir): Likewise.
13205         * elf/sln.c (makesymlinks): Likewise.
13206         (makesymlink): Likewise.
13207         * gmon/gmon.c (__moncontrol): Likewise.
13208         (__monstartup): Likewise.
13209         (write_hist): Likewise.
13210         (write_call_graph): Likewise.
13211         (write_bb_counts): Likewise.
13212         * grp/setgroups.c (setgroups): Likewise.
13213         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13214         * inet/inet_net.c (inet_network): Likewise.
13215         * inet/inet_netof.c (inet_netof): Likewise.
13216         * inet/rcmd.c (rresvport_af): Likewise.
13217         (rresvport): Likewise.
13218         * io/access.c (__access): Likewise.
13219         * io/chdir.c (__chdir): Likewise.
13220         * io/chmod.c (__chmod): Likewise.
13221         * io/chown.c (__chown): Likewise.
13222         * io/close.c (__close): Likewise.
13223         * io/creat.c (creat): Likewise.
13224         * io/creat64.c (creat64): Likewise.
13225         * io/dup.c (__dup): Likewise.
13226         * io/dup2.c (__dup2): Likewise.
13227         * io/dup3.c (__dup3): Likewise.
13228         * io/euidaccess.c (__euidaccess): Likewise.
13229         * io/faccessat.c (faccessat): Likewise.
13230         * io/fchmod.c (__fchmod): Likewise.
13231         * io/fchmodat.c (fchmodat): Likewise.
13232         * io/fchown.c (__fchown): Likewise.
13233         * io/fchownat.c (fchownat): Likewise.
13234         * io/fcntl.c (__fcntl): Likewise.
13235         * io/flock.c (__flock): Likewise.
13236         * io/fts.c (fts_load): Likewise.
13237         (fts_close): Likewise.
13238         (fts_read): Likewise.
13239         (fts_set): Likewise.
13240         (fts_children): Likewise.
13241         (fts_build): Likewise.
13242         (fts_stat): Likewise.
13243         (fts_sort): Likewise.
13244         (fts_alloc): Likewise.
13245         (fts_lfree): Likewise.
13246         (fts_palloc): Likewise.
13247         (fts_padjust): Likewise.
13248         (fts_maxarglen): Likewise.
13249         (fts_safe_changedir): Likewise.
13250         * io/getwd.c (getwd): Likewise.
13251         * io/isatty.c (__isatty): Likewise.
13252         * io/lchown.c (__lchown): Likewise.
13253         * io/link.c (__link): Likewise.
13254         * io/linkat.c (linkat): Likewise.
13255         * io/lseek.c (__libc_lseek): Likewise.
13256         * io/mkdir.c (__mkdir): Likewise.
13257         * io/mkdirat.c (mkdirat): Likewise.
13258         * io/mkfifo.c (mkfifo): Likewise.
13259         * io/mkfifoat.c (mkfifoat): Likewise.
13260         * io/open.c (__libc_open): Likewise.
13261         * io/open64.c (__libc_open64): Likewise.
13262         * io/readlink.c (__readlink): Likewise.
13263         * io/readlinkat.c (readlinkat): Likewise.
13264         * io/rmdir.c (__rmdir): Likewise.
13265         * io/symlink.c (__symlink): Likewise.
13266         * io/symlinkat.c (symlinkat): Likewise.
13267         * io/ttyname.c (ttyname): Likewise.
13268         * io/ttyname_r.c (__ttyname_r): Likewise.
13269         * io/umask.c (__umask): Likewise.
13270         * io/unlink.c (__unlink): Likewise.
13271         * io/unlinkat.c (unlinkat): Likewise.
13272         * io/utime.c (utime): Likewise.
13273         * libio/clearerr.c (clearerr): Likewise.
13274         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
13275         * libio/feof.c (_IO_feof): Likewise.
13276         * libio/feof_u.c (feof_unlocked): Likewise.
13277         * libio/ferror.c (_IO_ferror): Likewise.
13278         * libio/ferror_u.c (ferror_unlocked): Likewise.
13279         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13280         * libio/fileno.c (__fileno): Likewise.
13281         * libio/fputc.c (fputc): Likewise.
13282         * libio/fputc_u.c (fputc_unlocked): Likewise.
13283         * libio/fputwc.c (fputwc): Likewise.
13284         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
13285         * libio/freopen.c (freopen): Likewise.
13286         * libio/freopen64.c (freopen64): Likewise.
13287         * libio/fseek.c (fseek): Likewise.
13288         * libio/fseeko.c (fseeko): Likewise.
13289         * libio/fseeko64.c (fseeko64): Likewise.
13290         * libio/ftello.c (__ftello): Likewise.
13291         * libio/ftello64.c (ftello64): Likewise.
13292         * libio/fwide.c (fwide): Likewise.
13293         * libio/genops.c (_IO_un_link): Likewise.
13294         (_IO_link_in): Likewise.
13295         (_IO_least_marker): Likewise.
13296         (_IO_switch_to_main_get_area): Likewise.
13297         (_IO_switch_to_backup_area): Likewise.
13298         (_IO_switch_to_get_mode): Likewise.
13299         (_IO_free_backup_area): Likewise.
13300         (_IO_switch_to_put_mode): Likewise.
13301         (__overflow): Likewise.
13302         (__underflow): Likewise.
13303         (__uflow): Likewise.
13304         (_IO_setb): Likewise.
13305         (_IO_doallocbuf): Likewise.
13306         (_IO_default_underflow): Likewise.
13307         (_IO_default_uflow): Likewise.
13308         (_IO_default_xsputn): Likewise.
13309         (_IO_sgetn): Likewise.
13310         (_IO_default_xsgetn): Likewise.
13311         (_IO_sync): Likewise.
13312         (_IO_default_setbuf): Likewise.
13313         (_IO_default_seekpos): Likewise.
13314         (_IO_default_doallocate): Likewise.
13315         (_IO_init): Likewise.
13316         (_IO_old_init): Likewise.
13317         (_IO_default_sync): Likewise.
13318         (_IO_default_finish): Likewise.
13319         (_IO_default_seekoff): Likewise.
13320         (_IO_sputbackc): Likewise.
13321         (_IO_sungetc): Likewise.
13322         (_IO_set_column): Likewise.
13323         (_IO_set_column): Likewise.
13324         (_IO_adjust_column): Likewise.
13325         (_IO_get_column): Likewise.
13326         (_IO_init_marker): Likewise.
13327         (_IO_remove_marker): Likewise.
13328         (_IO_marker_difference): Likewise.
13329         (_IO_marker_delta): Likewise.
13330         (_IO_seekmark): Likewise.
13331         (_IO_unsave_markers): Likewise.
13332         (_IO_nobackup_pbackfail): Likewise.
13333         (_IO_default_pbackfail): Likewise.
13334         (_IO_default_seek): Likewise.
13335         (_IO_default_stat): Likewise.
13336         (_IO_default_read): Likewise.
13337         (_IO_default_write): Likewise.
13338         (_IO_default_showmanyc): Likewise.
13339         (_IO_default_imbue): Likewise.
13340         (_IO_iter_next): Likewise.
13341         (_IO_iter_file): Likewise.
13342         * libio/getc.c (_IO_getc): Likewise.
13343         * libio/getwc.c (_IO_getwc): Likewise.
13344         * libio/iofclose.c (_IO_new_fclose): Likewise.
13345         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13346         * libio/iofflush.c (_IO_fflush): Likewise.
13347         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
13348         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
13349         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
13350         * libio/iofgets.c (_IO_fgets): Likewise.
13351         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
13352         * libio/iofgetws.c (fgetws): Likewise.
13353         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13354         * libio/iofopen64.c (_IO_fopen64): Likewise.
13355         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13356         (_IO_cookie_write): Likewise.
13357         (_IO_cookie_seek): Likewise.
13358         (_IO_cookie_close): Likewise.
13359         (_IO_cookie_seekoff): Likewise.
13360         (_IO_old_cookie_seek): Likewise.
13361         * libio/iofputs.c (_IO_fputs): Likewise.
13362         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
13363         * libio/iofputws.c (fputws): Likewise.
13364         * libio/iofputws_u.c (fputws_unlocked): Likewise.
13365         * libio/iofread.c (_IO_fread): Likewise.
13366         * libio/iofread_u.c (__fread_unlocked): Likewise.
13367         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
13368         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
13369         * libio/ioftell.c (_IO_ftell): Likewise.
13370         * libio/iofwrite.c (_IO_fwrite): Likewise.
13371         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13372         * libio/iogets.c (_IO_gets): Likewise.
13373         * libio/iopadn.c (_IO_padn): Likewise.
13374         * libio/iopopen.c (_IO_new_proc_open): Likewise.
13375         (_IO_new_popen): Likewise.
13376         (_IO_new_proc_close): Likewise.
13377         * libio/ioputs.c (_IO_puts): Likewise.
13378         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
13379         (_IO_seekoff): Likewise.
13380         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
13381         (_IO_seekpos): Likewise.
13382         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
13383         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
13384         * libio/ioungetc.c (_IO_ungetc): Likewise.
13385         * libio/ioungetwc.c (ungetwc): Likewise.
13386         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13387         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
13388         * libio/iowpadn.c (_IO_wpadn): Likewise.
13389         * libio/libc_fatal.c (__libc_fatal): Likewise.
13390         * libio/memstream.c (__open_memstream): Likewise.
13391         (_IO_mem_sync): Likewise.
13392         (_IO_mem_finish): Likewise.
13393         * libio/oldfileops.c (_IO_old_file_init): Likewise.
13394         (_IO_old_file_close_it): Likewise.
13395         (_IO_old_file_finish): Likewise.
13396         (_IO_old_file_fopen): Likewise.
13397         (_IO_old_file_attach): Likewise.
13398         (_IO_old_file_setbuf): Likewise.
13399         (_IO_old_do_write): Likewise.
13400         (old_do_write): Likewise.
13401         (_IO_old_file_underflow): Likewise.
13402         (_IO_old_file_overflow): Likewise.
13403         (_IO_old_file_sync): Likewise.
13404         (_IO_old_file_seekoff): Likewise.
13405         (_IO_old_file_write): Likewise.
13406         (_IO_old_file_xsputn): Likewise.
13407         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
13408         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13409         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
13410         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
13411         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13412         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
13413         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
13414         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
13415         (_IO_old_popen): Likewise.
13416         (_IO_old_proc_close): Likewise.
13417         * libio/oldpclose.c (__old_pclose): Likewise.
13418         * libio/pclose.c (__new_pclose): Likewise.
13419         * libio/peekc.c (_IO_peekc_locked): Likewise.
13420         * libio/putc.c (_IO_putc): Likewise.
13421         * libio/putc_u.c (putc_unlocked): Likewise.
13422         * libio/putchar.c (putchar): Likewise.
13423         * libio/putchar_u.c (putchar_unlocked): Likewise.
13424         * libio/putwc.c (putwc): Likewise.
13425         * libio/putwc_u.c (putwc_unlocked): Likewise.
13426         * libio/putwchar.c (putwchar): Likewise.
13427         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
13428         * libio/rewind.c (rewind): Likewise.
13429         * libio/setbuf.c (setbuf): Likewise.
13430         * libio/setlinebuf.c (setlinebuf): Likewise.
13431         * libio/vasprintf.c (_IO_vasprintf): Likewise.
13432         * libio/vscanf.c (_IO_vscanf): Likewise.
13433         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
13434         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
13435         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13436         * libio/wgenops.c (_IO_least_wmarker): Likewise.
13437         (_IO_switch_to_main_wget_area): Likewise.
13438         (_IO_switch_to_wbackup_area): Likewise.
13439         (_IO_wsetb): Likewise.
13440         (_IO_wdefault_pbackfail): Likewise.
13441         (_IO_wdefault_finish): Likewise.
13442         (_IO_wdefault_uflow): Likewise.
13443         (__woverflow): Likewise.
13444         (__wuflow): Likewise.
13445         (__wunderflow): Likewise.
13446         (_IO_wdefault_xsputn): Likewise.
13447         (_IO_wdefault_xsgetn): Likewise.
13448         (_IO_wdoallocbuf): Likewise.
13449         (_IO_wdefault_doallocate): Likewise.
13450         (_IO_switch_to_wget_mode): Likewise.
13451         (_IO_free_wbackup_area): Likewise.
13452         (_IO_switch_to_wput_mode): Likewise.
13453         (_IO_sputbackwc): Likewise.
13454         (_IO_sungetwc): Likewise.
13455         (_IO_adjust_wcolumn): Likewise.
13456         (_IO_init_wmarker): Likewise.
13457         (_IO_wmarker_delta): Likewise.
13458         (_IO_seekwmark): Likewise.
13459         (_IO_unsave_wmarkers): Likewise.
13460         * libio/wmemstream.c (open_wmemstream): Likewise.
13461         (_IO_wmem_sync): Likewise.
13462         (_IO_wmem_finish): Likewise.
13463         * locale/nl_langinfo.c (nl_langinfo): Likewise.
13464         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
13465         * locale/programs/simple-hash.c (init_hash): Likewise.
13466         (delete_hash): Likewise.
13467         (insert_entry): Likewise.
13468         (set_entry): Likewise.
13469         (next_prime): Likewise.
13470         (is_prime): Likewise.
13471         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
13472         (xmalloc): Likewise.
13473         (xrealloc): Likewise.
13474         * locale/programs/xstrdup.c (xstrdup): Likewise.
13475         * localedata/collate-test.c (xstrcoll): Likewise.
13476         * localedata/xfrm-test.c (xstrcmp): Likewise.
13477         * login/getlogin_r.c (__getlogin_r): Likewise.
13478         * login/getpt.c (__posix_openpt): Likewise.
13479         * login/login_tty.c (login_tty): Likewise.
13480         * login/setlogin.c (setlogin): Likewise.
13481         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
13482         (mach_msg_destroy_port): Likewise.
13483         (mach_msg_destroy_memory): Likewise.
13484         * malloc/mcheck.c (flood): Likewise.
13485         * misc/acct.c (acct): Likewise.
13486         * misc/brk.c (__brk): Likewise.
13487         * misc/chflags.c (chflags): Likewise.
13488         * misc/chroot.c (chroot): Likewise.
13489         * misc/fchflags.c (fchflags): Likewise.
13490         * misc/fstab.c (getfsspec): Likewise.
13491         (getfsfile): Likewise.
13492         * misc/fsync.c (fsync): Likewise.
13493         * misc/ftruncate.c (__ftruncate): Likewise.
13494         * misc/ftruncate64.c (__ftruncate64): Likewise.
13495         * misc/getdomain.c (getdomainname): Likewise.
13496         (getdomainname): Likewise.
13497         * misc/gethostname.c (__gethostname): Likewise.
13498         * misc/getpass.c (getpass): Likewise.
13499         * misc/getttyent.c (skip): Likewise.
13500         (value): Likewise.
13501         * misc/gtty.c (gtty): Likewise.
13502         * misc/hsearch.c (hsearch): Likewise.
13503         (hcreate): Likewise.
13504         * misc/hsearch_r.c (__hcreate_r): Likewise.
13505         (__hdestroy_r): Likewise.
13506         * misc/ioctl.c (__ioctl): Likewise.
13507         * misc/mkdtemp.c (mkdtemp): Likewise.
13508         * misc/mkostemp.c (mkostemp): Likewise.
13509         * misc/mkostemp64.c (mkostemp64): Likewise.
13510         * misc/mkostemps.c (mkostemps): Likewise.
13511         * misc/mkostemps64.c (mkostemps64): Likewise.
13512         * misc/mkstemp.c (mkstemp): Likewise.
13513         * misc/mkstemp64.c (mkstemp64): Likewise.
13514         * misc/mkstemps.c (mkstemps): Likewise.
13515         * misc/mkstemps64.c (mkstemps64): Likewise.
13516         * misc/mktemp.c (__mktemp): Likewise.
13517         * misc/preadv.c (preadv): Likewise.
13518         * misc/preadv64.c (preadv64): Likewise.
13519         * misc/pwritev.c (pwritev): Likewise.
13520         * misc/pwritev64.c (pwritev64): Likewise.
13521         * misc/readv.c (__readv): Likewise.
13522         * misc/revoke.c (revoke): Likewise.
13523         * misc/setdomain.c (setdomainname): Likewise.
13524         * misc/setegid.c (setegid): Likewise.
13525         * misc/seteuid.c (seteuid): Likewise.
13526         * misc/sethostid.c (sethostid): Likewise.
13527         * misc/sethostname.c (sethostname): Likewise.
13528         * misc/setregid.c (__setregid): Likewise.
13529         * misc/setreuid.c (__setreuid): Likewise.
13530         * misc/sstk.c (sstk): Likewise.
13531         * misc/stty.c (stty): Likewise.
13532         * misc/syscall.c (syscall): Likewise.
13533         * misc/syslog.c (setlogmask): Likewise.
13534         * misc/truncate.c (__truncate): Likewise.
13535         * misc/truncate64.c (truncate64): Likewise.
13536         * misc/ualarm.c (ualarm): Likewise.
13537         * misc/usleep.c (usleep): Likewise.
13538         * misc/ustat.c (ustat): Likewise.
13539         * misc/writev.c (__writev): Likewise.
13540         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
13541         * nptl/old_pthread_cond_broadcast.c
13542         (__pthread_cond_broadcast_2_0): Likewise.
13543         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
13544         Likewise.
13545         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
13546         Likewise.
13547         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
13548         Likewise.
13549         * nptl/pt-raise.c (raise): Likewise.
13550         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
13551         Likewise.
13552         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
13553         * nptl/pthread_barrierattr_destroy.c
13554         (pthread_barrierattr_destroy): Likewise.
13555         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
13556         Likewise.
13557         * nptl/pthread_barrierattr_setpshared.c
13558         (pthread_barrierattr_setpshared): Likewise.
13559         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13560         Likewise.
13561         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
13562         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
13563         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
13564         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
13565         Likewise.
13566         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
13567         Likewise.
13568         * nptl/pthread_condattr_getpshared.c
13569         (pthread_condattr_getpshared): Likewise.
13570         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
13571         Likewise.
13572         * nptl/pthread_condattr_setpshared.c
13573         (pthread_condattr_setpshared): Likewise.
13574         * nptl/pthread_detach.c (pthread_detach): Likewise.
13575         * nptl/pthread_equal.c (__pthread_equal): Likewise.
13576         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
13577         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
13578         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
13579         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
13580         Likewise.
13581         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
13582         Likewise.
13583         * nptl/pthread_mutex_getprioceiling.c
13584         (pthread_mutex_getprioceiling): Likewise.
13585         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
13586         Likewise.
13587         * nptl/pthread_mutexattr_getprotocol.c
13588         (pthread_mutexattr_getprotocol): Likewise.
13589         * nptl/pthread_mutexattr_getpshared.c
13590         (pthread_mutexattr_getpshared): Likewise.
13591         * nptl/pthread_mutexattr_getrobust.c
13592         (pthread_mutexattr_getrobust): Likewise.
13593         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13594         Likewise.
13595         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
13596         Likewise.
13597         * nptl/pthread_mutexattr_setprioceiling.c
13598         (pthread_mutexattr_setprioceiling): Likewise.
13599         * nptl/pthread_mutexattr_setprotocol.c
13600         (pthread_mutexattr_setprotocol): Likewise.
13601         * nptl/pthread_mutexattr_setpshared.c
13602         (pthread_mutexattr_setpshared): Likewise.
13603         * nptl/pthread_mutexattr_setrobust.c
13604         (pthread_mutexattr_setrobust): Likewise.
13605         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
13606         Likewise.
13607         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
13608         Likewise.
13609         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
13610         Likewise.
13611         * nptl/pthread_rwlockattr_getkind_np.c
13612         (pthread_rwlockattr_getkind_np): Likewise.
13613         * nptl/pthread_rwlockattr_getpshared.c
13614         (pthread_rwlockattr_getpshared): Likewise.
13615         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
13616         Likewise.
13617         * nptl/pthread_rwlockattr_setkind_np.c
13618         (pthread_rwlockattr_setkind_np): Likewise.
13619         * nptl/pthread_rwlockattr_setpshared.c
13620         (pthread_rwlockattr_setpshared): Likewise.
13621         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
13622         Likewise.
13623         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
13624         Likewise.
13625         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
13626         Likewise.
13627         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
13628         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
13629         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
13630         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
13631         * nptl/sem_close.c (sem_close): Likewise.
13632         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
13633         * nptl/sem_init.c (__old_sem_init): Likewise.
13634         * nptl/sigaction.c (__sigaction): Likewise.
13635         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13636         * posix/_exit.c (_exit): Likewise.
13637         * posix/alarm.c (alarm): Likewise.
13638         * posix/confstr.c (confstr): Likewise.
13639         * posix/fpathconf.c (__fpathconf): Likewise.
13640         * posix/getgroups.c (__getgroups): Likewise.
13641         * posix/getpgid.c (__getpgid): Likewise.
13642         * posix/group_member.c (__group_member): Likewise.
13643         * posix/pathconf.c (__pathconf): Likewise.
13644         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
13645         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
13646         * posix/setgid.c (__setgid): Likewise.
13647         * posix/setpgid.c (__setpgid): Likewise.
13648         * posix/setuid.c (__setuid): Likewise.
13649         * posix/sleep.c (__sleep): Likewise.
13650         * posix/sysconf.c (__sysconf): Likewise.
13651         * posix/times.c (__times): Likewise.
13652         * posix/uname.c (__uname): Likewise.
13653         * posix/waitid.c (__waitid): Likewise.
13654         * pwd/getpw.c (__getpw): Likewise.
13655         * resolv/base64.c (b64_pton): Likewise.
13656         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
13657         * resolv/gethnamaddr.c (Dprintf): Likewise.
13658         (gethostbyname): Likewise.
13659         (gethostbyname2): Likewise.
13660         (gethostbyaddr): Likewise.
13661         (_sethtent): Likewise.
13662         (_gethtbyname): Likewise.
13663         (_gethtbyname2): Likewise.
13664         (_gethtbyaddr): Likewise.
13665         (map_v4v6_address): Likewise.
13666         (map_v4v6_hostent): Likewise.
13667         (addrsort): Likewise.
13668         (ht_sethostent): Likewise.
13669         (ht_gethostbyname): Likewise.
13670         (ht_gethostbyaddr): Likewise.
13671         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
13672         (inet_net_ntop_ipv4): Likewise.
13673         * resolv/inet_neta.c (inet_neta): Likewise.
13674         * resolv/inet_ntop.c (inet_ntop): Likewise.
13675         (inet_ntop4): Likewise.
13676         (inet_ntop6): Likewise.
13677         * resolv/inet_pton.c (__inet_pton): Likewise.
13678         (inet_pton4): Likewise.
13679         (inet_pton6): Likewise.
13680         * resolv/res_debug.c (loc_aton): Likewise.
13681         (loc_ntoa): Likewise.
13682         * resource/getpriority.c (__getpriority): Likewise.
13683         * resource/getrusage.c (__getrusage): Likewise.
13684         * resource/nice.c (nice): Likewise.
13685         * resource/setpriority.c (__setpriority): Likewise.
13686         * resource/setrlimit64.c (setrlimit64): Likewise.
13687         * resource/vlimit.c (vlimit): Likewise.
13688         * resource/vtimes.c (vtimes): Likewise.
13689         * rt/aio_error.c (aio_error): Likewise.
13690         * rt/aio_return.c (aio_return): Likewise.
13691         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
13692         * signal/kill.c (__kill): Likewise.
13693         * signal/killpg.c (killpg): Likewise.
13694         * signal/raise.c (raise): Likewise.
13695         * signal/sigaction.c (__sigaction): Likewise.
13696         * signal/sigaddset.c (sigaddset): Likewise.
13697         * signal/sigaltstack.c (sigaltstack): Likewise.
13698         * signal/sigandset.c (sigandset): Likewise.
13699         * signal/sigblock.c (__sigblock): Likewise.
13700         * signal/sigdelset.c (sigdelset): Likewise.
13701         * signal/sigempty.c (sigemptyset): Likewise.
13702         * signal/sigfillset.c (sigfillset): Likewise.
13703         * signal/sighold.c (sighold): Likewise.
13704         * signal/sigignore.c (sigignore): Likewise.
13705         * signal/sigintr.c (siginterrupt): Likewise.
13706         * signal/sigisempty.c (sigisemptyset): Likewise.
13707         * signal/sigismem.c (sigismember): Likewise.
13708         * signal/signal.c (signal): Likewise.
13709         * signal/sigorset.c (sigorset): Likewise.
13710         * signal/sigpause.c (__sigpause): Likewise.
13711         * signal/sigpending.c (sigpending): Likewise.
13712         * signal/sigprocmask.c (__sigprocmask): Likewise.
13713         * signal/sigrelse.c (sigrelse): Likewise.
13714         * signal/sigreturn.c (__sigreturn): Likewise.
13715         * signal/sigset.c (sigset): Likewise.
13716         * signal/sigsetmask.c (__sigsetmask): Likewise.
13717         * signal/sigstack.c (sigstack): Likewise.
13718         * signal/sigsuspend.c (__sigsuspend): Likewise.
13719         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
13720         * signal/sysv_signal.c (__sysv_signal): Likewise.
13721         * socket/accept.c (accept): Likewise.
13722         * socket/accept4.c (__libc_accept4): Likewise.
13723         * socket/bind.c (__bind): Likewise.
13724         * socket/connect.c (__connect): Likewise.
13725         * socket/getpeername.c (getpeername): Likewise.
13726         * socket/getsockname.c (__getsockname): Likewise.
13727         * socket/getsockopt.c (getsockopt): Likewise.
13728         * socket/listen.c (__listen): Likewise.
13729         * socket/recv.c (__recv): Likewise.
13730         * socket/recvmsg.c (__recvmsg): Likewise.
13731         * socket/send.c (__send): Likewise.
13732         * socket/sendmsg.c (__sendmsg): Likewise.
13733         * socket/shutdown.c (shutdown): Likewise.
13734         * socket/sockatmark.c (sockatmark): Likewise.
13735         * socket/socket.c (__socket): Likewise.
13736         * stdio-common/ctermid.c (ctermid): Likewise.
13737         * stdio-common/cuserid.c (cuserid): Likewise.
13738         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
13739         * stdio-common/remove.c (remove): Likewise.
13740         * stdio-common/rename.c (rename): Likewise.
13741         * stdio-common/renameat.c (renameat): Likewise.
13742         * stdio-common/tempname.c (__gen_tempname): Likewise.
13743         * stdio-common/xbug.c (InitBuffer): Likewise.
13744         (AppendToBuffer): Likewise.
13745         (ReadFile): Likewise.
13746         * stdlib/a64l.c (a64l): Likewise.
13747         * stdlib/drand48_r.c (drand48_r): Likewise.
13748         * stdlib/getcontext.c (getcontext): Likewise.
13749         * stdlib/getenv.c (getenv): Likewise.
13750         * stdlib/l64a.c (l64a): Likewise.
13751         * stdlib/llabs.c (llabs): Likewise.
13752         * stdlib/lldiv.c (lldiv): Likewise.
13753         * stdlib/lrand48_r.c (lrand48_r): Likewise.
13754         * stdlib/mrand48_r.c (mrand48_r): Likewise.
13755         * stdlib/putenv.c (putenv): Likewise.
13756         * stdlib/random.c (__srandom): Likewise.
13757         (__initstate): Likewise.
13758         (__setstate): Likewise.
13759         * stdlib/random_r.c (__srandom_r): Likewise.
13760         (__setstate_r): Likewise.
13761         (__random_r): Likewise.
13762         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
13763         * stdlib/setcontext.c (setcontext): Likewise.
13764         * stdlib/setenv.c (setenv): Likewise.
13765         (unsetenv): Likewise.
13766         * stdlib/srand48.c (srand48): Likewise.
13767         * stdlib/srand48_r.c (__srand48_r): Likewise.
13768         * stdlib/swapcontext.c (swapcontext): Likewise.
13769         * stdlib/system.c (__libc_system): Likewise.
13770         * stdlib/tst-strtod.c (expand): Likewise.
13771         * stdlib/tst-strtol.c (expand): Likewise.
13772         * stdlib/tst-strtoll.c (expand): Likewise.
13773         * streams/fattach.c (fattach): Likewise.
13774         * streams/fdetach.c (fdetach): Likewise.
13775         * streams/getmsg.c (getmsg): Likewise.
13776         * streams/isastream.c (isastream): Likewise.
13777         * string/ffs.c (__ffs): Likewise.
13778         * string/ffsll.c (ffsll): Likewise.
13779         * string/memcmp.c (memcmp_common_alignment): Likewise.
13780         (memcmp_not_common_alignment): Likewise.
13781         (MEMCMP): Likewise.
13782         * string/memcpy.c (memcpy): Likewise.
13783         * string/memmove.c (MEMMOVE): Likewise.
13784         * string/memset.c (memset): Likewise.
13785         * string/rawmemchr.c (RAWMEMCHR): Likewise.
13786         * string/strchrnul.c (STRCHRNUL): Likewise.
13787         * string/strerror.c (strerror): Likewise.
13788         * string/strndup.c (__strndup): Likewise.
13789         * string/strverscmp.c (__strverscmp): Likewise.
13790         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
13791         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
13792         (clnttcp_freeres): Likewise.
13793         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
13794         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
13795         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
13796         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
13797         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
13798         (xdr_callhdr): Likewise.
13799         * sunrpc/rpcinfo.c (udpping): Likewise.
13800         (tcpping): Likewise.
13801         (pstatus): Likewise.
13802         (pmapdump): Likewise.
13803         (brdcst): Likewise.
13804         (deletereg): Likewise.
13805         (getprognum): Likewise.
13806         (getvers): Likewise.
13807         (get_inet_address): Likewise.
13808         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
13809         * sunrpc/svc_udp.c (svcudp_create): Likewise.
13810         (svcudp_stat): Likewise.
13811         (svcudp_recv): Likewise.
13812         (svcudp_reply): Likewise.
13813         (svcudp_getargs): Likewise.
13814         (svcudp_freeargs): Likewise.
13815         (svcudp_destroy): Likewise.
13816         * sunrpc/xdr.c (xdr_bytes): Likewise.
13817         (xdr_netobj): Likewise.
13818         (xdr_string): Likewise.
13819         (xdr_wrapstring): Likewise.
13820         * sunrpc/xdr_float.c (xdr_float): Likewise.
13821         (xdr_double): Likewise.
13822         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
13823         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
13824         * sysvipc/ftok.c (ftok): Likewise.
13825         * sysvipc/msgctl.c (msgctl): Likewise.
13826         * sysvipc/msgget.c (msgget): Likewise.
13827         * sysvipc/msgrcv.c (msgrcv): Likewise.
13828         * sysvipc/msgsnd.c (msgsnd): Likewise.
13829         * sysvipc/semget.c (semget): Likewise.
13830         * sysvipc/semop.c (semop): Likewise.
13831         * sysvipc/shmat.c (shmat): Likewise.
13832         * sysvipc/shmctl.c (shmctl): Likewise.
13833         * sysvipc/shmdt.c (shmdt): Likewise.
13834         * sysvipc/shmget.c (shmget): Likewise.
13835         * termios/cfmakeraw.c (cfmakeraw): Likewise.
13836         * termios/speed.c (cfgetospeed): Likewise.
13837         (cfgetispeed): Likewise.
13838         (cfsetospeed): Likewise.
13839         (cfsetispeed): Likewise.
13840         * termios/tcflow.c (tcflow): Likewise.
13841         * termios/tcflush.c (tcflush): Likewise.
13842         * termios/tcgetattr.c (__tcgetattr): Likewise.
13843         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
13844         * termios/tcgetsid.c (tcgetsid): Likewise.
13845         * termios/tcsendbrk.c (tcsendbreak): Likewise.
13846         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
13847         * time/adjtime.c (__adjtime): Likewise.
13848         * time/dysize.c (dysize): Likewise.
13849         * time/ftime.c (ftime): Likewise.
13850         * time/getitimer.c (__getitimer): Likewise.
13851         * time/gettimeofday.c (__gettimeofday): Likewise.
13852         * time/gmtime.c (__gmtime_r): Likewise.
13853         (gmtime): Likewise.
13854         * time/localtime.c (__localtime_r): Likewise.
13855         (localtime): Likewise.
13856         * time/offtime.c (__offtime): Likewise.
13857         * time/settimeofday.c (__settimeofday): Likewise.
13858         * time/stime.c (stime): Likewise.
13859         * time/strftime_l.c (tm_diff): Likewise.
13860         (iso_week_days): Likewise.
13861         * time/strptime.c (strptime): Likewise.
13862         * time/time.c (time): Likewise.
13863         * time/timespec_get.c (timespec_get): Likewise.
13864         * time/tzset.c (tzset_internal): Likewise.
13865         (compute_change): Likewise.
13866         (__tz_compute): Likewise.
13867         * wcsmbs/btowc.c (__btowc): Likewise.
13868         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
13869         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
13870         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
13871         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
13872         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
13873         * wcsmbs/wcscat.c (__wcscat): Likewise.
13874         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13875         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
13876         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
13877         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13878         * wcsmbs/wcsdup.c (wcsdup): Likewise.
13879         * wcsmbs/wcslen.c (__wcslen): Likewise.
13880         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13881         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13882         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13883         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13884         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13885         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13886         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13887         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13888         * wcsmbs/wcstok.c (wcstok): Likewise.
13889         * wcsmbs/wctob.c (wctob): Likewise.
13890         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
13891         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13892         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
13893         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
13894         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
13895         * wcsmbs/wmemset.c (__wmemset): Likewise.
13896         * wctype/wcfuncs.c (__towlower): Likewise.
13897         (__towupper): Likewise.
13899         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
13900         (lll_unlock_elision): Add adapt_count parameter.
13902 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13904         * sysdeps/nptl/configure.ac: Do not give errors based on the
13905         results of top-level configure tests.
13906         * sysdeps/nptl/configure: Regenerated.
13908         * configure.ac (libc_cv_Bgroup): Remove configure test.
13909         * configure: Regenerated.
13910         * config.make.in (have-Bgroup): Remove variable.
13912         * configure.ac (sizeof_long_double): Remove configure test.
13913         * configure: Regenerated.
13914         * config.make.in (sizeof-long-double): Remove variable.
13916         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
13917         * configure: Regenerated.
13918         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
13919         variable.
13920         (exceptions): Likewise.
13921         * sysdeps/arm/configure: Regenerated.
13922         * config.make.in (exceptions): Remove variable.
13923         * Makeconfig (uses-callbacks): Use -fexceptions instead of
13924         $(exceptions).
13925         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
13926         (CFLAGS-vdprintf_chk.c): Likewise.
13927         (CFLAGS-printf_chk.c): Likewise.
13928         (CFLAGS-fprintf_chk.c): Likewise.
13929         (CFLAGS-vprintf_chk.c): Likewise.
13930         (CFLAGS-vfprintf_chk.c): Likewise.
13931         (CFLAGS-gets_chk.c): Likewise.
13932         (CFLAGS-fgets_chk.c): Likewise.
13933         (CFLAGS-fgets_u_chk.c): Likewise.
13934         (CFLAGS-fread_chk.c): Likewise.
13935         (CFLAGS-fread_u_chk.c): Likewise.
13936         (CFLAGS-wprintf_chk.c): Likewise.
13937         (CFLAGS-fwprintf_chk.c): Likewise.
13938         (CFLAGS-vwprintf_chk.c): Likewise.
13939         (CFLAGS-vfwprintf_chk.c): Likewise.
13940         (CFLAGS-fgetws_chk.c): Likewise.
13941         (CFLAGS-fgetws_u_chk.c): Likewise.
13942         * libio/Makefile (CFLAGS-fileops.c): Likewise.
13943         (CFLAGS-fputc.c): Likewise.
13944         (CFLAGS-fputwc.c): Likewise.
13945         (CFLAGS-freopen64.c): Likewise.
13946         (CFLAGS-freopen.c): Likewise.
13947         (CFLAGS-fseek.c): Likewise.
13948         (CFLAGS-fseeko64.c): Likewise.
13949         (CFLAGS-fseeko.c): Likewise.
13950         (CFLAGS-ftello64.c): Likewise.
13951         (CFLAGS-ftello.c): Likewise.
13952         (CFLAGS-fwide.c): Likewise.
13953         (CFLAGS-genops.c): Likewise.
13954         (CFLAGS-getc.c): Likewise.
13955         (CFLAGS-getchar.c): Likewise.
13956         (CFLAGS-getwc.c): Likewise.
13957         (CFLAGS-getwchar.c): Likewise.
13958         (CFLAGS-iofclose.c): Likewise.
13959         (CFLAGS-iofflush.c): Likewise.
13960         (CFLAGS-iofgetpos64.c): Likewise.
13961         (CFLAGS-iofgetpos.c): Likewise.
13962         (CFLAGS-iofgets.c): Likewise.
13963         (CFLAGS-iofgetws.c): Likewise.
13964         (CFLAGS-iofputs.c): Likewise.
13965         (CFLAGS-iofputws.c): Likewise.
13966         (CFLAGS-iofread.c): Likewise.
13967         (CFLAGS-iofsetpos64.c): Likewise.
13968         (CFLAGS-iofsetpos.c): Likewise.
13969         (CFLAGS-ioftell.c): Likewise.
13970         (CFLAGS-iofwrite.c): Likewise.
13971         (CFLAGS-iogetdelim.c): Likewise.
13972         (CFLAGS-iogetline.c): Likewise.
13973         (CFLAGS-iogets.c): Likewise.
13974         (CFLAGS-iogetwline.c): Likewise.
13975         (CFLAGS-ioputs.c): Likewise.
13976         (CFLAGS-ioseekoff.c): Likewise.
13977         (CFLAGS-ioseekpos.c): Likewise.
13978         (CFLAGS-iosetbuffer.c): Likewise.
13979         (CFLAGS-iosetvbuf.c): Likewise.
13980         (CFLAGS-ioungetc.c): Likewise.
13981         (CFLAGS-ioungetwc.c): Likewise.
13982         (CFLAGS-oldfileops.c): Likewise.
13983         (CFLAGS-oldiofclose.c): Likewise.
13984         (CFLAGS-oldiofgetpos64.c): Likewise.
13985         (CFLAGS-oldiofgetpos.c): Likewise.
13986         (CFLAGS-oldiofsetpos64.c): Likewise.
13987         (CFLAGS-oldiofsetpos.c): Likewise.
13988         (CFLAGS-peekc.c): Likewise.
13989         (CFLAGS-putc.c): Likewise.
13990         (CFLAGS-putchar.c): Likewise.
13991         (CFLAGS-putwc.c): Likewise.
13992         (CFLAGS-putwchar.c): Likewise.
13993         (CFLAGS-rewind.c): Likewise.
13994         (CFLAGS-wfileops.c): Likewise.
13995         (CFLAGS-wgenops.c): Likewise.
13996         (CFLAGS-oldiofopen.c): Likewise.
13997         (CFLAGS-iofopen.c): Likewise.
13998         (CFLAGS-iofopen64.c): Likewise.
13999         (CFLAGS-oldtmpfile.c): Likewise.
14000         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
14001         (CFLAGS-fprintf.c): Likewise.
14002         (CFLAGS-printf.c): Likewise.
14003         (CFLAGS-vfwprintf.c): Likewise.
14004         (CFLAGS-vfscanf.c): Likewise.
14005         (CFLAGS-vfwscanf.c): Likewise.
14006         (CFLAGS-fscanf.c): Likewise.
14007         (CFLAGS-scanf.c): Likewise.
14008         (CFLAGS-isoc99_vfscanf.c): Likewise.
14009         (CFLAGS-isoc99_vscanf.c): Likewise.
14010         (CFLAGS-isoc99_fscanf.c): Likewise.
14011         (CFLAGS-isoc99_scanf.c): Likewise.
14012         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
14013         (CFLAGS-isoc99_fwscanf.c): Likewise.
14014         (CFLAGS-isoc99_vwscanf.c): Likewise.
14015         (CFLAGS-isoc99_vfwscanf.c): Likewise.
14017         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
14018         after mkstemp64.
14019         * login/tst-utmp.c (do_prepare): Likewise.
14020         * rt/tst-aio.c (do_prepare): Likewise.
14021         * rt/tst-aio64.c (do_prepare): Likewise.
14023 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14025         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14026         (__lll_lock_elision): Remove adapt_count decrement...
14027         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14028         (__lll_trylock_elision): Likewise.
14029         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14030         (__lll_unlock_elision): ... to here. And utilize
14031         new adapt_count parameter.
14032         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14033         (__lll_unlock_elision): Update to include adapt_count
14034         parameter.
14035         (lll_unlock_elision): Pass pointer to adapt_count
14036         variable.
14038 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14040         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
14041         Add elision adapt_count parameter to list of arguments.
14042         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14043         (lll_unlock_elision): Update with new parameter list
14044         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
14045         (lll_unlock_elision): Likewise.
14046         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
14047         (lll_unlock_elision): Likewise.
14049 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14051         [BZ #19122]
14052         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
14053         attribute_hidden.
14055         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
14056         attribute_hidden.
14057         [IS_IN (rtld)] (__strdup): Likewise.
14058         [IS_IN (rtld)] (__strerror_r): Likewise.
14059         [IS_IN (rtld)] (__strsep_g): Likewise.
14060         [IS_IN (rtld)] (memchr): Likewise.
14061         [IS_IN (rtld)] (memcmp): Likewise.
14062         [IS_IN (rtld)] (memcpy): Likewise.
14063         [IS_IN (rtld)] (memmove): Likewise.
14064         [IS_IN (rtld)] (memset): Likewise.
14065         [IS_IN (rtld)] (rawmemchr): Likewise.
14066         [IS_IN (rtld)] (stpcpy): Likewise.
14067         [IS_IN (rtld)] (strchr): Likewise.
14068         [IS_IN (rtld)] (strcmp): Likewise.
14069         [IS_IN (rtld)] (strlen): Likewise.
14070         [IS_IN (rtld)] (strnlen): Likewise.
14071         [IS_IN (rtld)] (strsep): Likewise.
14073         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
14074         attribute_hidden.
14075         [IS_IN (rtld)] (__strtoul_internal): Likewise.
14077         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
14078         attribute_hidden.
14079         [IS_IN (rtld)] (__libc_sigaction): Likewise.
14081         * include/setjmp.h (__longjmp): Add attribute_hidden.
14082         [IS_IN (rtld)] (__sigsetjmp): Likewise.
14084         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
14085         Add attribute_hidden.
14087         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
14088         [IS_IN (rtld)] (__open): Likewise.
14089         [IS_IN (rtld)] (__fcntl): Likewise.
14091         * include/dirent.h (__opendirat): Add attribute_hidden.
14092         (__getdents): Likewise.
14093         (__getdents64): Likewise.
14094         (__alloc_dir): Likewise.
14095         [IS_IN (rtld)] (__closedir): Likewise.
14096         [IS_IN (rtld)] (__fdopendir): Likewise.
14097         [IS_IN (rtld)] (__readdir): Likewise.
14098         [IS_IN (rtld)] (__readdir64): Likewise.
14099         [IS_IN (rtld)] (__rewinddir): Likewise.
14101         * include/dlfcn.h (_dl_catch_error): Moved to ...
14102         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
14103         attribute_hidden.
14105         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
14106         (_itoa_word): Likewise.
14108         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
14109         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
14110         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
14111         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
14112         (_dl_higher_prime_number): Likewise.
14113         (_dl_debug_printf_c): Likewise.
14114         (_dl_signal_cerror): Likewise.
14115         (_dl_receive_error): Likewise.
14116         (_dl_reloc_bad_type): Likewise.
14117         (_dl_resolve_conflicts): Likewise.
14118         (_dl_check_all_versions): Likewise.
14119         (_dl_check_map_versions): Likewise.
14120         (_dl_sort_fini): Likewise.
14121         (_dl_debug_initialize): Likewise.
14122         (_dl_init_paths): Likewise.
14123         (_dl_show_auxv): Likewise.
14124         (_dl_next_ld_env_entry): Likewise.
14125         (_dl_important_hwcaps): Likewise.
14126         (_dl_load_cache_lookup): Likewise.
14127         (_dl_update_slotinfo): Likewise.
14128         (_dl_show_scope): Likewise.
14130         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
14131         attribute_hidden.
14132         (_wordcopy_fwd_dest_aligned): Likewise.
14133         (_wordcopy_bwd_aligned): Likewise.
14134         (_wordcopy_bwd_dest_aligned): Likewise.
14136         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14137         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14138         Likewise.
14139         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14140         Likewise.
14141         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
14143 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14145         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
14146         GCC 5 requirement.
14148 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14150         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
14151         test.
14152         * sysdeps/i386/configure: Regenerated.
14153         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
14154         code unconditional.
14156         * configure.ac (libc_cv_asm_previous_directive): Remove configure
14157         test.
14158         (libc_cv_asm_popsection_directive): Likewise.
14159         * configure: Regenerated.
14160         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
14161         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
14162         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
14163         (__make_section_unallocated): Make definition unconditional.
14164         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
14165         Remove conditional definition.
14166         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
14167         (__make_section_unallocated): Likewise.
14169         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
14170         * configure: Regenerated.
14171         * config.make.in (static-libgcc): Remove variable.
14172         * Makerules (build-shlib-helper): Use -static-libgcc instead of
14173         $(static-libgcc).
14174         (build-module-helper): Likewise.
14176         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
14177         * configure: Regenerated.
14179 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14181         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
14182         (struct char_buffer): New type.
14183         (char_buffer_start, char_buffer_size, char_buffer_error)
14184         (char_buffer_rewind, char_buffer_add): New functions.
14185         (ADDW): Remove macro, replaced by the char_buffer_add function.
14186         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
14187         of extend_alloca.  Make control flow more explicit.
14189 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14191         [BZ #19137]
14192         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14193         Add -fomit-frame-pointer.
14194         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
14196 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14198         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
14199         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
14200         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
14201         only if !__GNUC_PREREQ (5,0).
14202         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
14203         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
14204         (INTERNAL_SYSCALL_NCS): Likewise.
14205         (LOADREGS_0): New macro for GCC 5.
14206         (ASMARGS_0): Likewise.
14207         (LOADREGS_1): Likewise.
14208         (ASMARGS_1): Likewise.
14209         (LOADREGS_2): Likewise.
14210         (ASMARGS_2): Likewise.
14211         (LOADREGS_3): Likewise.
14212         (ASMARGS_3): Likewise.
14213         (LOADREGS_4): Likewise.
14214         (ASMARGS_4): Likewise.
14215         (LOADREGS_5): Likewise.
14216         (ASMARGS_5): Likewise.
14217         (LOADREGS_6): Likewise.
14218         (ASMARGS_6): Likewise.
14220 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14222         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
14223         -fomit-frame-pointer.
14224         (CFLAGS-mmap64.c): Likewise.
14225         (CFLAGS-semtimedop.c): Likewise.
14226         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
14227         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
14228         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14229         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14231 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14233         [BZ #18928]
14234         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
14235         _dl_pointer_guard member.
14236         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
14237         initializer.
14238         (security_init): Always set up pointer guard.
14239         (process_envvars): Do not process LD_POINTER_GUARD.
14241 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
14243         [BZ #19134]
14244         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
14245         (.LC2): Likewise.
14246         (.LC3): Likewise.
14247         (__lround): Do not add 0.5 to integer or out-of-range arguments.
14249 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14251         [BZ #19129]
14252         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
14253         r0 and r1.
14255 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
14257         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
14259 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
14261         * include/stap-probe.h: Fix macro definition formatting.
14263 2015-10-14  Florian Weimer  <fweimer@redhat.com>
14265         [BZ #19074]
14266         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
14267         load and store num_ifs.
14269 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14271         [BZ #18822]
14272         * sysdeps/unix/sysv/linux/sched_getaffinity.c
14273         (__sched_getaffinity_new): Add libc_hidden_proto and
14274         libc_hidden_def.
14276 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14278         [BZ #19007]
14279         * scripts/localplt.awk: Also allow GOT references.
14280         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
14281         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
14282         with "+ REL R_386_GLOB_DAT".
14283         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
14284         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
14286 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14288         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
14289         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14290         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
14291         Likewise.
14292         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14293         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
14294         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14295         INTERNAL_SYSCALLINTERNAL_SYSCALL and
14296         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14297         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14298         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14299         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14300         Likewise.
14301         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14303 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14305         [BZ #19125]
14306         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
14307         <math_private.h> and <stdint.h>.
14308         (__llround): Avoid conversions to and from long long int, and
14309         subtractions, where those might raise spurious exceptions.
14310         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
14311         <math_private.h> and <stdint.h>.
14312         (__llroundf): Avoid conversions to and from long long int, and
14313         subtractions, where those might raise spurious exceptions.
14315 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14317         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
14318         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14319         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14320         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
14321         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14322         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14323         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
14324         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
14325         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
14326         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14327         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14328         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14329         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
14330         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14331         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14332         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
14333         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
14334         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14335         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
14336         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
14337         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14338         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
14339         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
14340         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14341         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
14342         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
14343         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
14344         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14345         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14346         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
14347         (__xstat64_conv): Likewise.
14348         (__xstat32_conv): Likewise.
14350 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14352         * sysdeps/unix/sysv/linux/sysdep.h: New file.
14353         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
14354         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
14355         <sysdeps/unix/sysv/linux/sysdep.h>.
14356         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
14357         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
14358         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
14359         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14360         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
14361         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
14362         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
14363         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14364         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14367         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14368         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14369         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14370         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14371         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14372         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
14373         (sysdep-dl-routines): Add sysdep.
14374         [$(subdir) == nptl] (libpthread-routines): Likewise.
14375         [$(subdir) == rt] (librt-routines): Likewise.
14376         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
14377         PIC when branching to SYSCALL_ERROR_LABEL.
14378         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
14379         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
14380         <sysdeps/unix/sysv/linux/sysdep.h>.
14381         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
14382         (SYSCALL_ERROR_ERRNO): Removed.
14383         (SYSCALL_ERROR_HANDLER): Changed to empty.
14384         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
14385         (__syscall_error): New prototype.
14386         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
14387         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
14389 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14391         [BZ #19124]
14392         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
14393         (_dl_runtime_resolve_avx512): Make it a hidden alias of
14394         _dl_runtime_resolve_avx.
14395         (_dl_runtime_profile_avx512): Make it a hidden alias of
14396         _dl_runtime_profile_avx.
14398 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14400         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
14401         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
14402         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
14403         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
14405         [BZ #16422]
14406         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
14407         New configure test.
14408         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
14409         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
14410         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
14411         <math_private.h> and <stdint.h>.
14412         (__llrint): Avoid conversions to long long int where those might
14413         raise spurious exceptions.
14414         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
14415         <math_private.h> and <stdint.h>.
14416         (__llrintf): Avoid conversions to long long int where those might
14417         raise spurious exceptions.
14419 2015-10-12  Andreas Schwab  <schwab@suse.de>
14421         [BZ #18969]
14422         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
14423         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
14424         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
14425         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
14426         $(gen-locales).
14427         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
14428         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
14429         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
14430         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
14431         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
14432         $(gen-locales).
14433         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
14434         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
14435         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
14436         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
14437         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
14438         ($(objpfx)tst-ftell-active-handler.out)
14439         ($(objpfx)tst-ftell-append.out)
14440         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
14441         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
14442         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
14443         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
14444         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
14445         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
14446         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
14447         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
14448         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
14449         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
14450         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
14451         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
14452         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
14453         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
14454         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
14455         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
14456         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
14457         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
14458         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
14459         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
14460         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
14461         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
14462         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
14463         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
14464         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
14465         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
14466         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
14467         $(gen-locales).
14468         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
14469         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
14470         $(gen-locales).
14471         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
14472         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
14473         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
14474         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
14475         $(gen-locales).
14476         * libio/tst_wprintf2.c (main): Use explicit locale.
14477         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
14479 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14481         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
14482         __msg_sig_post.
14483         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
14485 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14487         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14488         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14490         * sysdeps/arm/libm-test-ulps: Regenerated.
14492         [BZ #15470]
14493         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
14495         [BZ #16399]
14496         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
14497         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
14498         and <fix-fp-int-convert-overflow.h>.
14499         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14500         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14501         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
14502         and <fix-fp-int-convert-overflow.h>.
14503         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
14504         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14505         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
14506         <fix-fp-int-convert-overflow.h>.
14507         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14508         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14509         * sysdeps/ieee754/dbl-64/s_lround.c: Include
14510         <fix-fp-int-convert-overflow.h>.
14511         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
14512         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14513         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
14514         and <fix-fp-int-convert-overflow.h>.
14515         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14516         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14517         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
14518         <limits.h> and <fix-fp-int-convert-overflow.h>.
14519         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14520         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14521         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
14522         and <fix-fp-int-convert-overflow.h>.
14523         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14524         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14525         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
14526         and <fix-fp-int-convert-overflow.h>.
14527         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14528         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14529         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
14531 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
14533         [BZ #18589]
14534         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
14535         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
14536         $(gen-locales).
14538 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14539             Phil Blundell <pb@pbcl.net>
14541         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
14542         * nptl/tst-cancel26.c: New file.
14543         * nptl/tst-cancel27.c: Likewise.
14545 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
14547         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
14548         __ILP32__ isn't defined.
14549         (lrint): Likewise.
14550         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
14551         (lrintf): Likewise.
14552         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
14553         (lrintl): Likewise.
14554         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
14555         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
14556         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
14558 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14560         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14561         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14563         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
14564         file.
14565         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
14566         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14568 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14570         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
14571         configure test.
14572         * sysdeps/i386/configure: Regenerated.
14573         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
14574         configure test.
14575         * sysdeps/x86_64/configure: Regenerated.
14576         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
14577         Make code unconditional.
14579         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
14580         test.
14581         * sysdeps/i386/configure: Regenerated.
14582         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
14583         test.
14584         * sysdeps/x86_64/configure: Regenerated.
14585         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
14586         Make code unconditional.
14587         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14588         Likewise.
14589         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
14590         Likewise.
14591         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14592         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
14593         code unconditional.
14594         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14595         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
14596         code unconditional.
14597         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14598         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
14599         code unconditional.
14600         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
14601         code unconditional.
14602         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14603         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
14604         code unconditional.
14605         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14606         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
14607         code unconditional.
14608         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14609         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
14610         code unconditional.
14611         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14612         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
14613         code unconditional.
14614         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14615         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
14617         [BZ #19095]
14618         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
14619         mantissa to long int before shifting left.
14621 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14623         [BZ #19094]
14624         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
14625         <limits.h>.
14626         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14627         when result overflows but exception would not result from cast.
14628         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
14629         <limits.h>.
14630         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14631         when result overflows but exception would not result from cast.
14632         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
14633         <limits.h>.
14634         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14635         when result overflows but exception would not result from cast.
14636         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
14637         <limits.h>.
14638         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14639         when result overflows but exception would not result from cast.
14640         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
14641         <limits.h>.
14642         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14643         when result overflows but exception would not result from cast.
14644         * math/libm-test.inc (lrint_test_data): Add more tests.
14645         (llrint_test_data): Likewise.
14647 2015-10-08  Roland McGrath  <roland@hack.frob.com>
14649         [BZ #18872]
14650         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
14651         Move out from under [$(run-built-tests) = yes] conditional.
14652         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
14653         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
14655 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
14657         [BZ #18589]
14658         * string/Makefile (tests): Add bug-strcoll2.
14659         (LOCALES): Add cs_CZ.UTF-8.
14660         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
14662         [BZ #18589]
14663         * string/bug-strcoll2.c: New file.
14664         * locale/categories.def: Revert commit
14665         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
14666         * locale/langinfo.h: Likewise.
14667         * locale/localeinfo.h: Likewise.
14668         * locale/C-collate.c: Likewise.
14669         * locale/programs/ld-collate.c (collate_output): Likewise.
14670         * string/strcoll_l.c (STRDIFF): Likewise.
14671         (STRCOLL): Likewise.
14672         * wcsmbs/wcscoll_l.c: Likewise.
14674 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14676         * math/libm-test.inc (lround_test_data): Do not expect the absence
14677         of "inexact" for some tests with non-integer arguments.
14678         (llround_test_data): Likewise.
14680         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
14681         test.
14682         (libc_cv_cc_sse2avx): Likewise.
14683         * sysdeps/i386/configure: Regenerated.
14684         * sysdeps/i386/i686/multiarch/Makefile
14685         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
14686         [$(subdir) = math].
14687         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
14688         code unconditional.
14689         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14690         Likewise.
14691         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
14692         Likewise.
14693         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14694         Likewise.
14695         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
14696         test.
14697         (libc_cv_cc_sse2avx): Likewise.
14698         * sysdeps/x86_64/configure: Regenerated.
14699         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
14700         unconditional.
14701         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
14702         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
14703         unconditional.
14704         (_dl_runtime_profile)
14705         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
14706         conditional code.
14707         * sysdeps/x86_64/fpu/multiarch/Makefile
14708         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
14709         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14710         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14711         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14712         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14713         * sysdeps/x86_64/fpu/multiarch/e_log.c
14714         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14715         * sysdeps/x86_64/fpu/multiarch/s_atan.c
14716         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14717         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14718         Likewise.
14719         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14720         Likewise.
14721         * sysdeps/x86_64/fpu/multiarch/s_sin.c
14722         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14723         * sysdeps/x86_64/fpu/multiarch/s_tan.c
14724         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14725         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
14726         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
14727         (HAVE_SSE2AVX_SUPPORT): Likewise.
14729 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
14731         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
14732         instead of #pragma optimize.
14734 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14736         [BZ #17195]
14737         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
14738         as is similarly done in systrim and _int_free already.
14740 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14742         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
14744 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14746         [BZ #19088]
14747         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
14748         <limits.h>.
14749         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14750         overflows but exception would not result from cast.
14751         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
14752         and <limits.h>.
14753         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14754         overflows but exception would not result from cast.
14755         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
14756         <limits.h>.
14757         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14758         overflows but exception would not result from cast.
14759         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
14760         <limits.h>.
14761         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14762         overflows but exception would not result from cast.
14763         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
14764         <limits.h>.
14765         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14766         overflows but exception would not result from cast.
14767         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
14768         <limits.h>.
14769         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14770         overflows but exception would not result from cast.
14771         * math/libm-test.inc (lround_test_data): Add more tests.
14772         (llround_test_data): Likewise.
14774 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
14776         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
14777         (CFLAGS-ialloc.c): Ditto.
14778         (CFLAGS-scheck.c): Ditto.
14780 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14782         [BZ #19086]
14783         * manual/filesys.texi (Storage Allocation): Fix argument order for
14784         posix_fallocate64.
14786 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14788         [BZ #19085]
14789         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
14790         exponent below 48 inside case for non-overflowing exponent.
14791         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14793 2015-10-07  Florian Weimer  <fweimer@redhat.com>
14795         * iconvdata/cp737.h (from_idx): Add const.
14796         * iconvdata/cp775.h (from_idx): Likewise.
14798 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14800         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
14801         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14802         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
14804         [BZ #19079]
14805         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
14806         file, conditioned on [!_LP64].
14807         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
14808         [!_LP64] (__lround): Do not define as function or alias.
14809         [!_LP64] (lround): Likewise.
14810         [!_LP64] (__lroundl): Likewise.
14811         [!_LP64] (lroundl): Likewise.
14812         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
14813         macro.
14814         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14815         Likewise.
14817 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14819         * math/libm-test.inc (lrint_test_data): Add more tests.
14820         (llrint_test_data): Likewise.
14821         (lround_test_data): Likewise.
14822         (llround_test_data): Likewise.
14824         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
14825         (llrint_test_data): Add tests used for lrint.
14827         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
14828         test.
14829         * sysdeps/i386/configure: Regenerated.
14830         * sysdeps/i386/i686/multiarch/Makefile
14831         [$(config-cflags-sse4) = yes]: Make code unconditional.
14832         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14833         Likewise.
14834         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
14835         Likewise.
14836         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
14837         test.
14838         * sysdeps/x86_64/configure: Regenerated.
14839         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
14840         Make code unconditional.
14841         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14842         Likewise.
14843         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
14844         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
14846         * scripts/rpm2dynsym.sh: Remove file.
14848 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14850         * configure.ac (libc_cv_cxx_thread_local): Define.
14851         * configure: Regenerate.
14852         * config.make.in (have-cxx-thread_local): Define.
14853         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
14854         (LDLIBS-tst-thread_local1): Define.
14855         (tests): Add tst-thread_local1.
14856         [have-cxx-thread_local != yes] (tests-unsupported): Add
14857         tst-thread_local1.
14858         * nptl/tst-thread_local1.cc: New file.
14860 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14862         [BZ #19078]
14863         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
14864         (u_thres): Likewise.
14865         (__expl): Determine whether to call __kernel_standard_l based on
14866         value of result, not argument.
14868         * math/libm-test.inc (scalb_test_data): Add more expectations for
14869         the "inexact" exception.
14871         [BZ #19077]
14872         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
14873         0.0L for argument 1.0L.
14875         [BZ #19076]
14876         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
14877         constant 0.0L when computing infinite result.
14879 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14881         [BZ #10432]
14882         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14883         malloc_usable_size.
14885 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14887         [BZ #19018]
14888         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14889         Mangle function pointer before storing it.
14890         (__call_tls_dtors): Demangle function pointer before calling it.
14892 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14894         [BZ #19012]
14895         * iconv/gconv_db.c (gen_steps): Check for additional errors.
14896         Clean up on failure.
14898 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
14900         [BZ #19071]
14901         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
14902         long int variable to store possibly incremented high part of
14903         mantissa.
14904         * math/libm-test.inc (lround_test_data): Add tests used for
14905         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
14906         for tests requiring 64-bit long.  Do not condition tests on
14907         [TEST_FLOAT] unnecessarily.
14908         (llround_test_data): Add tests used for lround.  Add another
14909         expectation for the "inexact" exception.  Do not condition tests
14910         on [TEST_FLOAT] unnecessarily.
14912         [BZ #887]
14913         [BZ #19049]
14914         [BZ #19050]
14915         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
14916         * sysdeps/ieee754/dbl-64/e_log10.c: Include
14917         <fix-int-fp-convert-zero.h>.
14918         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14919         * sysdeps/ieee754/dbl-64/e_log2.c: Include
14920         <fix-int-fp-convert-zero.h>.
14921         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14922         * sysdeps/ieee754/dbl-64/s_erf.c: Include
14923         <fix-int-fp-convert-zero.h>.
14924         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14925         * sysdeps/ieee754/dbl-64/s_logb.c: Include
14926         <fix-int-fp-convert-zero.h>.
14927         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14928         * sysdeps/ieee754/flt-32/e_log10f.c: Include
14929         <fix-int-fp-convert-zero.h>.
14930         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14931         * sysdeps/ieee754/flt-32/e_log2f.c: Include
14932         <fix-int-fp-convert-zero.h>.
14933         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14934         * sysdeps/ieee754/flt-32/s_erff.c: Include
14935         <fix-int-fp-convert-zero.h>.
14936         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14937         * sysdeps/ieee754/flt-32/s_logbf.c: Include
14938         <fix-int-fp-convert-zero.h>.
14939         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14940         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
14941         <fix-int-fp-convert-zero.h>.
14942         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14943         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
14944         <fix-int-fp-convert-zero.h>.
14945         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14946         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
14947         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
14948         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
14949         file.
14950         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
14952 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14954         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14956 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
14958         [BZ #19059]
14959         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
14960         overflowing computation.
14961         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14962         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14963         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14964         Likewise.
14965         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14966         Likewise.
14967         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14968         Likewise.
14969         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14970         Likewise.
14971         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14972         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14973         Likewise.
14974         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14975         Likewise.
14976         * math/libm-test.inc (nexttoward_test_data): Add more tests.
14978         * nss/rewrite_field.c (__nss_rewrite_field): Use
14979         internal_function.
14980         * nss/valid_field.c (__nss_valid_field): Likewise.
14981         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14983 2015-10-02  Florian Weimer  <fweimer@redhat.com>
14985         [BZ #18724]
14986         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
14987         (__nss_invalid_field_characters, __nss_valid_field)
14988         (__nss_valid_list_field, __nss_rewrite_field): Declare.
14989         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
14990         tst-field.c: New file.
14991         * nss/Makefile (routines): Add valid_field, rewrite_field.
14992         (tests-static): Define unconditionally.
14993         (tests): Include tests-static.
14994         [build-static-nss] (tests-static): Use append.
14995         [build-static-nss] (tests): Remove modification.
14996         * nss/getent.c (print_group): Call putgrent.  Report error.
14997         (print_gshadow): Call putsgent.  Report error.
14998         (print_passwd): Call putpwent.  Report error.
14999         (print_shadow): Call putspent.  Report error.
15000         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
15001         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
15002         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
15003         name, password, directory, shell fields for valid syntax.  Rewrite
15004         GECOS field to match syntax.
15005         * pwd/Makefile (tests): Add tst-putpwent.
15006         * pwd/tst-putpwent.c: New file.
15007         * grp/putgrent.c (putgrent): Convert to ISO function definition.
15008         Check grName, grpasswd, gr_mem fields for valid syntax.
15009         Change loop variable i to size_t.
15010         * grp/Makefile (tests): Add tst-putgrent.
15011         * grp/tst-putgrent.c: New file.
15012         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
15013         valid syntax.
15014         * shadow/Makefile (tests): Add tst-putspent.
15015         * shadow/tst-putspent.c: New file.
15016         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
15017         sg_mem fields for valid syntax.
15018         * gshadow/Makefile (tests): Add tst-putsgent.
15019         * gshadow/tst-putsgent.c: New file.
15021 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15023         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
15024         assembly instructions.
15026 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15028         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
15029         prefix from operands.
15031 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
15033         [BZ #16347]
15034         [BZ #19046]
15035         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
15036         <libc-internal.h>.
15037         (MAXLGM): Do not use diagnostic control macros.
15038         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
15039         threshold for ldbl-128ibm.
15040         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
15041         instead of multiplying by log then subtracting.
15042         * math/auto-libm-test-in: Add more tests of lgamma.
15043         * math/auto-libm-test-out: Regenerated.
15045         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
15046         (TYPE_HEX_DIG): Likewise.
15047         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
15048         precisions when printing floating-point numbers.
15049         (check_float_internal): Likewise.
15051 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15053         [BZ #16620]
15054         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
15055         of log (10) rounded downward to 48 bits.
15056         (log10_low): Use corresponding low part of log (10).
15058         [BZ #19032]
15059         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
15060         compute result as (x - x) / (x - x) not as 0 / 0.
15061         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15062         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
15064         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15065         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
15066         and expm1.
15067         * math/auto-libm-test-out: Regenerated.
15068         * math/libm-test.inc (acos_test_data): Add more tests.
15069         (asin_test_data): Likewise.
15070         (asinh_test_data): Likewise.
15071         (atan_test_data): Likewise.
15072         (atanh_test_data): Likewise.
15073         (atan2_test_data): Likewise.
15074         (cbrt_test_data): Likewise.
15075         (ceil_test_data): Likewise.
15076         (copysign_test_data): Likewise.
15077         (cos_test_data): Likewise.
15078         (cosh_test_data): Likewise.
15079         (erf_test_data): Likewise.
15080         (erfc_test_data): Likewise.
15081         (exp_test_data): Likewise.
15082         (exp10_test_data): Likewise.
15083         (exp2_test_data): Likewise.
15084         (expm1_test_data): Likewise.
15085         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15087 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
15089         [BZ #19006]
15090         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
15091         to ...
15092         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
15093         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
15094         to ...
15095         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
15096         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
15097         to ...
15098         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
15099         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
15100         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
15101         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
15102         to ...
15103         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
15104         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15105         Moved to ...
15106         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
15107         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15108         Moved to ...
15109         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
15110         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
15111         to ...
15112         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
15113         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15114         Moved to ...
15115         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
15116         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
15117         to ...
15118         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
15119         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
15120         Removed.
15121         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
15122         Likewise.
15123         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
15124         Likewise.
15125         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
15126         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
15127         Likewise.
15128         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15129         Likewise.
15130         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15131         Likewise.
15132         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15133         Likewise.
15134         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15135         Likewise.
15136         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
15137         Likewise.
15138         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
15139         Likewise.
15140         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
15141         Likewise.
15142         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
15143         Likewise.
15144         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
15145         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
15146         Likewise.
15147         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15148         Likewise.
15149         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15150         Likewise.
15151         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15152         Likewise.
15153         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
15154         Likewise.
15155         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15156         Replace ../i486/pthread_cond_timedwait.S with
15157         ../pthread_cond_timedwait.S.
15159 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15161         * math/libm-test.inc (acos_test_data): Refine expectations for
15162         errno and "inexact" exceptions.
15163         (acosh_test_data): Likewise.
15164         (asin_test_data): Likewise.
15165         (asinh_test_data): Likewise.
15166         (atan_test_data): Likewise.
15167         (atanh_test_data): Likewise.
15168         (atan2_test_data): Likewise.
15169         (cbrt_test_data): Likewise.
15170         (ceil_test_data): Likewise.
15171         (copysign_test_data): Likewise.
15172         (cosh_test_data): Likewise.
15173         (erf_test_data): Likewise.
15174         (erfc_test_data): Likewise.
15175         (exp_test_data): Likewise.
15176         (exp10_test_data): Likewise.
15177         (exp2_test_data): Likewise.
15178         (expm1_test_data): Likewise.
15179         (fabs_test_data): Likewise.
15180         (floor_test_data): Likewise.
15181         (fma_test_data): Likewise.
15182         (fmax_test_data): Likewise.
15183         (fmin_test_data): Likewise.
15184         (fmod_test_data): Likewise.
15185         (fpclassify_test_data): Likewise.
15186         (frexp_test_data): Likewise.
15187         (hypot_test_data): Likewise.
15188         (ilogb_test_data): Likewise.
15189         (isgreater_test_data): Likewise.
15190         (isgreaterequal_test_data): Likewise.
15191         (isinf_test_data): Likewise.
15192         (isless_test_data): Likewise.
15193         (islessequal_test_data): Likewise.
15194         (islessgreater_test_data): Likewise.
15195         (isnan_test_data): Likewise.
15196         (isnormal_test_data): Likewise.
15197         (issignaling_test_data): Likewise.
15198         (isunordered_test_data): Likewise.
15199         (j0_test_data): Likewise.
15200         (j1_test_data): Likewise.
15201         (jn_test_data): Likewise.
15202         (lgamma_test_data): Likewise.
15203         (lrint_test_data): Likewise.
15204         (llrint_test_data): Likewise.
15205         (log_test_data): Likewise.
15206         (log10_test_data): Likewise.
15207         (log1p_test_data): Likewise.
15208         (log2_test_data): Likewise.
15209         (logb_test_data): Likewise.
15210         (lround_test_data): Likewise.
15211         (llround_test_data): Likewise.
15212         (modf_test_data): Likewise.
15213         (nearbyint_test_data): Likewise.
15214         (nextafter_test_data): Likewise.
15215         (nexttoward_test_data): Likewise.
15216         (pow_test_data): Likewise.
15217         (remainder_test_data): Likewise.
15218         (remquo_test_data): Likewise.
15219         (rint_test_data): Likewise.
15220         (round_test_data): Likewise.
15221         (signbit_test_data): Likewise.
15222         (sinh_test_data): Likewise.
15223         (sqrt_test_data): Likewise.
15224         (tanh_test_data): Likewise.
15225         (tgamma_test_data): Likewise.
15226         (trunc_test_data): Likewise.
15227         (y0_test_data): Likewise.
15228         (y1_test_data): Likewise.
15229         (yn_test_data): Likewise.
15230         (significand_test_data): Likewise.
15232 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
15234         * manual/filesys.texi (Storage Allocation): Document that
15235         posix_fallocate emulation fails when fd is open with O_WRONLY.
15237 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
15239         [BZ #19016]
15240         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
15241         allow more cases with X^2 + Y^2 >= 0.5.
15242         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
15243         normal element in sum instead of special-casing based on values of
15244         arguments.
15245         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
15246         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
15247         -1 as normal element in sum instead of special-casing based on
15248         values of arguments.
15249         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
15250         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
15251         (__x2y2m1): Update comment.
15252         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
15253         as normal element in sum instead of special-casing based on values
15254         of arguments.
15255         * math/s_clog.c (__clog): Handle more cases using log1p without
15256         hypot.
15257         * math/s_clog10.c (__clog10): Likewise.
15258         * math/s_clog10f.c (__clog10f): Likewise.
15259         * math/s_clog10l.c (__clog10l): Likewise.
15260         * math/s_clogf.c (__clogf): Likewise.
15261         * math/s_clogl.c (__clogl): Likewise.
15262         * math/auto-libm-test-in: Add more tests of clog and clog10.
15263         * math/auto-libm-test-out: Regenerated.
15264         * sysdeps/i386/fpu/libm-test-ulps: Update.
15265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15267 2015-09-28  Martin Sebor  <msebor@redhat.com>
15269         [BZ #18969]
15270         * string/Makefile (LOCALES): Define.
15271         (gen-locales.mk): Include.
15272         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
15273         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
15274         * string/tst-strxfrm2.c (do_test): Print the name of the locale
15275         on setlocale failure.
15277 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15279         [BZ #18985]
15280         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
15281         (__strftime_internal): Likewise.
15282         * time/tst-strftime.c (do_bz18985): New test.
15283         (do_test): Call it.
15285 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
15287         [BZ #18956]
15288         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
15289         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
15290         extracting high part.
15291         * math/auto-libm-test-in: Add another test of pow.
15292         * math/auto-libm-test-out: Regenerated.
15293         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15295 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15297         [BZ #18825]
15298         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
15299         New macro.
15300         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
15301         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15302         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
15303         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
15304         DBL_NARROW_EVAL, reloading the PIC register as needed.
15305         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
15306         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
15307         FLT_NARROW_EVAL.  Use separate return path for case when first
15308         argument is NaN.
15309         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
15310         DEFINE_LDBL_MIN.
15311         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
15312         PIC register.
15313         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
15314         math_check_force_underflow_nonneg.
15315         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
15316         underflow for subnormal result.
15317         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15318         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
15319         math_check_force_underflow_nonneg.
15320         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
15321         math_check_force_underflow.
15322         * sysdeps/x86_64/fpu/x86_64-math-asm.h
15323         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
15324         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
15325         DEFINE_LDBL_MIN.
15326         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
15327         * math/auto-libm-test-in: Add more tests of pow.
15328         * math/auto-libm-test-out: Regenerated.
15330 2015-09-25  Florian Weimer  <fweimer@redhat.com>
15332         * nss/bug17079.c (init_test_items): Add diagnostic for
15333         inconsistent entries.
15334         (test_buffer_size): Skip inconsistent entries.
15336 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15338         [BZ #13304]
15339         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
15340         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
15341         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
15343         [BZ #13304]
15344         * sysdeps/microblaze/s_fma.c: New file.
15345         * sysdeps/microblaze/s_fmaf.c: Likewise.
15346         * sysdeps/microblaze/sfp-machine.h: Likewise.
15348 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
15350         [BZ #17250]
15351         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
15352         member.
15354 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15356         [BZ #18803]
15357         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
15358         (MO): New macro.
15359         (__ieee754_hypot) [PIC]: Load PIC register.
15360         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
15361         DBL_NARROW_EVAL.
15362         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
15363         math_check_force_underflow_nonneg in case where result might be
15364         tiny.
15365         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15366         Likewise.
15367         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15368         Likewise.
15369         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15370         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15371         * math/auto-libm-test-in: Add more tests of hypot.
15372         * math/auto-libm-test-out: Regenerated.
15374 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
15376         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
15378 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15380         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
15381         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
15382         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15383         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15384         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
15385         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15386         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15388         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
15389         LOAD_PIC_REG.
15391         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
15392         (FLT_CHECK_FORCE_UFLOW): Likewise.
15393         (DBL_CHECK_FORCE_UFLOW): Likewise.
15394         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
15395         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
15396         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
15397         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15398         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15399         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15400         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15401         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15402         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
15403         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15404         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
15405         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
15406         (flt_min): Replace with use of DEFINE_FLT_MIN.
15407         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
15408         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
15409         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15410         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
15411         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
15412         (flt_min): Replace with use of DEFINE_FLT_MIN.
15413         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
15414         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
15415         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15416         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
15417         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
15418         (flt_min): Replace with use of DEFINE_FLT_MIN.
15419         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
15420         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
15421         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15422         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15423         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
15424         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15425         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15426         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
15427         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15428         (__atan): Use DBL_CHECK_FORCE_UFLOW.
15429         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
15430         (flt_min): Replace with use of DEFINE_FLT_MIN.
15431         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
15432         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
15433         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15434         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
15435         main computation.
15436         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
15437         (flt_min): Replace with use of DEFINE_FLT_MIN.
15438         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
15439         main computation.
15440         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
15441         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15442         (MO): New macro.
15443         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
15444         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
15445         (flt_min): Replace with use of DEFINE_FLT_MIN.
15446         (MO): New macro.
15447         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
15448         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
15449         (__log1pl): Use MO.
15451         [BZ #19003]
15452         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
15453         $(config-cflags-nofma).
15455 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15457         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15459 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
15461         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
15462         (TWO127): Likewise.
15464         * sysdeps/generic/math_private.h (fabs_tg): New macro.
15465         (min_of_type): Likewise.
15466         (math_check_force_underflow): Likewise.
15467         (math_check_force_underflow_nonneg): Likewise.
15468         (math_check_force_underflow_complex): Likewise.
15469         * math/e_exp2l.c (__ieee754_exp2l): Use
15470         math_check_force_underflow_nonneg.
15471         * math/k_casinh.c (__kernel_casinh): Likewise.
15472         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15473         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15474         * math/s_catan.c (__catan): Use
15475         math_check_force_underflow_complex.
15476         * math/s_catanf.c (__catanf): Likewise.
15477         * math/s_catanh.c (__catanh): Likewise.
15478         * math/s_catanhf.c (__catanhf): Likewise.
15479         * math/s_catanhl.c (__catanhl): Likewise.
15480         * math/s_catanl.c (__catanl): Likewise.
15481         * math/s_ccosh.c (__ccosh): Likewise.
15482         * math/s_ccoshf.c (__ccoshf): Likewise.
15483         * math/s_ccoshl.c (__ccoshl): Likewise.
15484         * math/s_cexp.c (__cexp): Likewise.
15485         * math/s_cexpf.c (__cexpf): Likewise.
15486         * math/s_cexpl.c (__cexpl): Likewise.
15487         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
15488         * math/s_clog10.c (__clog10): Likewise.
15489         * math/s_clog10f.c (__clog10f): Likewise.
15490         * math/s_clog10l.c (__clog10l): Likewise.
15491         * math/s_clogf.c (__clogf): Likewise.
15492         * math/s_clogl.c (__clogl): Likewise.
15493         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
15494         * math/s_csinf.c (__csinf): Likewise.
15495         * math/s_csinh.c (__csinh): Likewise.
15496         * math/s_csinhf.c (__csinhf): Likewise.
15497         * math/s_csinhl.c (__csinhl): Likewise.
15498         * math/s_csinl.c (__csinl): Likewise.
15499         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
15500         * math/s_csqrtf.c (__csqrtf): Likewise.
15501         * math/s_csqrtl.c (__csqrtl): Likewise.
15502         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
15503         * math/s_ctanf.c (__ctanf): Likewise.
15504         * math/s_ctanh.c (__ctanh): Likewise.
15505         * math/s_ctanhf.c (__ctanhf): Likewise.
15506         * math/s_ctanhl.c (__ctanhl): Likewise.
15507         * math/s_ctanl.c (__ctanl): Likewise.
15508         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
15509         instead of volatile.
15510         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
15511         math_check_force_underflow.
15512         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15513         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
15514         volatile when forcing underflow.
15515         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15516         math_check_force_underflow_nonneg.
15517         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
15518         Likewise.
15519         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
15520         math_check_force_underflow.
15521         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15522         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15523         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15524         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
15525         math_check_force_underflow_nonneg.
15526         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
15527         math_check_force_underflow.
15528         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
15529         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
15530         instead of volatile.
15531         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
15532         math_check_force_underflow.
15533         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15534         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15535         math_check_force_underflow_nonneg.
15536         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
15537         math_check_force_underflow.
15538         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15539         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15540         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
15541         math_check_force_underflow_nonneg.
15542         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15543         Likewise.
15544         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
15545         math_check_force_underflow.
15546         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15547         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15548         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
15549         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
15550         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15551         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
15552         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
15553         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
15554         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15555         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
15556         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15557         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
15558         Likewise.
15559         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
15560         math_check_force_underflow_nonneg.
15561         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15562         Likewise.
15563         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
15564         math_check_force_underflow.
15565         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15566         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
15567         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15568         Likewise.
15569         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
15570         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
15571         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
15572         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
15573         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
15574         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
15575         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
15576         instead of volatile.
15577         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
15578         math_check_force_underflow.
15579         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
15580         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
15581         math_check_force_underflow.
15582         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
15583         Likewise.
15584         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15585         Use math_check_force_underflow_nonneg.
15586         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
15587         math_check_force_underflow.
15588         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15589         Likewise.
15590         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15591         Likewise.
15592         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15593         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15594         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15595         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15596         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
15597         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15598         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15599         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
15600         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
15601         math_check_force_underflow_nonneg.
15602         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
15603         math_check_force_underflow.
15604         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15605         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
15606         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
15607         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
15608         math_check_force_underflow_nonneg.
15609         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
15610         math_check_force_underflow.
15611         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
15612         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
15613         instead of volatile.
15614         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
15615         math_check_force_underflow.
15617         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
15618         * stdlib/strtod_l.c: Include <math_private.h>.
15619         (overflow_value): Use math_narrow_eval.
15620         (underflow_value): Likewise.
15621         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15622         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15623         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15624         (__ieee754_gamma_r): Likewise.
15625         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
15626         Likewise.
15627         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15628         Likewise.
15629         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
15630         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
15631         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
15632         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
15633         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15634         (__ieee754_gammaf_r): Likewise.
15635         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15636         Likewise.
15637         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
15638         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
15639         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
15640         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
15641         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
15642         volatile.
15643         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
15644         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
15645         math_narrow_eval.
15646         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15647         Likewise.
15648         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15649         Likewise.
15650         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
15651         Likewise.
15652         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
15653         volatile.
15654         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
15655         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
15656         math_narrow_eval.
15657         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15658         Likewise.
15659         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15660         Likewise.
15662 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
15664         * nptl/Versions: Remove ignored symbols.
15666 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15668         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
15669         * nss/Makefile (tests): Update.
15671 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15673         * nss/bug18287.c: New file.
15674         * nss/Makefile (tests): Add bug18287.
15676 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15678         * mach/Versions (__mach_host_self_): Add symbol.
15680 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15682         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
15683         vm_page_size.
15685 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15687         Really fix sysdeps/i386/fpu/s_scalbn.S build
15689         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
15690         (libc: GLIBC_2_22): Remove unused version set.
15692 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15694         * config.make.in (enable-timezone-tools): New variable.
15695         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
15696         (enable_timezone_tools): Export to generated files.
15697         * configure: Regenerate.
15698         * INSTALL: Regenerate.
15699         * manual/install.texi (--disable-timezone-tools): Document new flag.
15700         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
15701         ifeq ($(enable-timezone-tools),yes) check.
15703 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15705         * timezone/Makefile: Revert previous change.
15707         [BZ #18980]
15708         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
15709         (DEFINE_DBL_MIN): Likewise.
15710         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15711         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15712         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15713         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15714         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
15715         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15716         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15717         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
15718         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
15719         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15720         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15721         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
15722         (flt_min): Replace with use of DEFINE_FLT_MIN.
15723         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15724         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
15725         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15726         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15727         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
15728         (flt_min): Replace with use of DEFINE_FLT_MIN.
15729         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15730         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
15731         (flt_min): Replace with use of DEFINE_FLT_MIN.
15732         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15733         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
15734         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
15735         (__ieee754_hypot): Use DBL_NARROW_EVAL.
15736         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
15737         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
15738         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
15739         (__ieee754_pow): Use DBL_NARROW_EVAL.
15740         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
15741         (__ieee754_powf): Use FLT_NARROW_EVAL.
15742         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
15743         (__ieee754_expf_sse2): Convert double-precision result to single
15744         precision.
15745         * sysdeps/i386/fpu/libm-test-ulps: Update.
15747 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15749         * timezone/Makefile: Ignore unused variable errors due to private.h
15750         (time_t_min) and (time_t_max).
15751         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
15752         Likewise.
15754 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15756         [BZ #18981]
15757         * sysdeps/i386/fpu/i386-math-asm.h: New file.
15758         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
15759         (__ieee754_scalb): Use DBL_NARROW_EVAL.
15760         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
15761         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
15762         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
15763         (__scalbn): Use DBL_NARROW_EVAL.
15764         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
15765         (__scalbnf): Use FLT_NARROW_EVAL.
15767 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15769         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
15770         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
15771         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
15772         * stdio-common/printf_fp.c (___printf_fp):
15773         Use signbit to get the sign. Use isinf macro to allow inlining.
15774         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
15775         * stdio-common/printf_size.c (__printf_size): Likewise.
15777 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15779         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
15781 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15783         [BZ #18980]
15784         * sysdeps/generic/math_private.h: Include <float.h>.
15785         (math_narrow_eval): New macro.
15786         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15787         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
15788         math_narrow_eval on overflowing return value.
15789         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
15790         Likewise.
15791         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15792         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
15793         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
15794         Likewise.
15795         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15797 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15799         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
15800         * math/Makefile: Remove isinf_ns.c.
15801         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
15802         * math/multc3.c (__multc3): Likewise.
15803         * math/s_casin.c (__casin): Likewise.
15804         * math/s_casinf.c (__casinf): Likewise.
15805         * math/s_casinl.c (__casinl): Likewise.
15806         * math/s_cproj.c (__cproj): Likewise.
15807         * math/s_cprojf.c (__cprojf): Likewise.
15808         * math/s_cprojl.c (__cprofl): Likewise.
15809         * math/s_ctan.c (__ctan): Likewise.
15810         * math/s_ctanf.c (__ctanf): Likewise.
15811         * math/s_ctanh.c (__ctanh): Likewise.
15812         * math/s_ctanhf.c (__ctanhf): Likewise.
15813         * math/s_ctanhl.c (__ctanhl): Likewise.
15814         * math/s_ctanl.c (__ctanl): Likewise.
15815         * math/w_fmod.c (__fmod): Likewise.
15816         * math/w_fmodf.c (__fmodf): Likewise.
15817         * math/w_fmodl.c (_fmodl): Likewise.
15818         * math/w_remainder.c (__remainder): Likewise.
15819         * math/w_remainderf.c (__remainderf): Likewise.
15820         * math/w_remainderl.c (__remainderl): Likewise.
15821         * math/w_scalb.c (__scalb): Likewise.
15822         * math/w_scalbf.c (__scalbf): Likewise.
15823         * math/w_scalbl.c (__scalbl): Likewise.
15824         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
15825         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
15826         with isinf.
15827         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
15828         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
15829         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
15830         __isinf_nsf with isinf.
15831         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
15832         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
15833         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
15834         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
15835         with isinf.
15836         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
15837         __isinf_nsl with isinf.
15838         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
15839         with isinf.
15840         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
15841         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
15842         __isinf_nsl with isinf.
15843         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
15844         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
15845         with isinf.
15847 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15849         * resolv/base64.c (rcsid): Remove unused static.
15850         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
15851         static.  (tqpi1): Likewise.
15852         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
15853         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
15854         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
15855         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
15856         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
15857         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
15858         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
15859         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
15860         Likewise.
15862 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
15864         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
15865         <nptl/pthreadP.h>.
15866         (_longjmp_unwind): Use __libc_ptf_call.
15867         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
15869 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
15871         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
15872         * sysdeps/arm/__longjmp.S: Likewise.
15874 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15876         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
15877         Use __builtin_signbit.
15878         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15879         Use __builtin_signbitf.
15880         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15881         Use __builtin_signbitl.
15882         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15883         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15885 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15887         [BZ #15367]
15888         [BZ #17441]
15890         * math/Makefile: Build test-snan.c with -fsignaling-nans.
15891         * math/math.h (fpclassify): Use __builtin_fpclassify when
15892         available.  (signbit): Use __builtin_signbit(f/l).
15893         (isfinite): Use__builtin_isfinite.  (isnormal): Use
15894         __builtin_isnormal.  (isnan): Use __builtin_isnan.
15895         (isinf): Use __builtin_isinf_sign.
15897 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15899         * benchtests/Makefile: Add bench-math-inlines, link with libm.
15900         * benchtests/bench-math-inlines.c: New benchmark.
15901         * benchtests/bench-util.h: New file.
15902         * benchtests/bench-util.c: New file.
15903         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
15905 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
15907         * elf/tst-dlmopen1.c: Define TEST_SO.
15908         (do_test): Use TEST_SO.
15910         * elf/dl-load.c: Include libc-internal.h.
15911         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
15913 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15915         [BZ #17887]
15916         * time/strptime_l.c (__strptime_internal): Make %z accept
15917         [+-]HH:MM time zones.
15919 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15921         [BZ #17886]
15922         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
15923         valid time zone.
15925 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
15927         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
15928         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
15929         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15930         (__ASSUME_FDATASYNC): Delete.
15932 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15934         * conform/linknamespace.pl: Require weak undefined symbols to be
15935         in the standard namespace.
15936         (%strong_syms): Rename to %seen_syms.
15937         (%strong_seen): Rename to %seen_where.
15939 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
15941         [BZ #18970]
15942         * misc/error.c (error): Replace pthread_setcancelstate with
15943         __pthread_setcancelstate.
15944         (error_at_line): Likewise.
15945         * posix/wordexp.c (parse_comm): Likewise.
15946         * stdlib/fmtmsg.c (fmtmsg): Likewise.
15947         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
15948         (__pthread_setcancelstate): This.
15949         (pthread_setcancelstate): Add an alias.
15950         * nptl/nptl-init.c (pthread_functions): Replace
15951         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
15952         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
15953         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
15954         hidden_proto.
15955         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
15956         it with hidden_def.
15957         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
15958         (pthread_setcancelstate): Renamed to ...
15959         (__pthread_setcancelstate): This.
15960         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
15961         __libc_ptf_call with __pthread_setcancelstate.
15963 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15964             Andreas Schwab  <schwab@suse.de>
15966         [BZ #17118]
15967         * math/s_ctan.c (__ctan): Determine sign of zero real part of
15968         result when imaginary part of argument is infinite using sine and
15969         cosine.
15970         * math/s_ctanf.c (__ctanf): Likewise.
15971         * math/s_ctanl.c (__ctanl): Likewise.
15972         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
15973         of result when real part of argument is infinite using sine and
15974         cosine.
15975         * math/s_ctanhf.c (__ctanhf): Likewise.
15976         * math/s_ctanhl.c (__ctanhl): Likewise.
15977         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
15978         (ctanh_test_data): Add more tests of ctanh.
15980 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15982         [BZ #15384]
15983         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
15984         bit-mask as in subtraction.
15985         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
15986         Likewise.
15987         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15988         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15989         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
15991         [BZ #18951]
15992         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
15993         underflow exception for small results.
15994         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15995         Likewise.
15996         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15997         Likewise.
15998         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15999         Likewise.
16000         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16001         Likewise.
16002         * math/auto-libm-test-in: Add more tests of tgamma.
16003         * math/auto-libm-test-out: Regenerated.
16005 2015-09-17  Andreas Schwab  <schwab@suse.de>
16007         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
16009 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16011         [BZ #18977]
16012         * math/bits/mathcalls.h
16013         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
16014         not declare.
16015         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
16016         Likewise.
16017         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
16018         Likewise.
16019         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
16020         Likewise.
16021         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
16022         Likewise.
16023         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
16024         Likewise.
16025         * conform/data/math.h-data
16026         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
16027         function.
16028         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
16029         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
16030         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
16031         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
16032         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
16033         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
16034         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
16035         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
16036         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
16037         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
16038         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
16040         [BZ #6803]
16041         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
16042         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
16043         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
16044         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
16045         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
16046         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
16047         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
16048         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
16049         [NO_LONG_DOUBLE] (scalbnl): Likewise.
16050         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
16051         Likewise.
16052         [NO_LONG_DOUBLE] (scalbnl): Likewise.
16053         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
16054         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
16055         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
16056         long_double_symbol calls.
16057         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
16058         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
16059         strong alias of __ldexpl.
16060         (scalbnl): Define using long_double_symbol.
16061         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
16062         Remove alias.
16063         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
16064         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
16065         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
16066         (scalbln_test_data): Add more errno expectations.
16068 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
16070         Cache the host port like we cache the task port.  This way we do not
16071         need to call the kernel just to get the port.  Furthermore, we no
16072         longer increase the reference count on every invocation of
16073         `mach_host_self'.
16075         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
16076         Protect declarations against the macro expansion.
16077         * mach/mach_init.c (__mach_host_self_): New variable.
16078         (mach_init): Initialize `__mach_host_self_'.
16079         * mach/mach_init.h (__mach_host_self_): New declaration.
16080         (__mach_host_self, mach_host_self): New macros.
16081         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
16082         Release reference.
16084 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16086         [BZ #4404]
16087         * po/de.po: Update from Translation Project.
16089         [BZ #16415]
16090         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
16091         (__expm1l): Remove code to handle positive infinity and overflow.
16092         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
16093         variable.
16094         (__expm1l): Remove code to handle positive infinity and overflow.
16096 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
16097             Paul Pluzhnikov  <ppluzhnikov@google.com>
16099         [BZ #18872]
16100         * stdio-common/Makefile (tst-printf-bz18872): New test.
16101         (tst-printf-bz18872-mem.out): Likewise.
16102         * stdio-common/tst-printf-bz18872.sh: Generate new test.
16103         * stdio-common/vfprintf.c: Fix memory leaks.
16105 2015-09-16  Andreas Schwab  <schwab@suse.de>
16107         [BZ #17244]
16108         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
16109         Remove extra va_start/va_end calls.
16111         [BZ #17243]
16112         * posix/execl.c (execl): Add missing va_end.
16113         * posix/execle.c (execle): Likewise.
16114         * posix/execlp.c (execlp): Likewise.
16116 2015-09-15  Roland McGrath  <roland@hack.frob.com>
16118         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
16119         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
16121 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
16123         [BZ #18967]
16124         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
16125         undefine around includes of <bits/mathcalls.h>.
16126         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
16127         not declare function.
16128         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
16129         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
16130         (scalb): Likewise.
16131         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
16132         not define macro.
16133         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
16134         variable.
16135         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16136         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16137         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16139         [BZ #18857]
16140         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
16141         return non-finite argument without doing ordered comparisons on
16142         it.
16144         [BZ #16296]
16145         * math/fenv.h (fegetround): Use __attribute_pure__.
16146         * include/fenv.h (__fegetround): Likewise.
16148         [BZ #18595]
16149         * math/s_ctan.c (__ctan): Force underflow exception for results
16150         whose real or imaginary part has small absolute value.
16151         * math/s_ctanf.c (__ctanf): Likewise.
16152         * math/s_ctanh.c (__ctanh): Likewise.
16153         * math/s_ctanhf.c (__ctanhf): Likewise.
16154         * math/s_ctanhl.c (__ctanhl): Likewise.
16155         * math/s_ctanl.c (__ctanl): Likewise.
16156         * math/auto-libm-test-in: Do not allow missing underflow for ctan
16157         and ctanh.  Add more tests of ctan and ctanh.
16159         [BZ #15918]
16160         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
16161         handling of cases where one argument is an infinity.
16163         [BZ #18875]
16164         [BZ #18966]
16165         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
16166         (MO): New macro.
16167         (__ieee754_exp10): For small results, force underflow exception
16168         and remove excess range and precision from return value.
16169         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
16170         (MO): New macro.
16171         (__ieee754_exp10f): For small results, force underflow exception
16172         and remove excess range and precision from return value.
16173         * math/auto-libm-test-in: Add more tests of exp10.
16174         * math/auto-libm-test-out: Regenerated.
16176 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
16178         [BZ #18875]
16179         [BZ #18961]
16180         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
16181         (MO): New macro.
16182         (__ieee754_exp): For small results, force underflow exception and
16183         remove excess range and precision from return value.
16184         (__exp_finite): Likewise.
16185         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
16186         (MO): New macro.
16187         (__ieee754_expf): For small results, force underflow exception and
16188         remove excess range and precision from return value.
16189         (__expf_finite): Likewise.
16190         * math/auto-libm-test-in: Add more tests of exp.
16191         * math/auto-libm-test-out: Regenerated.
16193         [BZ #16521]
16194         [BZ #18875]
16195         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
16196         small results.
16197         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
16198         (MO): New macro.
16199         (__ieee754_exp2): For small results, force underflow exception and
16200         remove excess range and precision from return value.
16201         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
16202         (MO): New macro.
16203         (__ieee754_exp2f): For small results, force underflow exception
16204         and remove excess range and precision from return value.
16205         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
16206         (MO): New macro.
16207         (__ieee754_exp2l): Force underflow exception for small results.
16208         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16209         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16210         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
16211         (MO): New macro.
16212         (__ieee754_exp2l): Force underflow exception for small results.
16213         * math/auto-libm-test-in: Add more tests or exp2.
16214         * math/auto-libm-test-out: Regenerated.
16216 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
16218         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
16220         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
16221         /dev/null.
16223 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16225         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16226         io fs process)): Drop spurious backslash.
16228 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16230         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
16231         Use sysinfo system call instead of parsing /proc/meminfo.
16232         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
16233         Likewise.
16235 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
16237         [BZ #16985]
16238         * programs/localedef.c (main): Display argv[remaining] when
16239         output_path is NULL.
16241 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16243         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16244         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
16245         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
16246         tanh.
16247         * math/auto-libm-test-out: Regenerated.
16248         * sysdeps/i386/fpu/libm-test-ulps: Update.
16249         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16250         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16253 2015-09-11  Roland McGrath  <roland@hack.frob.com>
16255         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
16256         Use 'override' keyword to freeze the value here, preventing
16257         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
16259 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16261         [BZ #14912]
16262         * sysdeps/aarch64/bits/atomic.h: Move to ...
16263         * sysdeps/aarch64/atomic-machine.h: ...here.
16264         (_AARCH64_BITS_ATOMIC_H): Rename macro to
16265         _AARCH64_ATOMIC_MACHINE_H.
16266         * sysdeps/alpha/bits/atomic.h: Move to ...
16267         * sysdeps/alpha/atomic-machine.h: ...here.
16268         * sysdeps/arm/bits/atomic.h: Move to ...
16269         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
16270         * bits/atomic.h: Move to ...
16271         * sysdeps/generic/atomic-machine.h: ...here.
16272         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16273         * sysdeps/i386/bits/atomic.h: Move to ...
16274         * sysdeps/i386/atomic-machine.h: ...here.
16275         * sysdeps/ia64/bits/atomic.h: Move to ...
16276         * sysdeps/ia64/atomic-machine.h: ...here.
16277         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
16278         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
16279         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16280         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
16281         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
16282         * sysdeps/microblaze/bits/atomic.h: Move to ...
16283         * sysdeps/microblaze/atomic-machine.h: ...here.
16284         * sysdeps/mips/bits/atomic.h: Move to ...
16285         * sysdeps/mips/atomic-machine.h: ...here.
16286         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
16287         * sysdeps/powerpc/bits/atomic.h: Move to ...
16288         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
16289         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
16290         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
16291         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
16292         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
16293         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
16294         <atomic-machine.h> instead of <bits/atomic.h>.
16295         * sysdeps/s390/bits/atomic.h: Move to ...
16296         * sysdeps/s390/atomic-machine.h: ...here.
16297         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
16298         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
16299         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16300         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
16301         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
16302         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
16303         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
16304         * sysdeps/tile/bits/atomic.h: Move to ...
16305         * sysdeps/tile/atomic-machine.h: ...here.
16306         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
16307         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
16308         <sysdeps/tile/atomic-machine.h> instead of
16309         <sysdeps/tile/bits/atomic.h>.
16310         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16311         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
16312         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
16313         <sysdeps/tile/atomic-machine.h> instead of
16314         <sysdeps/tile/bits/atomic.h>.
16315         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16316         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
16317         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
16318         <sysdeps/arm/atomic-machine.h> instead of
16319         <sysdeps/arm/bits/atomic.h>.
16320         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
16321         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
16322         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16323         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
16324         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
16325         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16326         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
16327         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
16328         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
16329         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
16330         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
16331         * sysdeps/x86_64/bits/atomic.h: Move to ...
16332         * sysdeps/x86_64/atomic-machine.h: ...here.
16333         * include/atomic.h: Include <atomic-machine.h> instead of
16334         <bits/atomic.h>.
16336         * sysdeps/mips/mips32/libm-test-ulps: Update.
16337         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16339         [BZ #18952]
16340         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
16341         not convert non-integer negative arguments to int to determine the
16342         value of signgam.
16343         * math/auto-libm-test-in: Add more tests of lgamma.
16344         * math/auto-libm-test-out: Regenerated.
16346         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
16347         cosh, csqrt, erfc, expm1 and lgamma.
16348         * math/auto-libm-test-out: Regenerated.
16349         * sysdeps/i386/fpu/libm-test-ulps: Update.
16350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16352 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
16354         [BZ #2542]
16355         [BZ #2543]
16356         [BZ #2558]
16357         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
16358         __lgamma_neg for arguments from -28.0 to -2.0.
16359         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
16360         __lgamma_negf for arguments from -15.0 to -2.0.
16361         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16362         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
16363         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
16364         Call __lgamma_negl for arguments from -33.0 to -2.0.
16365         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
16366         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16367         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16368         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
16369         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16370         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16371         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
16372         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
16373         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
16374         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16375         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
16376         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
16377         (__lgamma_neg): Likewise.
16378         (__lgamma_negl): Likewise.
16379         (__lgamma_product): Likewise.
16380         (__lgamma_productl): Likewise.
16381         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
16382         * math/auto-libm-test-in: Add more tests of lgamma.
16383         * math/auto-libm-test-out: Regenerated.
16384         * sysdeps/i386/fpu/libm-test-ulps: Update.
16385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16387 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
16389         [BZ #18675]
16390         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
16392 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
16394         [BZ #14912]
16395         * bits/libc-lock.h: Move to ...
16396         * sysdeps/generic/libc-lock.h: ...here.
16397         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16398         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
16399         * sysdeps/mach/hurd/libc-lock.h: ...here.
16400         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16401         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
16402         * sysdeps/mach/bits/libc-lock.h: Move to ...
16403         * sysdeps/mach/libc-lock.h: ...here.
16404         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16405         * sysdeps/nptl/bits/libc-lock.h: Move to ...
16406         * sysdeps/nptl/libc-lock.h: ...here.
16407         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16408         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
16409         * sysdeps/nptl/libc-lockP.h: ...here.
16410         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
16411         * crypt/crypt_util.c: Include <libc-lock.h> instead of
16412         <bits/libc-lock.h>.
16413         * dirent/scandir-tail.c: Likewise.
16414         * dlfcn/dlerror.c: Likewise.
16415         * elf/dl-close.c: Likewise.
16416         * elf/dl-iteratephdr.c: Likewise.
16417         * elf/dl-lookup.c: Likewise.
16418         * elf/dl-open.c: Likewise.
16419         * elf/dl-support.c: Likewise.
16420         * elf/dl-writev.h: Likewise.
16421         * elf/rtld.c: Likewise.
16422         * grp/fgetgrent.c: Likewise.
16423         * gshadow/fgetsgent.c: Likewise.
16424         * gshadow/sgetsgent.c: Likewise.
16425         * iconv/gconv_conf.c: Likewise.
16426         * iconv/gconv_db.c: Likewise.
16427         * iconv/gconv_dl.c: Likewise.
16428         * iconv/gconv_int.h: Likewise.
16429         * iconv/gconv_trans.c: Likewise.
16430         * include/link.h: Likewise.
16431         * inet/getnameinfo.c: Likewise.
16432         * inet/getnetgrent.c: Likewise.
16433         * inet/getnetgrent_r.c: Likewise.
16434         * intl/bindtextdom.c: Likewise.
16435         * intl/dcigettext.c: Likewise.
16436         * intl/finddomain.c: Likewise.
16437         * intl/gettextP.h: Likewise.
16438         * intl/loadmsgcat.c: Likewise.
16439         * intl/localealias.c: Likewise.
16440         * intl/textdomain.c: Likewise.
16441         * libidn/idn-stub.c: Likewise.
16442         * libio/libioP.h: Likewise.
16443         * locale/duplocale.c: Likewise.
16444         * locale/freelocale.c: Likewise.
16445         * locale/newlocale.c: Likewise.
16446         * locale/setlocale.c: Likewise.
16447         * login/getutent_r.c: Likewise.
16448         * login/getutid_r.c: Likewise.
16449         * login/getutline_r.c: Likewise.
16450         * login/utmp-private.h: Likewise.
16451         * login/utmpname.c: Likewise.
16452         * malloc/mtrace.c: Likewise.
16453         * misc/efgcvt.c: Likewise.
16454         * misc/error.c: Likewise.
16455         * misc/fstab.c: Likewise.
16456         * misc/getpass.c: Likewise.
16457         * misc/mntent.c: Likewise.
16458         * misc/syslog.c: Likewise.
16459         * nis/nis_call.c: Likewise.
16460         * nis/nis_callback.c: Likewise.
16461         * nis/nss-default.c: Likewise.
16462         * nis/nss_compat/compat-grp.c: Likewise.
16463         * nis/nss_compat/compat-initgroups.c: Likewise.
16464         * nis/nss_compat/compat-pwd.c: Likewise.
16465         * nis/nss_compat/compat-spwd.c: Likewise.
16466         * nis/nss_nis/nis-alias.c: Likewise.
16467         * nis/nss_nis/nis-ethers.c: Likewise.
16468         * nis/nss_nis/nis-grp.c: Likewise.
16469         * nis/nss_nis/nis-hosts.c: Likewise.
16470         * nis/nss_nis/nis-network.c: Likewise.
16471         * nis/nss_nis/nis-proto.c: Likewise.
16472         * nis/nss_nis/nis-pwd.c: Likewise.
16473         * nis/nss_nis/nis-rpc.c: Likewise.
16474         * nis/nss_nis/nis-service.c: Likewise.
16475         * nis/nss_nis/nis-spwd.c: Likewise.
16476         * nis/nss_nisplus/nisplus-alias.c: Likewise.
16477         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
16478         * nis/nss_nisplus/nisplus-grp.c: Likewise.
16479         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
16480         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
16481         * nis/nss_nisplus/nisplus-network.c: Likewise.
16482         * nis/nss_nisplus/nisplus-proto.c: Likewise.
16483         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
16484         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
16485         * nis/nss_nisplus/nisplus-service.c: Likewise.
16486         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
16487         * nis/ypclnt.c: Likewise.
16488         * nptl/libc_pthread_init.c: Likewise.
16489         * nss/getXXbyYY.c: Likewise.
16490         * nss/getXXent.c: Likewise.
16491         * nss/getXXent_r.c: Likewise.
16492         * nss/nss_db/db-XXX.c: Likewise.
16493         * nss/nss_db/db-netgrp.c: Likewise.
16494         * nss/nss_db/nss_db.h: Likewise.
16495         * nss/nss_files/files-XXX.c: Likewise.
16496         * nss/nss_files/files-alias.c: Likewise.
16497         * nss/nsswitch.c: Likewise.
16498         * posix/regex_internal.h: Likewise.
16499         * posix/wordexp.c: Likewise.
16500         * pwd/fgetpwent.c: Likewise.
16501         * resolv/res_hconf.c: Likewise.
16502         * resolv/res_libc.c: Likewise.
16503         * shadow/fgetspent.c: Likewise.
16504         * shadow/lckpwdf.c: Likewise.
16505         * shadow/sgetspent.c: Likewise.
16506         * socket/opensock.c: Likewise.
16507         * stdio-common/reg-modifier.c: Likewise.
16508         * stdio-common/reg-printf.c: Likewise.
16509         * stdio-common/reg-type.c: Likewise.
16510         * stdio-common/vfprintf.c: Likewise.
16511         * stdio-common/vfscanf.c: Likewise.
16512         * stdlib/abort.c: Likewise.
16513         * stdlib/cxa_atexit.c: Likewise.
16514         * stdlib/fmtmsg.c: Likewise.
16515         * stdlib/random.c: Likewise.
16516         * stdlib/setenv.c: Likewise.
16517         * string/strsignal.c: Likewise.
16518         * sunrpc/auth_none.c: Likewise.
16519         * sunrpc/bindrsvprt.c: Likewise.
16520         * sunrpc/create_xid.c: Likewise.
16521         * sunrpc/key_call.c: Likewise.
16522         * sunrpc/rpc_thread.c: Likewise.
16523         * sysdeps/arm/backtrace.c: Likewise.
16524         * sysdeps/generic/ldsodefs.h: Likewise.
16525         * sysdeps/generic/stdio-lock.h: Likewise.
16526         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
16527         * sysdeps/i386/backtrace.c: Likewise.
16528         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16529         * sysdeps/m68k/backtrace.c: Likewise.
16530         * sysdeps/mach/hurd/cthreads.c: Likewise.
16531         * sysdeps/mach/hurd/dirstream.h: Likewise.
16532         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16533         * sysdeps/nptl/malloc-machine.h: Likewise.
16534         * sysdeps/nptl/stdio-lock.h: Likewise.
16535         * sysdeps/posix/dirstream.h: Likewise.
16536         * sysdeps/posix/getaddrinfo.c: Likewise.
16537         * sysdeps/posix/system.c: Likewise.
16538         * sysdeps/pthread/aio_suspend.c: Likewise.
16539         * sysdeps/s390/s390-32/backtrace.c: Likewise.
16540         * sysdeps/s390/s390-64/backtrace.c: Likewise.
16541         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16542         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16543         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
16544         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
16545         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
16546         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16547         * sysdeps/unix/sysv/linux/system.c: Likewise.
16548         * sysdeps/x86_64/backtrace.c: Likewise.
16549         * time/alt_digit.c: Likewise.
16550         * time/era.c: Likewise.
16551         * time/tzset.c: Likewise.
16552         * wcsmbs/wcsmbsload.c: Likewise.
16553         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
16554         instead of <bits/libc-lock.h> in comment.
16556 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
16558         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
16559         Only use .set mips2 if the current ISA is below mips2.
16560         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
16561         Likewise.
16562         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
16563         mips32r2 if the current ISA is below mips32r2.
16564         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
16565         (TLS_IE): Updated to use the TLD_RDHWR macro.
16566         (TLS_LE): Likewise.
16567         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
16568         __ASSEMBLER__ condition.
16570 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16572         Fix parallel build of before-compile targets.
16574         * sysdeps/mach/Makefile ($(patsubst
16575         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
16576         mach-before-compile target.
16577         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16578         io fs process)): Move rule to dedicated hurd-before-compile target.
16580 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16582         Fix rules generating headers in hurd/ and mach/ when initial make call
16583         has subdir= explicitly set.
16585         * sysdeps/mach/Makefile ($(patsubst
16586         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
16587         calling $(MAKE).
16588         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16589         io fs process)): Force subdir to hurd when calling $(MAKE).
16590         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
16591         subdir to mach when calling $(MAKE).
16593 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
16595         Check sysheaders when looking for Mach and Hurd headers
16597         * sysdeps/mach/configure.ac: Add sysheaders check.
16598         * sysdeps/mach/configure: Regenerate.
16599         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
16600         * sysdeps/mach/hurd/configure: Regenerate.
16602 2015-09-04  Roland McGrath  <roland@hack.frob.com>
16604         [BZ #18921]
16605         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
16606         Fix inverted sense of test of 'o_directory_works' value.
16607         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
16608         Bernhard Voelker <mail@bernhard-voelker.de>.
16610 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16612         [BZ #14912]
16613         * bits/linkmap.h: Move to ...
16614         * sysdeps/generic/linkmap.h: ...here.
16615         * sysdeps/aarch64/bits/linkmap.h: Move to ...
16616         * sysdeps/aarch64/linkmap.h: ...here.
16617         * sysdeps/arm/bits/linkmap.h: Move to ...
16618         * sysdeps/arm/linkmap.h: ...here.
16619         * sysdeps/hppa/bits/linkmap.h: Move to ...
16620         * sysdeps/hppa/linkmap.h: ...here.
16621         * sysdeps/ia64/bits/linkmap.h: Move to ...
16622         * sysdeps/ia64/linkmap.h: ...here.
16623         * sysdeps/mips/bits/linkmap.h: Move to ...
16624         * sysdeps/mips/linkmap.h: ...here.
16625         * sysdeps/s390/bits/linkmap.h: Move to ...
16626         * sysdeps/s390/linkmap.h: ...here.
16627         * sysdeps/sh/bits/linkmap.h: Move to ...
16628         * sysdeps/sh/linkmap.h: ...here.
16629         * sysdeps/x86/bits/linkmap.h: Move to ...
16630         * sysdeps/x86/linkmap.h: ...here.
16631         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
16633 2015-09-04  Andreas Schwab  <schwab@suse.de>
16635         [BZ #18635]
16636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
16637         (__makecontext): Terminate FDE before return label.
16638         (__novec_makecontext): Likewise.
16640 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16642         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
16643         first member of struct sv in syscall macro.
16645 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16647         [BZ #14912]
16648         * bits/stdio-lock.h: Move to ...
16649         * sysdeps/generic/stdio-lock.h: ...here.
16650         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16651         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
16652         * sysdeps/nptl/stdio-lock.h: ...here.
16653         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16654         * include/libio.h: Include <stdio-lock.h> instead of
16655         <bits/stdio-lock.h>.
16656         * sysdeps/nptl/fork.c: Likewise.
16657         * sysdeps/pthread/flockfile.c: Likewise.
16658         * sysdeps/pthread/ftrylockfile.c: Likewise.
16659         * sysdeps/pthread/funlockfile.c: Likewise.
16661         [BZ #14912]
16662         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
16663         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
16664         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
16665         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
16666         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
16667         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16668         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
16670 2015-09-03  Roland McGrath  <roland@hack.frob.com>
16672         * elf/Makefile (test-xfail-tst-protected1a): New variable.
16673         (test-xfail-tst-protected1b): New variable.
16675 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
16677         [BZ #14912]
16678         * bits/libc-tsd.h: Move to ...
16679         * sysdeps/generic/libc-tsd.h: ...here.
16680         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
16681         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
16682         * sysdeps/mach/hurd/libc-tsd.h: ...here.
16683         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
16684         * include/ctype.h: Include <libc-tsd.h> instead of
16685         <bits/libc-tsd.h>.
16686         * include/rpc/rpc.h: Likewise.
16687         * locale/localeinfo.h: Likewise.
16688         * sunrpc/rpc_thread.c: Likewise.
16689         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16690         * sysdeps/nptl/malloc-machine.h: Likewise.
16692         * Makefile (headers): Remove bits/libc-lock.h.
16693         * libio/Makefile (headers): Remove bits/stdio-lock.h.
16695         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
16696         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
16697         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
16698         <bits/stdio-lock.h>.
16699         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
16700         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
16702 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16704         [BZ #18757]
16705         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
16706         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
16707         BZ #18757.
16709 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16711         * malloc/mtrace.pl: Filter out NULL entries.
16713 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
16715         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
16716         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
16717         macro.
16719         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
16720         (TCP_CC_INFO): Likewise.
16721         (TCP_SAVE_SYN): Likewise.
16722         (TCP_SAVED_SYN): Likewise.
16724 2015-08-31  Brett Neumeier <brett@neumeier.us>
16726         [BZ #18870]
16727         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
16729 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
16731         [BZ #18873]
16732         Fix broken overflow check in posix_fallocate
16733         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
16734         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16735         Fix parenthesization typo.
16737 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
16739         [BZ #18887]
16740         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
16741         tst-mntent-blank-passno.
16742         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
16743         * misc/tst-mntent-blank-corrupt.c: New test.
16744         * misc/tst-mntent-blank-passno.c: New test ripped from ...
16745         * misc/tst-mntent.c (do_test): ... here.
16747 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
16749         [BZ #4404]
16750         * po/de.po: Fix SIGALRM typo.
16752 2015-08-28  James Perkins  <james@loowit.net>
16754         * time/tst-strptime2.c (tests): Replace short list of test
16755         strings for strptime %z specifier with code which exhaustively
16756         tests every combination of sign and 0 to 5 digits. Tests for
16757         rejection of invalid strings.
16759 2015-08-28  James Perkins  <james@loowit.net>
16761         [BZ #16141]
16762         * time/strptime_l.c (__strptime_internal): Fix %z minutes
16763         calculation, removing incorrect decimal time rounding, so that
16764         all minute values result in a valid seconds value.
16765         * time/strptime_l.c (__strptime_internal): Extend %z time zone
16766         offset range limits to UTC-99:59 through UTC+99:59 to parse
16767         current and historical use cases.
16768         * time/tst-strptime2.c (tests): Modify and add tests for the
16769         strptime %z input field descriptor, specifically conversion of
16770         minutes to seconds and validating an offset range of -9959 to
16771         +9959.
16773 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16774             Dmitry V. Levin  <ldv@altlinux.org>
16776         [BZ #18877]
16777         * posix/Makefile (tests): Add tst-mmap-offset.
16778         * posix/tst-mmap.c: New file.
16779         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
16780         offset calculation for negative values.
16782 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16784         * sysdeps/i386/init-arch.h: New file.
16785         * sysdeps/i386/i586/init-arch.h: Likewise.
16786         * sysdeps/i386/i686/init-arch.h: Likewise.
16787         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
16788         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
16789         * sysdeps/x86/cpu-features.h (bit_I586): New.
16790         (bit_I686): Likewise.
16791         (bit_CX8): Likewise.
16792         (bit_CMOV): Likewise.
16793         (index_CX8): Likewise.
16794         (index_CMOV): Likewise.
16795         (index_I586): Likewise.
16796         (index_I686): Likewise.
16797         (reg_CX8): Likewise.
16798         (reg_CMOV): Likewise.
16799         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
16800         available at compile-time.
16801         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
16802         available at compile-time.
16803         * sysdeps/x86/init-arch.h (USE_I586): New macro.
16804         (USE_I686): Likewise.
16806 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16808         * sysdeps/i386/bcopy.S: New file.
16809         * sysdeps/i386/bzero.S: Likewise.
16810         * sysdeps/i386/memcpy.S: Likewise.
16811         * sysdeps/i386/memmove.S: Likewise.
16812         * sysdeps/i386/mempcpy.S: Likewise.
16813         * sysdeps/i386/memset.S: Likewise.
16814         * sysdeps/i386/bzero.c: Removed.
16815         * sysdeps/i386/memset.c: Likewise.
16816         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
16817         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
16818         * sysdeps/i386/i586/memset_chk.S: Likewise.
16819         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
16820         * sysdeps/i386/memcpy_chk.S: Here.
16821         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
16822         * sysdeps/i386/memmove_chk.S: Here.
16823         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
16824         * sysdeps/i386/mempcpy_chk.S: Likewise.
16825         * sysdeps/i386/i686/memset_chk.S: Moved to ...
16826         * sysdeps/i386/memset_chk.S: Likewise.
16828 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
16830         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
16831         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
16832         file, move DIAG_POP_NEEDS_COMMENT to end of file.
16833         * soft-fp/fmadf4.c: Ditto.
16834         * soft-fp/fmatf4.c: Ditto.
16836 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16838         * sysdeps/i386/i586/Implies: Removed.
16839         * sysdeps/i386/i686/Implies: Likewise.
16841 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16843         * sysdeps/i386/i486/strlen.S: Moved to ...
16844         * sysdeps/i386/strlen.S: Here.
16846 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16848         * sysdeps/i386/i486/strcat.S: Moved to ...
16849         * sysdeps/i386/strcat.S: Here.
16851 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16853         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
16854         * sysdeps/i386/pthread_spin_trylock.S: Here.
16855         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
16856         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
16858 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16860         * sysdeps/i386/i486/string-inlines.c: Moved to ...
16861         * sysdeps/i386/string-inlines.c: Here.
16863 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16865         * sysdeps/i386/i486/htonl.S: Moved ...
16866         * sysdeps/i386/htonl.S: here.
16868 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16870         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
16871         * sysdeps/i386/bits/atomic.h: Here.
16873 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16875         * sysdeps/i386/i486/Versions: Removed.
16877 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16879         [BZ #2898]
16880         * misc/mktemp.c: Add mkdtemp to the link_warning message.
16881         Based on patch by Aurelien Jarno.
16883 2015-08-26  Stan Shebs  <stanshebs@google.com>
16885         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16886         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16888 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16890         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
16891         * sysdeps/powerpc/dl-procinfo.c:
16892         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
16893         feature so it shows when LD_SHOW_AUXV=1.
16895 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16897         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16898         (__arch_compare_and_exchange_val_32_acq): Remove and use common
16899         definition.  ISA 2.07B no longer requires full sync.
16901 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
16903         [BZ #18863]
16904         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
16905         (si_call_addr): Define.
16906         (si_syscall): Define.
16907         (si_arch): Define.
16909 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16911         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
16912         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
16913         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
16914         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16915         (__memset_zero_constant_len_parameter): New.
16916         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
16917         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16918         (__memset_zero_constant_len_parameter): Don't define if
16919         __memset_chk or USE_AS_BZERO are defined.
16921         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
16922         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
16923         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
16925         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
16926         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
16927         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
16928         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
16929         comments.
16930         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
16931         -mno-mmx for $(all-rtld-routines).
16932         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
16933         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
16934         i386.
16936 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16938         * sysdeps/generic/unwind.h
16939         (_Unwind_Word): Use __mode__(__unwind_word__)
16940         instead of __mode__(__word__).
16941         (_Unwind_Sword): Likewise.
16943         * sysdeps/s390/s390-64/utf8-utf16-z9.c
16944         (MAX_NEEDED_INPUT): New define.
16945         (MAX_NEEDED_OUTPUT): New define.
16947         * NEWS: New item for IBM z13 string optimizations.
16949         * sysdeps/s390/multiarch/memrchr-c.c: New File.
16950         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
16951         * sysdeps/s390/multiarch/memrchr.c: Likewise.
16952         * sysdeps/s390/multiarch/Makefile
16953         (sysdep_routines): Add memrchr functions.
16954         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16955         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
16957         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
16958         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
16959         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
16960         * sysdeps/s390/multiarch/Makefile
16961         (sysdep_routines): Add wmemcmp functions.
16962         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16963         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
16964         * benchtests/bench-wmemcmp.c: New File.
16965         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
16967         * sysdeps/s390/multiarch/wmemset-c.c: New File.
16968         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
16969         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16970         * sysdeps/s390/multiarch/Makefile
16971         (sysdep_routines): Add wmemset functions.
16972         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16973         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
16974         * wcsmbs/wmemset.c: Use WMEMSET if defined.
16975         * string/test-memset.c: Add wmemset support.
16976         * wcsmbs/test-wmemset.c: New File.
16977         * wcsmbs/Makefile (strop-tests): Add wmemset.
16978         * benchtests/bench-memset.c: Add wmemset support.
16979         * benchtests/bench-wmemset.c: New File.
16980         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
16982         * sysdeps/s390/multiarch/memccpy-c.c: New File.
16983         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
16984         * sysdeps/s390/multiarch/memccpy.c: Likewise.
16985         * sysdeps/s390/multiarch/Makefile
16986         (sysdep_routines): Add memccpy functions.
16987         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16988         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
16989         * string/memccpy.c: Use MEMCCPY if defined.
16991         * sysdeps/s390/multiarch/memchr-vx.S: New File.
16992         * sysdeps/s390/multiarch/memchr.c: Likewise.
16993         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
16994         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
16995         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16996         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
16997         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
16998         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16999         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
17000         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
17001         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
17002         and rawmemchr functions.
17003         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17004         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
17005         and wmemchr.
17006         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
17007         * string/test-memchr.c: Add wmemchr support.
17008         * wcsmbs/test-wmemchr.c: New File.
17009         * wcsmbs/Makefile (strop-tests): Add wmemchr.
17010         * benchtests/bench-memchr.c: Add wmemchr support.
17011         * benchtests/bench-wmemchr.c: New File.
17012         * benchtests/Makefile (wcsmbs-bench): wmemchr.
17014         * sysdeps/s390/multiarch/strcspn-c.c: New File.
17015         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
17016         * sysdeps/s390/multiarch/strcspn.c: Likewise.
17017         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
17018         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
17019         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
17020         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
17021         wcscspn functions.
17022         * sysdeps/s390/multiarch/ifunc-impl-list.c
17023         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
17024         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
17025         * string/test-strcspn.c: Add wcscspn support.
17026         * wcsmbs/test-wcscspn.c: New File.
17027         * wcsmbs/Makefile (strop-tests): Add wcscspn.
17028         * benchtests/bench-strcspn.c: Add wcscspn support.
17029         * benchtests/bench-wcscspn.c: New File.
17030         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
17032         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
17033         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
17034         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
17035         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
17036         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
17037         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
17038         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
17039         wcspbrk functions.
17040         * sysdeps/s390/multiarch/ifunc-impl-list.c
17041         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
17042         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
17043         * string/test-strpbrk.c: Add wcspbrk support.
17044         * wcsmbs/test-wcspbrk.c: New File.
17045         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
17046         * benchtests/bench-strpbrk.c: Add wcspbrk support.
17047         * benchtests/bench-wcspbrk.c: New File.
17048         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
17050         * sysdeps/s390/multiarch/strspn-c.c: New File.
17051         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
17052         * sysdeps/s390/multiarch/strspn.c: Likewise.
17053         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
17054         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
17055         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
17056         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
17057         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
17058         wcsspn functions.
17059         * sysdeps/s390/multiarch/ifunc-impl-list.c
17060         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
17061         * string/test-strspn.c: Add wcsspn support.
17062         * wcsmbs/test-wcsspn.c: New File.
17063         * wcsmbs/Makefile (strop-tests): Add wcsspn.
17064         * benchtests/bench-strspn.c: Add wcsspn support.
17065         * benchtests/bench-wcsspn.c: New File.
17066         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
17068         * sysdeps/s390/multiarch/strrchr-c.c: New File.
17069         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
17070         * sysdeps/s390/multiarch/strrchr.c: Likewise.
17071         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
17072         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
17073         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
17074         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
17075         wcsrchr functions.
17076         * sysdeps/s390/multiarch/ifunc-impl-list.c
17077         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
17078         * benchtests/bench-wcsrchr.c: New File.
17079         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
17081         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
17082         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
17083         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
17084         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
17085         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
17086         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
17087         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
17088         wcschrnul functions.
17089         * sysdeps/s390/multiarch/ifunc-impl-list.c
17090         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
17091         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
17092         * string/test-strchr.c: Add wcschrnul support.
17093         * wcsmbs/test-wcschrnul.c: New File.
17094         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
17095         * benchtests/bench-strchr.c: Add wcschrnul support.
17096         * benchtests/bench-wcschrnul.c: New File.
17097         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
17099         * sysdeps/s390/multiarch/strchr-c.c: New File.
17100         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
17101         * sysdeps/s390/multiarch/strchr.c: Likewise.
17102         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
17103         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
17104         * sysdeps/s390/multiarch/wcschr.c: Likewise.
17105         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
17106         wcschr functions.
17107         * sysdeps/s390/multiarch/ifunc-impl-list.c
17108         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
17109         * string/strchr.c (STRCHR): Define and use macro.
17110         * benchtests/bench-wcschr.c: New File.
17111         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
17113         * sysdeps/s390/multiarch/strncmp-c.c: New File.
17114         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
17115         * sysdeps/s390/multiarch/strncmp.c: Likewise.
17116         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
17117         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
17118         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
17119         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
17120         wcsncmp functions.
17121         * sysdeps/s390/multiarch/ifunc-impl-list.c
17122         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
17123         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
17124         * benchtests/bench-strncmp.c: Add wcsncmp support.
17125         * benchtests/bench-wcsncmp.c: New File.
17126         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
17128         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
17129         * sysdeps/s390/multiarch/strcmp.c: Likewise.
17130         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
17131         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
17132         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
17133         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
17134         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
17135         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
17136         wcscmp functions.
17137         * sysdeps/s390/multiarch/ifunc-impl-list.c
17138         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
17139         * string/strcmp.c (STRCMP): Define and use macro.
17140         * benchtests/bench-wcscmp.c: New File.
17141         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
17142         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
17143         instead of _HAVE_STRING_ARCH_memchr.
17145         * sysdeps/s390/multiarch/strncat-c.c: New File.
17146         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
17147         * sysdeps/s390/multiarch/strncat.c: Likewise.
17148         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
17149         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
17150         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
17151         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
17152         wcsncat functions.
17153         * sysdeps/s390/multiarch/ifunc-impl-list.c
17154         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
17155         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
17156         * string/test-strncat.c: Add wcsncat support.
17157         * wcsmbs/test-wcsncat.c: New File.
17158         * wcsmbs/Makefile (strop-tests): Add wcsncat.
17159         * benchtests/bench-strncat.c: Add wcsncat support.
17160         * benchtests/bench-wcsncat.c: New File.
17161         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
17163         * sysdeps/s390/multiarch/strcat-c.c: New File.
17164         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
17165         * sysdeps/s390/multiarch/strcat.c: Likewise.
17166         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
17167         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
17168         * sysdeps/s390/multiarch/wcscat.c: Likewise.
17169         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
17170         wcscat functions.
17171         * sysdeps/s390/multiarch/ifunc-impl-list.c
17172         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
17173         * string/strcat.c (STRCAT): Define and use macro.
17174         * wcsmbs/wcscat.c: Use WCSCAT if defined.
17175         * string/test-strcat.c: Add wcscat support.
17176         * wcsmbs/test-wcscat.c: New File.
17177         * wcsmbs/Makefile (strop-tests): Add wcscat.
17178         * benchtests/bench-strcat.c: Add wcscat support.
17179         * benchtests/bench-wcscat.c: New File.
17180         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
17182         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
17183         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
17184         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
17185         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
17186         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
17187         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
17188         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
17189         wcpncpy functions.
17190         * sysdeps/s390/multiarch/ifunc-impl-list.c
17191         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
17192         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
17193         * string/test-stpncpy.c: Add wcpncpy support.
17194         * wcsmbs/test-wcpncpy.c: New File.
17195         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
17196         * benchtests/bench-stpncpy.c: Add wcpncpy support.
17197         * benchtests/bench-wcpncpy.c: New File.
17198         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
17200         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
17201         * sysdeps/s390/multiarch/strncpy.c: Likewise.
17202         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
17203         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
17204         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
17205         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
17206         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
17207         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
17208         wcsncpy functions.
17209         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
17210         * sysdeps/s390/multiarch/ifunc-impl-list.c
17211         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
17212         * string/test-strncpy.c: Add wcsncpy support.
17213         * wcsmbs/test-wcsncpy.c: New File.
17214         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
17215         * benchtests/bench-strncpy.c: Add wcsncpy support.
17216         * benchtests/bench-wcsncpy.c: New File.
17217         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
17219         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
17220         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
17221         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
17222         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
17223         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
17224         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
17225         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
17226         wcpcpy functions.
17227         * string/stpcpy.c: Use STPCPY if defined.
17228         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
17229         * sysdeps/s390/multiarch/ifunc-impl-list.c
17230         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
17231         * string/test-stpcpy.c: Add wcpcpy support.
17232         * wcsmbs/test-wcpcpy.c: New File.
17233         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
17234         * benchtests/bench-stpcpy.c: Add wcpcpy support.
17235         * benchtests/bench-wcpcpy.c: New File.
17236         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
17238         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
17239         * sysdeps/s390/multiarch/strcpy.c: Likewise.
17240         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
17241         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
17242         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
17243         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
17244         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
17245         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
17246         wcscpy functions.
17247         * sysdeps/s390/multiarch/ifunc-impl-list.c
17248         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
17249         * benchtests/bench-wcscpy.c: New File.
17250         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
17252         * sysdeps/s390/multiarch/strnlen-c.c: New File.
17253         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
17254         * sysdeps/s390/multiarch/strnlen.c: Likewise.
17255         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
17256         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
17257         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
17258         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
17259         wcsnlen functions.
17260         * sysdeps/s390/multiarch/ifunc-impl-list.c
17261         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
17262         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
17263         * string/test-strnlen.c: Add wcsnlen support.
17264         * wcsmbs/test-wcsnlen.c: New File.
17265         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
17266         * benchtests/bench-strnlen.c: Add wcsnlen support.
17267         * benchtests/bench-wcsnlen.c: New File.
17268         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
17270         * sysdeps/s390/multiarch/Makefile: New File.
17271         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
17272         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
17273         * sysdeps/s390/multiarch/strlen.c: Likewise.
17274         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
17275         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
17276         * sysdeps/s390/multiarch/wcslen.c: Likewise.
17277         * string/strlen.c (STRLEN): Define and use macro.
17278         * sysdeps/s390/multiarch/ifunc-impl-list.c
17279         (IFUNC_VX_IMPL): New macro function.
17280         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
17281         * benchtests/Makefile (wcsmbs-bench): New variable.
17282         (string-bench-all): Added wcsmbs-bench.
17283         * benchtests/bench-wcslen.c: New File.
17285         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
17286         s390_vx_libc_ifunc2): New macro function.
17288         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
17289         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
17290         assembler support.
17291         * sysdeps/s390/configure: Regenerated.
17293         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
17294         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
17296         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
17297         * sysdeps/s390/dl-procinfo.h: Add vector capability.
17298         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
17300         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
17301         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
17302         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
17303         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
17304         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
17305         (memcmp, bcmp): Use __memcmp_default as alias source.
17306         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
17307         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
17308         Rename to __memcmp_default.
17309         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
17310         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
17311         (memcpy): Use __memcpy_default as alias source.
17312         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
17313         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
17314         Rename to __memcpy_default.
17315         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
17316         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
17317         (memset): Use __memset_default as alias source.
17318         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
17319         * sysdeps/s390/s390-32/memset.S (__memset_g5):
17320         Rename to __memset_default.
17321         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
17322         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
17323         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
17324         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
17325         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
17326         (memcmp, bcmp): Use __memcmp_default as alias source.
17327         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
17328         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
17329         Rename to __memcmp_default.
17330         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
17331         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
17332         (memcpy): Use __memcpy_default as alias source.
17333         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
17334         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
17335         Rename to __memcpy_default.
17336         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
17337         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
17338         (memset): Use __memset_default as alias source.
17339         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
17340         * sysdeps/s390/s390-64/memset.S (__memset_z900):
17341         Rename to __memset_default.
17342         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
17343         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
17345         [BZ #18610]
17346         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
17347         __ieee_instruction_pointer to __unused.
17348         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
17349         __ieee_instruction_pointer.
17350         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
17351         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
17352         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17353         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17354         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
17355         Mark dxc-field as reserved.
17357 2015-08-25  Roland McGrath  <roland@hack.frob.com>
17359         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
17360         if the weak reference is not null.
17362 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17364         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
17366         [BZ #11214]
17367         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
17369 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17371         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
17372         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
17373         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
17374         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
17375         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
17376         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
17377         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
17378         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
17379         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
17380         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
17381         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
17382         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
17383         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
17384         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
17385         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
17386         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
17387         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
17388         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
17390 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17392         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
17393         register other than r0 for tabort, it has special meaning.
17394         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
17395         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
17396         transaction before starting syscall.
17398 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17400         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
17402 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17404         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
17406         * sysdeps/x86_64/rtld-memcmp.c: Removed.
17407         * sysdeps/x86_64/rtld-memset.S: Likewise.
17408         * sysdeps/x86_64/rtld-strchr.S: Likewise.
17409         * sysdeps/x86_64/rtld-strlen.S: Likewise.
17410         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
17411         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17413         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
17415 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
17417         * debug/strcpy_chk.c: Improve performance.
17418         * debug/stpcpy_chk.c: Likewise.
17419         * sysdeps/x86_64/strcpy_chk.S: Remove.
17420         * sysdeps/x86_64/stpcpy_chk.S: Remove.
17422         [BZ #18240]
17423         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
17425 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17427         [BZ #15128]
17428         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
17429         ifuncmain8.
17430         (modules-names): Add ifuncmod8.
17431         ($(objpfx)ifuncmain8): New rule.
17432         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
17433         <cpuid.h>.
17434         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
17435         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
17436         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
17437         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
17438         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
17439         * sysdeps/x86_64/dl-trampoline.h: Likewise.
17440         * sysdeps/x86_64/ifuncmain8.c: New file.
17441         * sysdeps/x86_64/ifuncmod8.c: Likewise.
17442         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
17443         Removed.
17444         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
17445         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
17446         Change rtld_savespace_sse to __glibc_unused2.
17447         (RTLD_CHECK_FOREIGN_CALL): Removed.
17448         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
17449         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
17450         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
17452 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17454         * sysdeps/aarch64/bzero.S (__bzero): Remove.
17456 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17458         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
17459         Unconditionally set __fpcr to avoid uninialized warning.
17460         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
17462 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17464         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
17465         is corrupt.
17467         * malloc/arena.c (arena_get2): Drop unused argument.
17468         (arena_lock): Adjust.
17469         (arena_get_retry): Likewise.
17471 2015-08-24  Andreas Schwab  <schwab@suse.de>
17473         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
17474         Don't define.
17475         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17476         (__ASSUME_IPC64): Don't undef.
17477         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
17478         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17479         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17480         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
17481         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
17482         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
17483         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
17484         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
17485         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
17486         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
17487         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
17488         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
17489         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
17490         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
17491         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
17492         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
17493         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
17494         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
17495         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
17496         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
17497         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
17499 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
17501         * manual/Makefile (install): Only build manual when perl is available.
17503 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17505         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
17506         '#undef memcpy' by '#undef memchr'.
17508 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17510         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
17511         memchr not point to the internal __GI_memchr implementation.
17513 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17515         * timezone/Makefile (CFLAGS-zdump.c): Remove
17516         -Wno-strict-prototypes.
17517         (CFLAGS-zic.c): Likewise.
17518         (CFLAGS-ialloc.c): Likewise.
17519         (CFLAGS-scheck.c): Likewise.
17521         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
17522         -Wno-error=undef.
17524 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17526         * i386/i686/multiarch/strcasestr-c.c: Removed.
17527         * x86_64/multiarch/strcasestr.c: Likewise.
17528         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17529         Remove strcasestr.
17531 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17533         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
17535         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
17536         variables for high and low parts before possibly modifying them.
17538 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17540         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
17541         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
17542         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
17543         of "multiarch/init-arch.h".
17544         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
17545         * sysdeps/x86/init-arch.h: This.
17547 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17549         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
17550         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
17552 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
17554         [BZ #17787]
17555         * manual/macros.texi: Add twoexp macro.
17556         * manual/filesys.texi: Fix exponents.
17557         * manual/llio.texi: Likewise.
17558         * manual/stdio.texi: Likewise.
17560 2015-08-20  Florian Weimer  <fweimer@redhat.com>
17562         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
17563         incorrect use.
17565 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17567         [BZ #18370]
17568         * math/s_csqrt.c (__csqrt): Force underflow exception for results
17569         whose real or imaginary part has small absolute value.
17570         * math/s_csqrtf.c (__csqrtf): Likewise.
17571         * math/s_csqrtl.c (__csqrtl): Likewise.
17572         * math/auto-libm-test-in: Add more tests of csqrt.
17573         * math/auto-libm-test-out: Regenerated.
17574         * sysdeps/i386/fpu/libm-test-ulps: Update.
17576 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17578         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
17579         __ppc_set_ppr_very_low): New functions.
17580         * manual/platform.texi: Add documentation about
17581         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
17583 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
17585         * string/stpncpy.c (stpncpy): Improve performance using
17586         __strnlen/memcpy/memset.
17588 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17590         [BZ #18796]
17591         * scripts/test-installation.pl: Don't add -lmvec to build options if
17592         libmvec wasn't built.
17594 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17596         [BZ #14341]
17597         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
17598         case when there is a gap between DT_REL and DT_JMPREL sections.
17599         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
17600         (LDFLAGS-tst-split-dynreloc): New.
17601         (tst-split-dynreloc-ENV): Likewise.
17602         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
17603         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
17605 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17607         [BZ #18822]
17608         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
17609         attribute_hidden.
17610         (__xstat64_conv): Likewise.
17611         (__xstat32_conv): Likewise.
17613 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17615         [BZ #18822]
17616         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17617         Don't load %ebx when calling __setcontext.  Call __setcontext
17618         with HIDDEN_JUMPTARGET.
17619         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
17620         libc_hidden_def.
17622 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17624         * sysdeps/i386/i686/Makefile
17625         [$(subdir) == string] (sysdep_routines): Moved to ...
17626         * sysdeps/i386/Makefile: Here.
17627         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
17628         * sysdeps/i386/cacheinfo.c: Here.
17629         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
17630         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
17631         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
17632         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
17634 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17636         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
17637         __i586__ is defined.
17638         (HAS_I686): Defined to 1 if __i686__ is defined.
17640 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17642         * elf/Makefile [$(have-z-execstack) = yes]
17643         (CPPFLAGS-tst-execstack.c): New variable.
17645         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
17646         conditional to [defined UTMPX || _HAVE_UT_TYPE].
17647         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
17648         UTMPX || _HAVE_UT_TV].
17649         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
17650         UTMPX || _HAVE_UT_TV - 0].
17652 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
17654         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
17655         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
17656         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
17658 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17660         * sysdeps/powerpc/dl-procinfo.c:
17661         (_dl_powerpc_cap_flags): Added missing strings for some
17662         hwcap features.
17663         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
17665 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
17667         Port the 0x7efe...feff pattern to GCC 6.
17668         See Steve Ellcey's bug report in:
17669         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
17670         * string/memrchr.c (MEMRCHR):
17671         * string/rawmemchr.c (RAWMEMCHR):
17672         * string/strchr.c (strchr):
17673         * string/strchrnul.c (STRCHRNUL):
17674         Rewrite code to avoid issues with signed shift overflow.
17676 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
17678         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
17679         whether cpuid is available only if HAS_CPUID is 0.
17680         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
17681         (HAS_I586): Likewise.
17682         (HAS_I686): Likewise.
17684 2015-08-18  Zack Weinberg  <zackw@panix.com>
17686         * misc/Versions (libc): Add GLIBC_2.23.
17688 2015-08-18  Alan Modra  <amodra@gmail.com>
17690         [BZ #18421]
17691         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
17692         .Lp__global.
17693         (_start): Load %dp via .Lp__global.
17694         [!SHARED]: Use .section .rodata.
17696 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17698         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
17699         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
17701 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17703         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
17704         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
17706 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17708         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
17709         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
17711 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17713         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
17714         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
17716 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17718         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
17719         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
17721 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17723         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
17724         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
17726 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17728         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
17730 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17732         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
17733         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
17734         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17735         (__ASSUME_LWS_CAS): Delete.
17737 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17739         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
17740         * sysdeps/hppa/configure: Regenerated.
17741         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
17742         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
17743         * sysdeps/hppa/nptl/tls.h: Likewise.
17745 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
17747         [BZ #18823]
17748         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
17749         for scaling up small arguments.
17750         * math/s_csqrtf.c (__csqrtf): Likewise.
17751         * math/s_csqrtl.c (__csqrtl): Likewise.
17752         * math/auto-libm-test-in: Add more tests of csqrt.
17753         * math/auto-libm-test-out: Regenerated.
17755 2015-08-17  Andreas Schwab  <schwab@suse.de>
17757         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
17758         version set GLIBC_2.19.
17760 2015-08-16  Zack Weinberg  <zackw@panix.com>
17762         [BZ #18681]
17763         * misc/regexp.h: This interface is no longer supported.
17764         Remove all contents, leaving only an #error directive.
17765         * misc/regexp.c (loc1, loc2, locs, step, advance):
17766         Demote to compatibility symbols.
17768 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
17770         [BZ #18084]
17771         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
17772         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
17773         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17774         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
17775         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
17776         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
17777         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
17778         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
17779         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17781 2015-08-15  Zack Weinberg  <zackw@panix.com>
17783         [BZ #18795]
17784         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
17785         buffer length is known to be too large, not if it's known to be
17786         small enough.
17787         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
17788         overflow at runtime, involving a length parameter, twice: once
17789         with a compile-time constant length parameter, once without.
17791 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
17793         [BZ #18824]
17794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
17795         scaling x * y up instead of down.
17796         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17797         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17798         * math/auto-libm-test-in: Add more tests of fma.
17799         * math/auto-libm-test-out: Regenerated.
17801 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17803         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17805 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17807         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
17808         unnecessary movq.
17809         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
17810         Likewise.
17812 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
17814         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17815         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
17816         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
17817         and tgamma.
17818         * math/auto-libm-test-out: Regenerated.
17819         * sysdeps/i386/fpu/libm-test-ulps: Update.
17820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17822         [BZ #16520]
17823         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
17824         (__tanh): Force underflow exception for arguments with small
17825         absolute value.
17826         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
17827         (__tanhf): Force underflow exception for arguments with small
17828         absolute value.
17829         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
17830         (__tanhl): Force underflow exception for arguments with small
17831         absolute value.
17832         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
17833         (__tanhl): Force underflow exception for arguments with small
17834         absolute value.
17835         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
17836         (__tanhl): Force underflow exception for arguments with small
17837         absolute value.
17838         * math/auto-libm-test-in: Add more tests of tanh.
17839         * math/auto-libm-test-out: Regenerated.
17840         * sysdeps/i386/fpu/libm-test-ulps: Update.
17842 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17844         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
17845         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
17847 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17849         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
17850         <cpuid.h>.
17852 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17854         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
17855         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
17857 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17859         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
17860         Remove $(objpfx)init-arch.o.
17861         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
17862         init-arch.
17863         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
17864         (INIT_ARCH_EXT): Defined as empty.
17865         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
17866         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
17867         __init_cpu_features call.  Replace HAS_XXX with
17868         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17869         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
17870         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
17871         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
17872         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
17873         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17874         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
17875         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
17876         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17877         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
17878         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17879         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17880         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17881         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17882         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17883         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17884         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17885         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17886         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17887         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17888         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17889         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17890         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
17891         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
17892         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17893         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
17894         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
17895         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17896         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
17897         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
17898         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17899         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
17900         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
17901         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17902         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
17903         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
17905 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17907         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
17908         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17909         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17910         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17911         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
17912         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
17913         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
17914         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
17915         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
17916         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
17917         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
17918         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
17919         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17920         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17921         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17922         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17923         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17924         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17925         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17926         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17927         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17928         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17929         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17930         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17931         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17932         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17933         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17934         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17935         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17936         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17937         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17938         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17939         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17940         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17941         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17942         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17943         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17944         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17945         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17946         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17947         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17948         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17949         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17951 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17953         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
17954         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17955         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17956         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17957         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17958         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17959         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17960         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
17961         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17962         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17963         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17964         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
17965         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
17966         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
17967         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
17968         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
17969         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
17970         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
17971         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
17972         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
17973         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17974         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
17975         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
17976         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17977         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17978         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
17979         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
17980         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
17981         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17982         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17983         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17984         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17985         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17986         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17987         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17988         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17989         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17990         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17991         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17992         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17993         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17994         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17995         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17997 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17999         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
18000         (dl_platform_init): Call init_cpu_features.
18001         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
18002         * sysdeps/i386/i686/cacheinfo.c
18003         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
18004         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
18005         * sysdeps/i386/i686/multiarch/Versions: Removed.
18006         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
18007         Removed.
18008         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
18009         * sysdeps/unix/sysv/linux/x86/Makefile
18010         (libpthread-sysdep_routines): Remove init-arch.
18011         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
18012         <sysdeps/x86_64/dl-procinfo.c> instead of
18013         sysdeps/generic/dl-procinfo.c>.
18014         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
18015         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
18016         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
18017         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
18018         [$(subdir) == elf] (tests-static): Add
18019         tst-get-cpu-features-static.
18020         * sysdeps/x86/Versions: New file.
18021         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
18022         * sysdeps/x86/cpu-features.c: Likewise.
18023         * sysdeps/x86/cpu-features.h: Likewise.
18024         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
18025         * sysdeps/x86/libc-start.c: Likewise.
18026         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
18027         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
18028         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
18029         * sysdeps/x86_64/dl-procinfo.c: Likewise.
18030         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
18031         Assume USE_MULTIARCH is defined and don't check it.
18032         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
18033         (is_amd): Likewise.
18034         (max_cpuid): Likewise.
18035         (intel_check_word): Likewise.
18036         (__cache_sysconf): Don't call __init_cpu_features.
18037         (__x86_preferred_memory_instruction): Removed.
18038         (init_cacheinfo): Don't call __init_cpu_features. Replace
18039         __cpu_features with GLRO(dl_x86_cpu_features).
18040         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
18041         (dl_platform_init): Call init_cpu_features.
18042         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
18043         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
18044         * sysdeps/x86_64/multiarch/Versions: Removed.
18045         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
18046         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
18047         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
18048         Removed.
18049         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
18051 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18053         [BZ #18820]
18054         * libio/Makefile (test-fmemopen-mem): New test.
18055         * libio/test-fmemopen.c (do_bz18820): New test.
18056         * libio/fmemopen.c (__fmemopen): Fix memory leak.
18057         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
18059 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18061         [BZ #16734]
18062         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
18063         (FREE_BUF): Delete.
18064         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
18065         * libio/genops.c (_IO_setb): Use malloc and free directly.
18066         (_IO_default_doallocate, _IO_default_finish): Likewise.
18067         ( _IO_unbuffer_all): Likewise.
18068         ( libc_freeres_fn): Likewise.
18069         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18070         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18071         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
18072         (_IO_wdefault_doallocate): Likewise.
18074 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18076         [BZ #18086]
18077         * sysdeps/posix/nice.c (nice): Restore old errno.
18078         * posix/tst-nice.c (do_test): Add test for BZ #18086.
18080 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
18082         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
18084 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18086         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
18087         __bcopy and add a weak_alias to bcopy.
18088         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
18089         for static build.
18091         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
18092         cleanup macro usage.
18093         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
18094         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
18095         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18096         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
18097         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18098         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
18099         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
18100         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18101         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18102         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
18103         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18104         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
18105         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18106         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
18107         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18108         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
18109         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
18110         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
18111         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18113         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
18114         libc_hidden_def.
18115         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
18117         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
18118         (sysdep_routines): Add strstr-ppc64.
18119         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
18121 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
18123         [BZ #18778]
18124         * elf/Makefile (tests): Add Add tst-nodelete2.
18125         (modules-names): Add tst-nodelete2mod.
18126         (tst-nodelete2mod.so-no-z-defs): New.
18127         ($(objpfx)tst-nodelete2): Likewise.
18128         ($(objpfx)tst-nodelete2.out): Likewise.
18129         (LDFLAGS-tst-nodelete2): Likewise.
18130         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
18131         out of loop through all loaded libraries.
18132         * elf/tst-nodelete2.c: New file.
18133         * elf/tst-nodelete2mod.c: Likewise.
18134         * elf/tst-znodelete-zlib.cc: Delete.
18136 2015-08-11  Andreas Schwab  <schwab@suse.de>
18138         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
18139         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
18140         (__openat64_nocancel): Likewise.
18142 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
18144         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
18145         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
18146         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
18147         * math/auto-libm-test-out: Regenerated.
18148         * sysdeps/i386/fpu/libm-test-ulps: Update.
18149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18151 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18153         [BZ #18790]
18154         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
18155         threshold for returning +/- 1.
18156         * math/auto-libm-test-in: Add more tests of tanh.
18157         * math/auto-libm-test-out: Regenerated.
18158         * sysdeps/i386/fpu/libm-test-ulps: Update.
18160 2015-08-10  Andreas Schwab  <schwab@suse.de>
18162         [BZ #18781]
18163         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
18164         MORE_OFLAGS to oflag.
18165         * io/test-lfs.c (do_test): Test openat64.
18167 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18169         [BZ #18789]
18170         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
18171         smaller threshold for returning the argument.
18172         * math/auto-libm-test-in: Add more tests of sinh.
18173         * math/auto-libm-test-out: Regenerated.
18174         * sysdeps/i386/fpu/libm-test-ulps: Update.
18176 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
18178         [BZ #18674]
18179         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
18180         break.
18182 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
18184         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
18185         (generated): Don't add $(addprefix z.,$(tzfiles)).
18187 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18189         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
18190         * scripts/sysd-rules.awk: Likewise.
18192 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18194         * iconvdata/tst-tables.sh: Change echo -n to printf.
18195         * nss/db-Makefile: Likewise.
18196         * posix/tst-getconf.sh: Likewise.
18197         * stdio-common/tst-unbputc.sh: Likewise.
18199 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18201         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
18202         MADV_*_PAGES defines behind this feature check.
18204 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
18206         [BZ #18480]
18207         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
18208         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
18209         Define.
18210         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
18211         LOAD_REGS_5, LOAD_REGS_6): Update.
18212         (INTERNAL_SYSCALL): Update using new LOAD defines.
18213         (INTERNAL_SYSCALL_NCS): Likewise.
18214         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
18216 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18218         [BZ #16734]
18219         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
18221 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18223         [BZ #17905]
18224         * catgets/Makefile (tst-catgets-mem): New test.
18225         * catgets/catgets.c (catopen): Don't use unbounded alloca.
18226         * catgets/open_catalog.c (__open_catalog): Likewise.
18227         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
18229 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
18231         [BZ #18787]
18232         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
18233         clobber registers.
18234         (atomic_compare_and_exchange_val_acq): Use register asms to assign
18235         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
18236         Cast return to __typeof (oldval).
18238 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
18240         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
18241         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
18242         and delete sys/syscall.h include.
18244 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
18246         [BZ #16517]
18247         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
18248         (tan): Force underflow exception for arguments with small absolute
18249         value.
18250         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
18251         (__kernel_tanf): Force underflow exception for arguments with
18252         small absolute value.
18253         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
18254         (__kernel_tanl): Force underflow exception for arguments with
18255         small absolute value.
18256         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
18257         (__kernel_tanl): Force underflow exception for arguments with
18258         small absolute value.
18259         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
18260         (__kernel_tanl): Force underflow exception for arguments with
18261         small absolute value.
18262         * math/auto-libm-test-in: Add more tests of tan.
18263         * math/auto-libm-test-out: Regenerated.
18265 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18267         Fix sysdeps/i386/fpu/s_scalbn.S build
18269         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
18271 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
18273         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18275 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18277         Fix gcrt0.o compilation
18279         When static-start-installed-name is different from
18280         start-installed-name, we must not use the shared objects.
18282         * csu/Makefile
18283         (extra-objs): Add gmon-start.o when building shared library and
18284         $(static-start-installed-name) is different from
18285         $(start-installed-name).
18286         $(objpfx)g$(static-start-installed-name): When building shared
18287         library and $(static-start-installed-name) is different from
18288         $(static-start-installed-name), revert to non-shared rule,
18289         i.e. using $(objpfx)% and gmon-start.o.
18291 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
18293         [BZ #16519]
18294         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
18295         (__ieee754_sinh): Force underflow exception for arguments with
18296         small absolute value.
18297         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
18298         (__ieee754_sinhf): Force underflow exception for arguments with
18299         small absolute value.
18300         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
18301         (__ieee754_sinhl): Force underflow exception for arguments with
18302         small absolute value.
18303         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
18304         (__ieee754_sinhl): Force underflow exception for arguments with
18305         small absolute value.
18306         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
18307         (__ieee754_sinhl): Force underflow exception for arguments with
18308         small absolute value.
18309         * math/auto-libm-test-in: Add more tests of sinh.
18310         * math/auto-libm-test-out: Regenerated.
18311         * sysdeps/i386/fpu/libm-test-ulps: Update.
18313 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18315         * libio/oldfileops.c: Include unistd.h.
18317 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
18319         * stdlib/isomac.c: Include ctype.h.
18321 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
18323         * dirent/tst-seekdir.c (main): Converted to ...
18324         (do_test): ... this.
18325         (TEST_FUNCTION): New macro.
18326         Include test-skeleton.c.
18327         * elf/tst-dlmodcount.c (main): Converted to ...
18328         (do_test): ... this.
18329         (TEST_FUNCTION): New macro.
18330         Include test-skeleton.c.
18331         * elf/tst-order-main.c (main): Converted to ...
18332         (do_test): ... this.
18333         (TEST_FUNCTION): New macro.
18334         Include test-skeleton.c.
18335         * elf/tst-pie2.c (main): Converted to ...
18336         (do_test): ... this.
18337         (TEST_FUNCTION): New macro.
18338         Include test-skeleton.c.
18339         * inet/tst-ether_aton.c (main): Converted to ...
18340         (do_test): ... this.
18341         (TEST_FUNCTION): New macro.
18342         Include test-skeleton.c.
18343         * misc/tst-mntent.c (main): Converted to ...
18344         (do_test): ... this.
18345         (TEST_FUNCTION): New macro.
18346         Include test-skeleton.c.
18347         * misc/tst-tsearch.c (main): Converted to ...
18348         (do_test): ... this.
18349         (TEST_FUNCTION): New macro.
18350         Include test-skeleton.c.
18351         * posix/tst-regexloc.c (main): Converted to ...
18352         (do_test): ... this.
18353         (TEST_FUNCTION): New macro.
18354         Include test-skeleton.c.
18355         * resolv/tst-aton.c (main): Converted to ...
18356         (do_test): ... this.
18357         (TEST_FUNCTION): New macro.
18358         Include test-skeleton.c.
18359         * stdio-common/test-fwrite.c (main): Converted to ...
18360         (do_test): ... this.
18361         (TEST_FUNCTION): New macro.
18362         Include test-skeleton.c.
18363         * stdio-common/tst-ferror.c (main): Converted to ...
18364         (do_test): ... this.
18365         (TEST_FUNCTION): New macro.
18366         Include test-skeleton.c.
18367         * stdio-common/tst-printf.c (main): Converted to ...
18368         (do_test): ... this.
18369         (TEST_FUNCTION): New macro.
18370         Include test-skeleton.c.
18371         * stdio-common/tst-printfsz.c (main): Converted to ...
18372         (do_test): ... this.
18373         (TEST_FUNCTION): New macro.
18374         Include test-skeleton.c.
18375         * stdlib/tst-strtod.c (main): Converted to ...
18376         (do_test): ... this.
18377         (TEST_FUNCTION): New macro.
18378         Include test-skeleton.c.
18379         * string/tst-strlen.c (main): Converted to ...
18380         (do_test): ... this.
18381         (TEST_FUNCTION): New macro.
18382         Include test-skeleton.c.
18383         * string/tst-svc.c (main): Converted to ...
18384         (do_test): ... this.
18385         (TEST_FUNCTION): New macro.
18386         Include test-skeleton.c.
18387         * time/tst-strptime.c (main): Converted to ...
18388         (do_test): ... this.
18389         (TEST_FUNCTION): New macro.
18390         Include test-skeleton.c.
18391         * timezone/tst-timezone.c (main): Converted to ...
18392         (do_test): ... this.
18393         (TEST_FUNCTION): New macro.
18394         Include test-skeleton.c.
18396 2015-08-05  Zack Weinberg  <zackw@panix.com>
18398         * misc/regexp.h: Update comments.
18400 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
18402         [BZ #18635]
18403         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
18404         before return label.
18406 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18408         [BZ #18661]
18409         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
18410         when calling __errno_location.
18411         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
18412         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
18414 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18416         [BZ #18661]
18417         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
18418         (__lll_timedwait_tid): Align stack to 16 bytes when calling
18419         __gettimeofday.
18421 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18423         [BZ #18661]
18424         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18425         (__start_context): Don't use pop to restore %rdi so that stack
18426         is aligned to 16 bytes when calling __setcontext.
18428 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18430         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
18431         only for libc.
18432         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18434 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18436         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
18437         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
18438         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
18440 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18442         * string/memccpy.c (memccpy):
18443         Improve performance by using memchr/memcpy/__mempcpy.
18445 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18447         * string/strncpy.c (strncpy):
18448         Improve performance by using __strnlen/memcpy.
18450 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18452         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18453         Optimize to avoid an unnecessary FPCR read.
18455 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18457         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18458         Optimize to reduce FPCR/FPSR accesses.
18460 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18462         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
18463         dead->data[category] != NULL.
18465 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
18467         [BZ #18647]
18468         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
18469         and |x| close to 1, use absolute value of x when computing log.
18470         * math/auto-libm-test-in: Add more tests of pow.
18471         * math/auto-libm-test-out: Regenerated.
18473 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18475         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
18476         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
18477         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
18479 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
18481         [BZ #18525]
18482         * locales/km_KH: Remove timezone definition.
18483         * locales/lo_LA: Likewise.
18484         * locales/my_MM: Likewise.
18485         * locales/nan_TW@latin: Likewise.
18486         * locales/th_TH: Likewise.
18487         * locales/uk_UA: Likewise.
18489 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18491         [BZ #18265]
18492         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
18493         (wcsncat): Likewise.
18494         (wcscmp): Likewise.
18495         (wcsncmp): Likewise.
18497 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18499         * test-skeleton.c (usage): New function.
18500         (main): Call usage when opt is '?'.
18502 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18504         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
18505         before first use.
18507 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18509         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
18510         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
18511         in there too.
18513 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
18515         * version.h (RELEASE): Set to "development".
18516         (VERSION): Set to "2.22.90"
18518         * version.h (RELEASE): Set to "stable".
18519         (VERSION): Set to "2.22"
18520         * include/features.h (__GLIBC_MINOR__): Set to 22.
18522 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
18524         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
18525         Restructure macro to avoid "value computed is not used" warning.
18526         (atomic_compare_and_exchange_val_acq): Likewise.
18528 2015-08-04  Andreas Schwab  <schwab@suse.de>
18530         [BZ #18635]
18531         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
18532         ret.
18533         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
18535 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
18537         * po/pl.po: Updated translation.
18538         * po/uk.po: Likewise.
18539         * po/fi.po: Likewise.
18540         * po/ko.po: Likewise.
18541         * po/ru.po: Likewise.
18542         * po/vi.po: Likewise.
18544 2015-07-31  Zack Weinberg  <zackw@panix.com>
18546         [BZ #18681]
18547         * regexp.h: Add unconditional #warning stating that this header
18548         will be removed soon.  Revise banner comment to match.
18549         (compile): Consistently use ERROR instead of RETURN to report
18550         errors (partial fix for bz#18681).
18551         * regexp.c: Don't include regexp.h. Remove some unnecessary
18552         declarations.
18554 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
18556         * po/libc.pot: Regenerated.
18558 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18560         [BZ #18740]
18561         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
18562         float-vlen4-arch-ext-cflags): Removed.
18563         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
18564         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
18566 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18568         [BZ #14113]
18569         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
18570         aligned to __aligned__.
18571         (pthread_cond_t, pthread_rwlock_t): Likewise.
18573 2015-07-30  Torvald Riegel  <triegel@redhat.com>
18575         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
18577 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18579         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
18580         (struct sigaction): Change sa_flags from a long to an int, and add
18581         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
18583 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18585         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
18586         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
18587         sysdeps/generic/sysdep.h include.
18588         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
18589         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
18590         sysdeps/hppa/sysdep.h.
18591         (ENTRY, PSEUDO): Undefine before defining.
18593 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18595         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
18596         from scratch to use INTERNAL_SYSCALL.
18598 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
18600         [BZ #18078]
18601         * scripts/check-localplt.awk: Support alternate relocations.
18602         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
18603         sections.
18604         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
18605         malloc entries with + REL R_386_GLOB_DAT.
18606         * sysdeps/x86_64/localplt.data: New file.
18608 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
18610         [BZ #18731]
18611         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
18612         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18613         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18615 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18617         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
18619 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18621         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
18622         directly in terms of __sync_fetch_and_add and delete (int) cast.
18624 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18626         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
18627         the -D_ASM_IA64_CURRENT_H flag.
18629 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18631         [BZ #18641]
18632         * pwd/pwd.h (putpwent): Delete __nonnull markings.
18634 2015-07-27  Andreas Schwab  <schwab@suse.de>
18636         * conform/conformtest.pl (checknamespace): Filter out string
18637         literals while tokenizing.
18639 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18641         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18642         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
18643         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18645 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18647         * nptl/tst-join7mod.c: Add #include <string.h>.
18649 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18651         * sysdeps/nios2/libm-test-ulps: Update.
18653 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18655         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
18656         Fix order of arguments to the rt_sigprocmask syscall.
18657         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
18658         Likewise.
18660 2015-07-24  Roland McGrath  <roland@hack.frob.com>
18662         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
18664 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18666         [BZ #18457]
18667         * nptl/Makefile (tests): New test case tst-join7.
18668         (modules-names): New test case module tst-join7mod.
18669         * nptl/tst-join7.c: New file.
18670         * nptl/tst-join7mod.c: New file.
18671         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
18672         all translation units in libc.so, libpthread.so and rtld.
18674 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18678 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18680         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
18681         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18682         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18683         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18684         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18685         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18686         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18687         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18688         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18689         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18690         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18691         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18692         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
18693         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
18694         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
18695         implementation.
18697 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18699         [BZ #17711]
18700         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18701         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
18702         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18703         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18704         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
18705         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18707 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18709         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
18710         instead of just saying load lock in the comments.
18712 2015-07-23  Roland McGrath  <roland@hack.frob.com>
18714         * sysdeps/unix/Subdirs: Moved ...
18715         * sysdeps/posix/Subdirs: ... here.
18716         * login/pty.h (struct termios, struct winsize): Add forward decls.
18717         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
18718         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
18719         * sysdeps/arm/nacl/libc.abilist: Updated.
18720         * sysdeps/nacl/libutil.abilist: New file.
18722         * bits/signum.h: Update comments to mention 1003.1-2013 too.
18723         (SIGWINCH): New macro.
18725         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
18726         * sysdeps/arm/nacl/libc.abilist: Add it.
18728 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18730         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
18732 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18734         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18735         Swap __glibc_reserved0 and sa_flags order.
18737 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18739         [BZ #18657]
18740         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
18741         are pending TLS destructor calls.
18742         * include/link.h (struct link_map): Add concurrency note for
18743         L_TLS_DTOR_COUNT.
18744         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18745         Don't touch the link map flag.  Atomically increment
18746         l_tls_dtor_count.
18747         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
18748         Avoid taking the load lock and don't touch the link map flag.
18749         * stdlib/tst-tls-atexit-nodelete.c: New test case.
18750         * stdlib/Makefile (tests): Use it.
18751         * stdlib/tst-tls-atexit.c (do_test): dlopen
18752         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
18753         to allow tst-tls-atexit-nodelete test case to use it.
18755 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18757         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
18758         to bits/types.h.
18759         (msgqnum_t): New typedef.
18760         (msglen_t): Likewise.
18761         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
18762         and msg_qbytes type to msglen_t.
18764 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18766         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
18767         pad0 to __glibc_reserved0.
18768         (struct stat64): Likewise.
18770 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18772         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18773         Change sa_flags from a long to an int and add __glibc_reserved0 before
18774         it for padding.
18776 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18778         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
18779         anonymous by deleting "siginfo" name.
18781 2015-07-21  Roland McGrath  <roland@hack.frob.com>
18783         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
18784         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
18785         rather than __nacl_irt_filename.
18786         * sysdeps/nacl/xstat.c (__xstat): Likewise.
18788         * NEWS: New item for arm-nacl port.
18789         * sysdeps/arm/nacl/libc.abilist: New file.
18790         * sysdeps/nacl/ld.abilist: New file.
18791         * sysdeps/nacl/libBrokenLocale.abilist: New file.
18792         * sysdeps/nacl/libanl.abilist: New file.
18793         * sysdeps/nacl/libcrypt.abilist: New file.
18794         * sysdeps/nacl/libdl.abilist: New file.
18795         * sysdeps/nacl/libm.abilist: New file.
18796         * sysdeps/nacl/libpthread.abilist: New file.
18797         * sysdeps/nacl/libresolv.abilist: New file.
18798         * sysdeps/nacl/librt.abilist: New file.
18800 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
18802         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
18803         __startcontext to initialize the new context.
18804         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
18805         up CFI directive to forbid further backtracing.
18807 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
18809         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
18810         reference.
18811         * charmaps/ANSI_X3.4-1968: Likewise.
18812         * charmaps/BS_4730: Likewise.
18813         * charmaps/BS_VIEWDATA: Likewise.
18814         * charmaps/CP1250: Likewise.
18815         * charmaps/CP1251: Likewise.
18816         * charmaps/CP1252: Likewise.
18817         * charmaps/CP1253: Likewise.
18818         * charmaps/CP1254: Likewise.
18819         * charmaps/CP1255: Likewise.
18820         * charmaps/CP1256: Likewise.
18821         * charmaps/CSN_369103: Likewise.
18822         * charmaps/EBCDIC-DK-NO: Likewise.
18823         * charmaps/GB_1988-80: Likewise.
18824         * charmaps/GREEK-CCITT: Likewise.
18825         * charmaps/GREEK7: Likewise.
18826         * charmaps/INIS-8: Likewise.
18827         * charmaps/ISIRI-3342: Likewise.
18828         * charmaps/ISO_2033-1983: Likewise.
18829         * charmaps/ISO_5427-EXT: Likewise.
18830         * locales/POSIX: Likewise.
18831         * locales/ar_SA: Likewise.
18832         * locales/be_BY: Likewise.
18833         * locales/be_BY@latin: Likewise.
18834         * locales/ca_ES: Likewise.
18835         * locales/cs_CZ: Likewise.
18836         * locales/da_DK: Likewise.
18837         * locales/de_BE: Likewise.
18838         * locales/de_CH: Likewise.
18839         * locales/de_LU: Likewise.
18840         * locales/en_AU: Likewise.
18841         * locales/en_BW: Likewise.
18842         * locales/en_CA: Likewise.
18843         * locales/en_DK: Likewise.
18844         * locales/en_GB: Likewise.
18845         * locales/en_IE: Likewise.
18846         * locales/en_NZ: Likewise.
18847         * locales/en_ZA: Likewise.
18848         * locales/en_ZW: Likewise.
18849         * locales/es_AR: Likewise.
18850         * locales/es_BO: Likewise.
18851         * locales/es_CL: Likewise.
18852         * locales/es_CO: Likewise.
18853         * locales/es_DO: Likewise.
18854         * locales/es_EC: Likewise.
18855         * locales/es_ES: Likewise.
18856         * locales/es_HN: Likewise.
18857         * locales/es_MX: Likewise.
18858         * locales/es_PA: Likewise.
18859         * locales/es_PE: Likewise.
18860         * locales/es_PY: Likewise.
18861         * locales/es_SV: Likewise.
18862         * locales/es_US: Likewise.
18863         * locales/es_UY: Likewise.
18864         * locales/es_VE: Likewise.
18865         * locales/et_EE: Likewise.
18866         * locales/fa_IR: Likewise.
18867         * locales/fo_FO: Likewise.
18868         * locales/fr_CA: Likewise.
18869         * locales/fr_CH: Likewise.
18870         * locales/gv_GB: Likewise.
18871         * locales/he_IL: Likewise.
18872         * locales/hr_HR: Likewise.
18873         * locales/id_ID: Likewise.
18874         * locales/is_IS: Likewise.
18875         * locales/it_CH: Likewise.
18876         * locales/iw_IL: Likewise.
18877         * locales/kl_GL: Likewise.
18878         * locales/ko_KR: Likewise.
18879         * locales/kw_GB: Likewise.
18880         * locales/lg_UG: Likewise.
18881         * locales/lt_LT: Likewise.
18882         * locales/lv_LV: Likewise.
18883         * locales/mi_NZ: Likewise.
18884         * locales/nhn_MX: Likewise.
18885         * locales/nl_BE: Likewise.
18886         * locales/pl_PL: Likewise.
18887         * locales/sk_SK: Likewise.
18888         * locales/sl_SI: Likewise.
18889         * locales/sv_FI: Likewise.
18890         * locales/tl_PH: Likewise.
18891         * locales/tr_TR: Likewise.
18892         * locales/vi_VN: Likewise.
18894 2015-07-21  Khem Raj  <raj.khem@gmail.com>
18896         [BZ #17475]
18897         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
18898         of tu_IN and bh_IN.
18900 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
18902         [BZ #18694]
18903         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
18904         bits/wordsize.h.
18905         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
18907 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18909         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
18910         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
18911         (spawn_thread): New function.
18912         (load): Rename to reg_dtor_and_close.  Move dlopen to...
18913         (do_test): ... here.  Use IS_LOADED to test for its
18914         availability.
18916 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
18918         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18920 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
18922         [BZ #18696]
18923         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
18924         si_addr_bnd.
18925         (si_lower): New.
18926         (si_upper): Likewise.
18928 2015-07-16  David S. Miller  <davem@davemloft.net>
18930         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
18932 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18934         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
18935         buffer.
18936         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
18937         fail output information.
18939 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
18942         and strstr-ppc64..
18943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18944         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
18945         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
18946         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
18947         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
18949 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18951         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18952         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18953         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18954         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18956 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18958         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18959         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
18960         rtld_hidden_proto.
18961         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
18963 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18965         * tst-nodelete-opened.c (do_test): Add comment to clarify how
18966         the test can fail.
18968         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
18970         [BZ #18676]
18971         * elf/tst-nodelete-opened.c: New test case.
18972         * elf/tst-nodelete-opened-lib.c: New test case module.
18973         * elf/Makefile (tests, modules-names): Use them.
18974         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
18975         early.
18977 2015-07-15  David S. Miller  <davem@davemloft.net>
18979         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
18980         futex-intenal.h
18981         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
18982         * sysdeps/sparc/sparc64/Makefile: Likewise.
18983         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18984         Remove space from macro define.
18985         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
18987 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
18989         [BZ #17475]
18990         * locale/iso-639.def: Update Bhili and Tulu language codes as
18991         per iso639-3.
18993 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
18995         * elf/tst-leaks1.c (main): Converted to ...
18996         (do_test): ... this.
18997         (TEST_FUNCTION): New macro.
18998         Include test-skeleton.c.
18999         * localedata/tst-langinfo.c (main): Converted to ...
19000         (do_test): ... this.
19001         (TEST_FUNCTION): New macro.
19002         Include test-skeleton.c.
19003         * math/test-fpucw.c (main): Converted to ...
19004         (do_test): ... this.
19005         (TEST_FUNCTION): New macro.
19006         Include test-skeleton.c.
19007         * math/test-tgmath.c (main): Converted to ...
19008         (do_test): ... this.
19009         (TEST_FUNCTION): New macro.
19010         Include test-skeleton.c.
19011         * math/test-tgmath2.c (main): Converted to ...
19012         (do_test): ... this.
19013         (TEST_FUNCTION): New macro.
19014         Include test-skeleton.c.
19015         * setjmp/tst-setjmp.c (main): Converted to ...
19016         (do_test): ... this.
19017         (TEST_FUNCTION): New macro.
19018         Include test-skeleton.c.
19019         * stdio-common/tst-sscanf.c (main): Converted to ...
19020         (do_test): ... this.
19021         (TEST_FUNCTION): New macro.
19022         Include test-skeleton.c.
19023         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
19024         (do_test): ... this.
19025         (TEST_FUNCTION): New macro.
19026         Include test-skeleton.c.
19028         * elf/tst-audit9.c (main): Converted to ...
19029         (do_test): ... this.
19030         (TEST_FUNCTION): New macro.
19031         Include test-skeleton.c.
19033 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
19035         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
19037 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19039         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
19040         New variable.
19042 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19044         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19046 2015-07-14  Roland McGrath  <roland@hack.frob.com>
19048         * sysdeps/generic/dl-fileid.h: New file.
19049         * sysdeps/posix/dl-fileid.h: New file.
19050         * sysdeps/nacl/dl-fileid.h: New file.
19051         * include/link.h: Include <dl-fileid.h>.
19052         (struct link_map): Replace l_dev and l_ino with l_file_id.
19053         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
19054         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
19055         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
19057 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19059         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
19061 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19063         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
19064         Add iff $CXX is set.
19065         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
19066         Likewise.
19067         (tst-nodelete-zmodiff): Likewise.
19068         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
19070 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19072         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
19074 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19076         * sysdeps/aarch64/fpu/math_private.h
19077         (define math_opt_barrier): Add AArch64 version.
19078         (math_force_eval): Likewise.
19080 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19082         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
19084 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
19086         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
19087         %ld with %jd and cast to intmax_t.
19088         (do_test_length_zero): Likewise.
19090 2015-07-10  Roland McGrath  <roland@hack.frob.com>
19092         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
19094 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
19096         * sysdeps/tile/libm-test-ulps: Regenerated.
19098         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
19099         Comment out the whole function, not just its body.
19101 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19103         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
19104         locks.
19106         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
19108 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19110         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
19111         (sem_assume_only_signals_cause_futex_EINTR): Remove.
19113 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19115         * sysdeps/nptl/futex-internal.h: New file.
19116         * sysdeps/nacl/futex-internal.h: New file.
19117         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
19118         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
19119         error checking.
19120         (setxid_unmark_thread): Likewise.
19121         (__nptl_setxid): Likewise.
19122         (__wait_lookup_done): Likewise.
19123         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
19124         * nptl/nptl-init.c (sighandler_setxid): Likewise.
19125         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
19126         * nptl/pthread_once.c (clear_once_control): Likewise.
19127         (__pthread_once_slow): Likewise.
19128         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
19129         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
19130         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
19131         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19132         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
19133         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
19134         Likewise.
19135         (__pthread_rwlock_rdlock): Likewise.
19136         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19137         Likewise.
19138         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19139         Likewise.
19140         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19141         Likewise.
19142         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
19143         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
19144         Likewise.
19145         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
19146         __ASSUME_PRIVATE_FUTEX check.
19147         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
19148         Check that shared futexes are supported.
19149         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
19150         wrappers with error checking.
19151         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
19152         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
19153         * nptl/pthread_barrierattr_setpshared.c
19154         (pthread_barrierattr_setpshared): Check that shared futexes are
19155         supported.
19156         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
19157         Likewise.
19158         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
19159         Likewise.
19160         * nptl/sem_init.c (futex_private_if_supported): Remove.
19161         (__new_sem_init): Adapt and check that shared futexes are supported.
19162         * nptl/sem_open.c (sem_open): Likewise.
19163         * nptl/sem_post.c (futex_wake): Remove.
19164         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
19165         (do_futex_wait): Use futex wrappers with error checking.
19166         * nptl/sem_wait.c: Include lowlevellock.h.
19167         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
19168         Use futex_supports_pshared.
19169         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
19170         Use futex wrappers with error checking.
19171         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
19172         Likewise.
19173         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
19174         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
19175         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
19176         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
19177         (futex_wake): Likewise.
19178         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
19179         (do_futex_wait): Use futex wrappers with error checking.
19180         (__new_sem_wait_slow): Update EINTR handling.
19181         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
19183 2015-07-09  Martin Sebor  <msebor@redhat.com>
19185         [BZ #18435]
19186         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19187         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
19188         * nptl/Makefile (test-xfail-tst-once5): Define.
19190 2015-07-09  Roland McGrath  <roland@hack.frob.com>
19192         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
19193         * elf/dl-minimal.c: For readability, reorder some definitions and
19194         introduce more page breaks.  Include <stdio.h>.
19195         (__libc_fatal): New function.
19197         * include/unistd.h: Add rtld_hidden_proto for _exit.
19198         * posix/_exit.c: Add rtld_hidden_def.
19199         * sysdeps/mach/hurd/_exit.c: Likewise.
19200         * sysdeps/nacl/_exit.c: Likewise.
19201         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
19202         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
19204 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
19206         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
19207         bndmov encoding with zero displacement.
19209 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19210             H.J. Lu  <hongjiu.lu@intel.com>
19212         [BZ #18134]
19213         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
19214         * sysdeps/i386/configure: Regenerated.
19215         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19216         (_dl_runtime_profile): Save and restore Intel MPX return bound
19217         registers when calling _dl_call_pltexit.  Add
19218         PRESERVE_BND_REGS_PREFIX before return.
19219         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
19220         (LRV_BND1_OFFSET): Likewise.
19221         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
19222         lrv_bnd1.
19223         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
19224         typo in bndmov encoding.
19225         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
19226         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
19227         branch instructions to preserve bounds.
19229 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
19232         [GLIBC_2.22]: Add fmemopen.
19234 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19236         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
19237         returns an error, also try to use host port from __mach_host_self for
19238         the __vm_wire call.
19239         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
19241 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19243         [BZ #18400]
19244         [BZ #18648]
19245         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
19246         Fix pr_uid and pr_gid members.
19247         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
19248         definition to elf_greg_t.
19250 2015-07-08  Roland McGrath  <roland@hack.frob.com>
19252         [BZ #18383]
19253         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
19254         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
19255         * sysdeps/arm/configure: Regenerated.
19256         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
19257         (test-xfail-tst-tlsalign-static): Variable removed.
19259         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
19260         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
19261         rather than explicit 'ln -s'.
19263         * resolv/rpc/netdb.h: New file.
19264         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
19266 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19268         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
19269         length buffers.
19270         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19271         test-skeleton.c.
19273         [BZ #6544]
19274         [BZ #11216]
19275         [BZ #12836]
19276         [BZ #13151]
19277         [BZ #13152]
19278         [BZ #14292]
19279         * include/stdio.h (fmemopen): Remove hidden prototype.
19280         (__fmemopen): Add new hidden prototype.
19281         * libio/Makefile: Add oldfmemopen object.
19282         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
19283         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
19284         compliance.
19285         * libio/oldfmemopen.c: New file: old fmemopen implementation for
19286         symbol compatibility.
19287         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
19288         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
19289         fmemopen.
19290         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
19291         on append and read mode.
19292         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
19293         fmemopen.
19294         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
19295         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
19296         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
19297         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
19298         Likewise.
19299         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
19300         [GLIBC_2.22]: Likewise.
19301         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
19302         Likewise.
19303         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
19304         Likewise.
19305         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
19306         [GLIBC_2.22]: Likewise.
19307         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
19308         [GLIBC_2.22]: Likewise.
19309         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
19310         [GLIBC_2.22]: Likewise.
19311         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
19312         [GLIBC_2.22]: Likewise.
19313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
19314         [GLIBC_2.22]: Likewise.
19315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
19316         [GLIBC_2.22]: Likewise.
19317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
19318         [GLIBC_2.22]: Likewise.
19319         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
19320         Likewise.
19321         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
19322         Likewise.
19323         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
19324         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
19325         [GLIBC_2.22]: Likewise.
19326         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
19327         [GLIBC_2.22]: Likewise.
19328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
19329         [GLIBC_2.22]: Likewise.
19330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
19331         [GLIBC_2.22]: Likewise.
19332         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
19333         Likewise.
19334         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
19335         Likewise.
19336         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
19337         Likewise.
19338         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
19339         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
19341 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19343         [BZ #18643]
19344         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
19345         IPV6_PATHMTU, and IPV6_DONTFRAG.
19347 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
19349         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
19350         and _IO_UNBUFFERED.
19351         * libio/oldfileops.c: Likewise.
19352         * libio/wfileops.c: Likewise.
19354 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19356         * nscd/selinux.c: Delete selinux/flask.h include.
19358 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19360         [BZ #18641]
19361         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
19362         (putpwent): Likewise.
19363         (getpwnam): Likewise.
19364         (getpwent_r): Likewise.
19365         (getpwuid_r): Likewise.
19366         (getpwnam_r): Likewise.
19367         (fgetpwent_r): Likewise.
19369 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19371         [BZ #18557]
19372         * inet/rcmd.c (__validuser2_sa): Check user first to
19373         short-circuit host check.
19375 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
19376             Mikhail Ilin  <m.ilin@samsung.com>
19378         [BZ #17833]
19379         * elf/Makefile (tests): Add tst-nodelete.
19380         (modules-names): Add tst-nodelete-uniquemod.
19381         (tst-nodelete-uniquemod.so-no-z-defs): New.
19382         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
19383         (tst-nodelete-zmod.so-no-z-defs): Likewise.
19384         ($(objpfx)tst-nodelete): Likewise.
19385         ($(objpfx)tst-nodelete.out): Likewise.
19386         (LDFLAGS-tst-nodelete): Likewise.
19387         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
19388         * elf/dl-close.c (_dl_close_worker): Add a parameter to
19389         implement forced object deletion.
19390         (_dl_close): Pass false to _dl_close_worker.
19391         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
19392         * elf/tst-nodelete.cc: New file.
19393         * elf/tst-nodeletelib.cc: Likewise.
19394         * elf/tst-znodeletelib.cc: Likewise.
19395         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
19397 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19399         [BZ #18508]
19400         * stdlib/Makefile ($(objpfx)tst-makecontext3):
19401         Depend on $(libdl).
19402         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
19403         is not called infinitely times.
19404         (backtrace_helper): New function.
19405         (trace_arg): New struct.
19406         (st1): Enlarge stack size.
19407         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19408         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
19409         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19410         Likewise.
19412 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19414         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19416 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19418         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
19419         Include sys/types.h instead of bits/types.h.
19420         Remove inclusion of bits/wordsize.h.
19422 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19424         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
19425         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
19426         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
19427         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
19428         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
19429         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
19431 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19433         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
19434         link-defines.sym.
19435         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
19436         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
19437         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
19438         and LR_SIZE.
19439         * sysdeps/i386/link-defines.sym: New file.
19441 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19443         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
19444         (modules-names): Add tst-auditmod3a tst-auditmod3b.
19445         ($(objpfx)tst-audit3): New rule.
19446         ($(objpfx)tst-audit3.out): Likewise.
19447         * sysdeps/i386/tst-audit3.c: New file.
19448         * sysdeps/i386/tst-audit3.h: Likewise.
19449         * sysdeps/i386/tst-auditmod3a.c: Likewise.
19450         * sysdeps/i386/tst-auditmod3b.c: Likewise.
19452 2015-07-07  Torvald Riegel  <triegel@redhat.com>
19454         [BZ #18633]
19455         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
19456         pointer in C code.
19457         (__strcat_c): Likewise.
19458         (__strcat_g): Likewise.
19460 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
19462         [BZ #18592]
19463         * misc/sbrk.c: Set errno to ENOMEM on overflow.
19465 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19467         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
19468         New function.  (__ieee754_sqrtf): New function.
19469         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
19470         New function.
19471         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
19472         New function.
19474 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19476         * sysdeps/ieee754/support.c: Remove unused file.
19478 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19480         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
19481         registers instead of d ones so the layout is kernel abi compatible.
19482         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
19483         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
19484         Likewise.
19486 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19488         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19490 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19492         [BZ #18619]
19493         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
19494         and return argument in case of subnormal argument.
19496 2015-07-01  Martin Sebor  <msebor@redhat.com>
19498         [BZ #18435]
19499         * nptl/Makefile: Add tst-once5.cc.
19500         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19501         Remove macro redefinitions.
19502         * nptl/tst-once5.cc: New test.
19504 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19506         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19508         * sysdeps/arm/libm-test-ulps: Regenerated.
19510         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19511         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19513 2015-06-30  Torvald Riegel  <triegel@redhat.com>
19515         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
19516         lll_lock_wait_private and lll_futex_wake probes.
19518         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19519         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
19520         Likewise.
19521         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
19522         atomic_spin_nop.
19523         * sysdeps/x86_64/bits/atomic.h: Likewise.
19524         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
19525         to atomic_spin_nop and move ...
19526         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19527         ... here and ...
19528         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
19529         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
19530         atomic_spin_nop instead of BUSY_WAIT_NOP.
19531         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
19532         Likewise.
19533         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
19534         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19535         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
19536         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
19537         instead of atomic_delay.
19539 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
19541         [BZ #18613]
19542         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
19543         X_ADJ not X when adjusting exponent.
19544         (__ieee754_gamma_r): Do intermediate computations in
19545         round-to-nearest then adjust overflowing and underflowing results
19546         as needed.
19547         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
19548         of X_ADJ not X when adjusting exponent.
19549         (__ieee754_gammaf_r): Do intermediate computations in
19550         round-to-nearest then adjust overflowing and underflowing results
19551         as needed.
19552         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
19553         log of X_ADJ not X when adjusting exponent.
19554         (__ieee754_gammal_r): Do intermediate computations in
19555         round-to-nearest then adjust overflowing and underflowing results
19556         as needed.  Use 1.0L not 1.0f as numerator of division.
19557         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
19558         log of X_ADJ not X when adjusting exponent.
19559         (__ieee754_gammal_r): Do intermediate computations in
19560         round-to-nearest then adjust overflowing and underflowing results
19561         as needed.  Use 1.0L not 1.0f as numerator of division.
19562         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
19563         of X_ADJ not X when adjusting exponent.
19564         (__ieee754_gammal_r): Do intermediate computations in
19565         round-to-nearest then adjust overflowing and underflowing results
19566         as needed.  Use 1.0L not 1.0f as numerator of division.
19567         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
19568         to auto-libm-test-in.
19569         (tgamma_test): Use ALL_RM_TEST.
19570         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
19571         tests of tgamma with spurious-overflow.
19572         * math/auto-libm-test-out: Regenerated.
19573         * math/gen-libm-have-vector-test.sh: Do not check for START.
19574         * sysdeps/i386/fpu/libm-test-ulps: Update.
19575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19577         [BZ #18612]
19578         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
19579         arguments, just return 0.5 times the argument, with underflow
19580         forced as needed.
19581         * math/auto-libm-test-in: Add more tests of j1.
19582         * math/auto-libm-test-out: Regenerated.
19584         [BZ #16559]
19585         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
19586         (__ieee754_j1): Force underflow exception for small results.
19587         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19588         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
19589         (__ieee754_j1f): Force underflow exception for small results.
19590         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19591         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19592         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19593         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
19594         (__ieee754_j1l): Force underflow exception for small results.
19595         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19596         * math/auto-libm-test-in: Add more tests of j1 and jn.
19597         * math/auto-libm-test-out: Regenerated.
19599         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
19600         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
19601         (PF_MPLS): Likewise.
19602         (AF_IB): Likewise.
19603         (AF_MPLS): Likewise.
19604         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
19605         value and macro.
19606         (MS_RMT_MASK): Include MS_LAZYTIME.
19608 2015-06-26  Mel Gorman  <mgorman@suse.de>
19610         [BZ #18502]
19611         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
19612         already minimal.
19614 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
19616         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
19617         (DT_MIPS_NUM): Update.
19618         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
19619         DT_MIPS_RLD_MAP_REL.
19621 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
19623         [BZ #16559]
19624         [BZ #18602]
19625         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
19626         round-to-nearest internally then recompute results that
19627         underflowed to zero in the original rounding mode.
19628         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19629         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19630         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19631         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19632         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
19633         * sysdeps/i386/fpu/libm-test-ulps: Update.
19634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19636 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19638         * NEWS: Fixed description of link with vector math library.
19640 2015-06-25  Andreas Schwab  <schwab@suse.de>
19642         [BZ #18549]
19643         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
19644         * libio/test-fmemopen.c (do_test): Add test for it.
19646 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19648         [BZ #17841]
19649         * Makeconfig (no-pie-ldflag): New.
19650         (+link): Set to $(+link-pie) if default to PIE.
19651         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
19652         * config.make.in (build-pie-default): New.
19653         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
19654         is default.  AC_SUBST.
19655         * configure: Regenerated.
19656         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
19658 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19660         * nptl/descr.h (struct pthread): Change type of field setxid_futex
19661         to 'unsigned int'.
19663         * resolv/gai_misc.h (struct waitlist): Change type of field
19664         counterp to 'volatile unsigned int *'.
19665         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
19666         FUTEXADDR and OLDVAL.
19667         * resolv/getaddrinfo_a.c (getaddrinfo_a):
19668         Give local variable TOTAL type 'volatile unsigned int'.
19669         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19670         * resolv/gai_suspend.c (gai_suspend):
19671         Give local variable CNTR type 'unsigned int'.
19673         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
19674         counterp to 'volatile unsigned int *'.
19675         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
19676         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
19677         (aio_suspend): Give local variable CNTR type 'unsigned int'.
19678         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
19679         Give local variable TOTAL type 'volatile unsigned int'.
19680         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19682 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19684         [BZ #18383]
19685         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
19686         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
19687         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
19688         comment for i386/x86-64.
19689         (test-xfail-tst-tlsalign-extern-static): Removed.
19691 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19693         * math/test-double.h: New file.
19694         * math/test-float.h: Likewise.
19695         * math/test-ldouble.h: Likewise.
19696         * math/test-math-inline.h: Likewise.
19697         * math/test-math-no-inline.h: Likewise.
19698         * math/test-math-scalar.h: Likewise.
19699         * math/test-math-vector.h: Likewise.
19700         * math/test-vec-loop.h: Remove file.  Contents moved into
19701         test-math-vector.h.
19702         * math/libm-test.inc (MATHCONST): Do not document macro.
19703         * math/test-double.c: Include test-double.h, test-math-no-inline.h
19704         and test-math-scalar.h.
19705         (FUNC): Remove macro.
19706         (FUNC_TEST): Likewise.
19707         (FLOAT): Likewise.
19708         (MATHCONST): Likewise.
19709         (PRINTF_EXPR): Likewise.
19710         (PRINTF_XEXPR): Likewise.
19711         (PRINTF_NEXPR): Likewise.
19712         (TEST_DOUBLE): Likewise.
19713         (TEST_MATHVEC): Likewise.
19714         (__NO_MATH_INLINES): Likewise.
19715         * math/test-float.c: Include test-float.h, test-math-no-inline.h
19716         and test-math-scalar.h.
19717         (FUNC): Remove macro.
19718         (FUNC_TEST): Likewise.
19719         (FLOAT): Likewise.
19720         (MATHCONST): Likewise.
19721         (PRINTF_EXPR): Likewise.
19722         (PRINTF_XEXPR): Likewise.
19723         (PRINTF_NEXPR): Likewise.
19724         (TEST_FLOAT): Likewise.
19725         (TEST_MATHVEC): Likewise.
19726         (__NO_MATH_INLINES): Likewise.
19727         * math/test-idouble.c: Include test-double.h, test-math-inline.h
19728         and test-math-scalar.h.
19729         (FUNC): Remove macro.
19730         (FUNC_TEST): Likewise.
19731         (FLOAT): Likewise.
19732         (MATHCONST): Likewise.
19733         (PRINTF_EXPR): Likewise.
19734         (PRINTF_XEXPR): Likewise.
19735         (PRINTF_NEXPR): Likewise.
19736         (TEST_DOUBLE): Likewise.
19737         (TEST_MATHVEC): Likewise.
19738         (TEST_INLINE): Likewise.
19739         (__NO_MATH_INLINES): Likewise.
19740         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
19741         test-math-scalar.h.
19742         (FUNC): Remove macro.
19743         (FUNC_TEST): Likewise.
19744         (FLOAT): Likewise.
19745         (MATHCONST): Likewise.
19746         (PRINTF_EXPR): Likewise.
19747         (PRINTF_XEXPR): Likewise.
19748         (PRINTF_NEXPR): Likewise.
19749         (TEST_FLOAT): Likewise.
19750         (TEST_MATHVEC): Likewise.
19751         (TEST_INLINE): Likewise.
19752         (__NO_MATH_INLINES): Likewise.
19753         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
19754         and test-math-scalar.h.
19755         (FUNC): Remove macro.
19756         (FUNC_TEST): Likewise.
19757         (FLOAT): Likewise.
19758         (MATHCONST): Likewise.
19759         (PRINTF_EXPR): Likewise.
19760         (PRINTF_XEXPR): Likewise.
19761         (PRINTF_NEXPR): Likewise.
19762         (TEST_LDOUBLE): Likewise.
19763         (TEST_MATHVEC): Likewise.
19764         (TEST_INLINE): Likewise.
19765         (__NO_MATH_INLINES): Likewise.
19766         * math/test-ldouble.c: Include test-ldouble.h,
19767         test-math-no-inline.h and test-math-scalar.h.
19768         (FUNC): Remove macro.
19769         (FUNC_TEST): Likewise.
19770         (FLOAT): Likewise.
19771         (MATHCONST): Likewise.
19772         (PRINTF_EXPR): Likewise.
19773         (PRINTF_XEXPR): Likewise.
19774         (PRINTF_NEXPR): Likewise.
19775         (TEST_LDOUBLE): Likewise.
19776         (TEST_MATHVEC): Likewise.
19777         (__NO_MATH_INLINES): Likewise.
19778         * math/test-double-vlen2.h: Include test-double.h,
19779         test-math-no-inline.h and test-math-vector.h.
19780         (FLOAT): Remove macro.
19781         (FUNC): Likewise.
19782         (MATHCONST): Likewise.
19783         (PRINTF_EXPR): Likewise.
19784         (PRINTF_XEXPR): Likewise.
19785         (PRINTF_NEXPR): Likewise.
19786         (TEST_DOUBLE): Likewise.
19787         (TEST_MATHVEC): Likewise.
19788         (__NO_MATH_INLINES): Likewise.
19789         (CNCT): Likewise.
19790         (CONCAT): Likewise.
19791         (WRAPPER_NAME): Likewise.
19792         (WRAPPER_DECL): Likewise.
19793         (WRAPPER_DECL_ff): Likewise.
19794         (WRAPPER_DECL_fFF): Likewise.
19795         (VECTOR_WRAPPER): Likewise.
19796         (VECTOR_WRAPPER_ff): Likewise.
19797         (VECTOR_WRAPPER_fFF): Likewise.
19798         (VEC_LEN): New macro.
19799         * math/test-double-vlen4.h: Include test-double.h,
19800         test-math-no-inline.h and test-math-vector.h.
19801         (FLOAT): Remove macro.
19802         (FUNC): Likewise.
19803         (MATHCONST): Likewise.
19804         (PRINTF_EXPR): Likewise.
19805         (PRINTF_XEXPR): Likewise.
19806         (PRINTF_NEXPR): Likewise.
19807         (TEST_DOUBLE): Likewise.
19808         (TEST_MATHVEC): Likewise.
19809         (__NO_MATH_INLINES): Likewise.
19810         (CNCT): Likewise.
19811         (CONCAT): Likewise.
19812         (WRAPPER_NAME): Likewise.
19813         (WRAPPER_DECL): Likewise.
19814         (WRAPPER_DECL_ff): Likewise.
19815         (WRAPPER_DECL_fFF): Likewise.
19816         (VECTOR_WRAPPER): Likewise.
19817         (VECTOR_WRAPPER_ff): Likewise.
19818         (VECTOR_WRAPPER_fFF): Likewise.
19819         (VEC_LEN): New macro.
19820         * math/test-double-vlen8.h: Include test-double.h,
19821         test-math-no-inline.h and test-math-vector.h.
19822         (FLOAT): Remove macro.
19823         (FUNC): Likewise.
19824         (MATHCONST): Likewise.
19825         (PRINTF_EXPR): Likewise.
19826         (PRINTF_XEXPR): Likewise.
19827         (PRINTF_NEXPR): Likewise.
19828         (TEST_DOUBLE): Likewise.
19829         (TEST_MATHVEC): Likewise.
19830         (__NO_MATH_INLINES): Likewise.
19831         (CNCT): Likewise.
19832         (CONCAT): Likewise.
19833         (WRAPPER_NAME): Likewise.
19834         (WRAPPER_DECL): Likewise.
19835         (WRAPPER_DECL_ff): Likewise.
19836         (WRAPPER_DECL_fFF): Likewise.
19837         (VECTOR_WRAPPER): Likewise.
19838         (VECTOR_WRAPPER_ff): Likewise.
19839         (VECTOR_WRAPPER_fFF): Likewise.
19840         (VEC_LEN): New macro.
19841         * math/test-float-vlen4.h: Include test-float.h,
19842         test-math-no-inline.h and test-math-vector.h.
19843         (FLOAT): Remove macro.
19844         (FUNC): Likewise.
19845         (MATHCONST): Likewise.
19846         (PRINTF_EXPR): Likewise.
19847         (PRINTF_XEXPR): Likewise.
19848         (PRINTF_NEXPR): Likewise.
19849         (TEST_FLOAT): Likewise.
19850         (TEST_MATHVEC): Likewise.
19851         (__NO_MATH_INLINES): Likewise.
19852         (CNCT): Likewise.
19853         (CONCAT): Likewise.
19854         (WRAPPER_NAME): Likewise.
19855         (WRAPPER_DECL): Likewise.
19856         (WRAPPER_DECL_ff): Likewise.
19857         (WRAPPER_DECL_fFF): Likewise.
19858         (VECTOR_WRAPPER): Likewise.
19859         (VECTOR_WRAPPER_ff): Likewise.
19860         (VECTOR_WRAPPER_fFF): Likewise.
19861         (VEC_LEN): New macro.
19862         * math/test-float-vlen8.h: Include test-float.h,
19863         test-math-no-inline.h and test-math-vector.h.
19864         (FLOAT): Remove macro.
19865         (FUNC): Likewise.
19866         (MATHCONST): Likewise.
19867         (PRINTF_EXPR): Likewise.
19868         (PRINTF_XEXPR): Likewise.
19869         (PRINTF_NEXPR): Likewise.
19870         (TEST_FLOAT): Likewise.
19871         (TEST_MATHVEC): Likewise.
19872         (__NO_MATH_INLINES): Likewise.
19873         (CNCT): Likewise.
19874         (CONCAT): Likewise.
19875         (WRAPPER_NAME): Likewise.
19876         (WRAPPER_DECL): Likewise.
19877         (WRAPPER_DECL_ff): Likewise.
19878         (WRAPPER_DECL_fFF): Likewise.
19879         (VECTOR_WRAPPER): Likewise.
19880         (VECTOR_WRAPPER_ff): Likewise.
19881         (VECTOR_WRAPPER_fFF): Likewise.
19882         (VEC_LEN): New macro.
19883         * math/test-float-vlen16.h: Include test-float.h,
19884         test-math-no-inline.h and test-math-vector.h.
19885         (FLOAT): Remove macro.
19886         (FUNC): Likewise.
19887         (MATHCONST): Likewise.
19888         (PRINTF_EXPR): Likewise.
19889         (PRINTF_XEXPR): Likewise.
19890         (PRINTF_NEXPR): Likewise.
19891         (TEST_FLOAT): Likewise.
19892         (TEST_MATHVEC): Likewise.
19893         (__NO_MATH_INLINES): Likewise.
19894         (CNCT): Likewise.
19895         (CONCAT): Likewise.
19896         (WRAPPER_NAME): Likewise.
19897         (WRAPPER_DECL): Likewise.
19898         (WRAPPER_DECL_ff): Likewise.
19899         (WRAPPER_DECL_fFF): Likewise.
19900         (VECTOR_WRAPPER): Likewise.
19901         (VECTOR_WRAPPER_ff): Likewise.
19902         (VECTOR_WRAPPER_fFF): Likewise.
19903         (VEC_LEN): New macro.
19904         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
19905         test-vec-loop.h.
19906         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19907         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19908         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19909         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19910         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19911         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19912         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19914 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19916         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
19917         (__getlogin_r): ... this.
19919 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19921         [BZ #18594]
19922         * math/s_ccosh.c (__ccosh): Compare with least normal value
19923         instead of comparing class with FP_SUBNORMAL.
19924         * math/s_ccoshf.c (__ccoshf): Likewise.
19925         * math/s_ccoshl.c (__ccoshl): Likewise.
19926         * math/s_cexp.c (__cexp): Likewise.
19927         * math/s_cexpf.c (__cexpf): Likewise.
19928         * math/s_cexpl.c (__cexpl): Likewise.
19929         * math/s_csin.c (__csin): Likewise.
19930         * math/s_csinf.c (__csinf): Likewise.
19931         * math/s_csinh.c (__csinh): Likewise.
19932         * math/s_csinhf.c (__csinhf): Likewise.
19933         * math/s_csinhl.c (__csinhl): Likewise.
19934         * math/s_csinl.c (__csinl): Likewise.
19935         * math/s_ctan.c (__ctan): Likewise.
19936         * math/s_ctanf.c (__ctanf): Likewise.
19937         * math/s_ctanh.c (__ctanh): Likewise.
19938         * math/s_ctanhf.c (__ctanhf): Likewise.
19939         * math/s_ctanhl.c (__ctanhl): Likewise.
19940         * math/s_ctanl.c (__ctanl): Likewise.
19941         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
19942         csin, csinh, ctan and ctanh.
19943         * math/auto-libm-test-out: Regenerated.
19944         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
19945         * sysdeps/i386/fpu/libm-test-ulps: Update.
19946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19948 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19950         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
19951         return value is wrong, print the expected value too.
19953 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19955         [BZ #18585]
19956         * elf/readlib.c (is_gdb_python_file): New.
19957         (process_file): Don't issue errors on filenames with -gdb.py
19958         suffix.
19960 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19962         * math/auto-libm-test-in: Add more tests of csin and csinh.
19963         * math/auto-libm-test-out: Regenerated.
19964         * math/libm-test.inc (csin_test_data): Remove tests moved to
19965         auto-libm-test-in.
19966         (csinh_test_data): Likewise.
19968         [BZ #18593]
19969         * math/s_csin.c (__csin): Negate before rather than after possibly
19970         overflowing multiplication.
19971         * math/s_csinf.c (__csinf): Likewise.
19972         * math/s_csinh.c (__csinh): Likewise.
19973         * math/s_csinhf.c (__csinhf): Likewise.
19974         * math/s_csinhl.c (__csinhl): Likewise.
19975         * math/s_csinl.c (__csinl): Likewise.
19976         * math/auto-libm-test-in: Add some tests of csin and csinh.
19977         * math/auto-libm-test-out: Regenerated.
19978         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
19979         (csinh_test_data): Likewise.
19980         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19982         [BZ #18586]
19983         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
19984         underflow exception for small results.
19986 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19988         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19989         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
19990         variable and included header.
19991         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
19992         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
19993         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
19994         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
19995         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
19996         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19997         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19998         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
19999         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
20000         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
20001         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
20002         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
20003         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
20004         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
20005         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
20006         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
20008 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20010         [BZ #16526]
20011         [BZ #16538]
20012         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
20013         (__sin): Force underflow exception for arguments with small
20014         absolute value.
20015         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
20016         (__kernel_sinf): Force underflow exception for arguments with
20017         small absolute value.
20018         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
20019         (__kernel_sincosl): Force underflow exception for arguments with
20020         small absolute value.
20021         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
20022         (__kernel_sinl): Force underflow exception for arguments with
20023         small absolute value.
20024         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
20025         (__kernel_sincosl): Force underflow exception for arguments with
20026         small absolute value.
20027         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
20028         (__kernel_sinl): Force underflow exception for arguments with
20029         small absolute value.
20030         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
20031         (__kernel_sinl): Force underflow exception for arguments with
20032         small absolute value.
20033         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
20034         (__kernel_sinf): Force underflow exception for arguments with
20035         small absolute value.
20036         * math/auto-libm-test-in: Add more tests of sin and sincos.
20037         * math/auto-libm-test-out: Regenerated.
20039         [BZ #18245]
20040         [BZ #18583]
20041         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
20042         (__kernel_standard_l): Use feholdexcept and fesetenv around
20043         conversion to double instead of special-casing overflow and
20044         underflow.
20045         * math/libm-test.inc (fmod_test_data): Add more tests.
20046         (remainder_test_data): Likewise.
20047         (sqrt_test_data): Likewise.
20049 2015-06-23  Torvald Riegel  <triegel@redhat.com>
20051         [BZ #17403]
20052         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
20053         atomic_read_barrier, atomic_write_barrier): Define.
20054         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
20055         atomic_read_barrier, atomic_write_barrier): Define.
20057 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20059         * math/Makefile [$(PERL) != no]
20060         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
20061         dependency on libm-test.stmp below the inclusion of Rules.
20063 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
20065         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20066         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
20067         and included header.
20068         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
20069         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
20070         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
20071         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
20072         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
20073         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
20074         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
20075         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
20076         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
20077         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
20078         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
20079         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
20080         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
20081         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
20082         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
20083         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
20084         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
20085         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
20086         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
20088 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20090         [BZ #18371]
20091         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
20092         intermediate but not final result might underflow.
20093         * math/s_csqrtf.c (__csqrtf): Likewise.
20094         * math/s_csqrtl.c (__csqrtl): Likewise.
20095         * math/auto-libm-test-in: Add more tests of csqrt.
20096         * math/auto-libm-test-out: Regenerated.
20097         * sysdeps/i386/fpu/libm-test-ulps: Update.
20099         [BZ #18219]
20100         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
20101         threshold on absolute value of exponent for which scaling is used.
20102         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20103         * math/auto-libm-test-in: Add more tests of exp2.
20104         * math/auto-libm-test-out: Regenerated.
20106 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
20108         [BZ #17977]
20109         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
20110         when initializing interface list, based on the bug analysis
20111         and the patch proposed by Eric Newton.
20112         * resolv/tst-res_hconf_reorder.c: New test.
20113         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
20114         tst-res_hconf_reorder.
20115         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
20116         and $(shared-thread-library).
20117         (tst-res_hconf_reorder-ENV): New variable.
20119         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
20120         in comment.
20122 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
20124         [BZ #16353]
20125         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
20126         (__expm1): Force underflow exception for arguments with small
20127         absolute value.
20128         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
20129         (__expm1f): Force underflow exception for arguments with small
20130         absolute value.
20131         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
20132         (__expm1): Force underflow exception for arguments with small
20133         absolute value.
20134         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
20135         (__expm1f): Force underflow exception for arguments with small
20136         absolute value.
20137         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20138         Check for small arguments before calling __expm1.
20139         * math/auto-libm-test-in: Do not mark underflow exceptions as
20140         possibly missing for bug 16353.
20141         * math/auto-libm-test-out: Regenerated.
20143 2015-06-22  Andreas Schwab  <schwab@suse.de>
20145         [BZ #18513]
20146         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
20147         PTR queries.
20149 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
20151         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
20153         * string/strcoll_l.c: Remove unused struct element idxnow.
20155 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
20157         [BZ #18569]
20158         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
20159         underflow and return argument in case of subnormal argument.
20160         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20161         Likewise.
20162         * math/auto-libm-test-in: Add more tests of expm1.
20163         * math/auto-libm-test-out: Regenerated.
20165         [BZ #16361]
20166         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20167         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20168         tiny results.
20169         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20170         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20171         tiny results.
20172         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
20173         mark underflow exceptions as possibly missing for bug 16361.
20174         * math/auto-libm-test-out: Regenerated.
20176 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
20178         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
20179         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
20180         Remove variable.
20181         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20182         (test-xfail-XOPEN2K8/utmpx.h/conform).
20184         * conform/conformtest.pl ($xerrors): New variable.
20185         (note_error): New function.
20186         (compiletest): New argument $xfail.  Use not_error.
20187         (runtest): Likewise.
20188         (top level): Handle xfail- lines.  Update calls to compiletest and
20189         runtest.  Handle xfail- and optional- in headers listed with
20190         allow-header.
20191         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
20192         (O_EXEC): Likewise.
20193         (O_SEARCH): Likewise.
20194         * conform/data/stropts.h-data (ioctl): Likewise.
20195         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
20196         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
20197         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
20198         (msghdr.msg_controllen): Likewise.
20199         (cmsghdr.cmsg_len): Likewise.
20200         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
20201         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
20202         variable.
20203         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20204         (test-xfail-XPG4/stropts.h/conform): Likewise.
20205         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20206         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20207         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20208         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20209         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20210         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20211         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20212         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20213         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20214         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20215         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20216         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20217         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20218         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20219         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20220         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20221         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20222         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20223         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20225 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20227         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
20228         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
20229         definitions for proper unfolding of __MATHDECL_VEC.
20231 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20233         * benchtests/bench-strcoll.c:
20234         Include string.h.
20235         (main): Remove unused variable res.
20237 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20239         * timezone/Makefile (%/UTC %/Universal):
20240         Generate test-result files for UTC and Universal.
20242 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20244         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20246 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
20248         [BZ #16350]
20249         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
20250         for arguments with small absolute value.
20251         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
20252         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
20253         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
20254         (__asinh): Force underflow exception for arguments with small
20255         absolute value.
20256         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
20257         (__asinhf): Force underflow exception for arguments with small
20258         absolute value.
20259         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
20260         (__asinhl): Force underflow exception for arguments with small
20261         absolute value.
20262         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
20263         (__asinhl): Force underflow exception for arguments with small
20264         absolute value.
20265         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
20266         (__asinhl): Force underflow exception for arguments with small
20267         absolute value.
20268         * math/auto-libm-test-in: Do not mark underflow exceptions as
20269         possibly missing for bug 16350.
20270         * math/auto-libm-test-out: Regenerated.
20272         * include/bits/ipc.h: Remove file.
20273         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
20274         variable.
20275         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20276         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20277         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20278         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20279         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20280         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20281         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20282         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20283         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20285         * math/auto-libm-test-in: Remove spurious underflow allowance for
20286         tests of cexp.
20287         * math/auto-libm-test-out: Regenerated.
20289         [BZ #18558]
20290         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
20291         unconditional definition.
20292         (MCAST_BLOCK_SOURCE): Likewise.
20293         (MCAST_UNBLOCK_SOURCE): Likewise.
20294         (MCAST_LEAVE_GROUP): Likewise.
20295         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20296         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20297         (MCAST_MSFILTER): Likewise.
20298         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
20299         Remove variable.
20300         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20301         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20302         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20303         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20304         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20306 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
20308         * NEWS: Mention addition of x86_64 vector sincosf.
20309         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
20310         * math/test-float-vlen4.h: Likewise.
20311         * math/test-float-vlen8.h: Likewise.
20312         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20313         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
20314         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20315         * sysdeps/x86_64/fpu/Versions: New versions added.
20316         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20317         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20318         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20319         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
20320         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20321         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
20322         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20323         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
20324         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20325         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
20326         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
20327         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
20328         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
20329         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
20330         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
20331         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
20332         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
20333         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20334         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20335         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20336         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20337         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20338         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20339         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20341         * NEWS: Mention addition of x86_64 vector sincos.
20342         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
20343         * math/math.h (__MATHDECL_VEC): New macro.
20344         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
20345         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
20346         declaration under condition.
20347         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
20348         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
20349         TEST_VEC_LOOP change.
20350         * math/test-double-vlen4.h: Likewise.
20351         * math/test-double-vlen8.h: Likewise.
20352         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
20353         * math/test-float-vlen4.h: Likewise.
20354         * math/test-float-vlen8.h: Likewise.
20355         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20356         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
20357         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20358         * sysdeps/x86_64/fpu/Versions: New versions added.
20359         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20360         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20361         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20362         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
20363         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
20364         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
20365         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
20366         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
20367         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
20368         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
20369         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
20370         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
20371         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
20372         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
20373         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
20374         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
20375         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
20376         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20377         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20378         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20379         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20380         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20381         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20382         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20384         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20385         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20386         redirections for powf.
20387         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20388         * sysdeps/x86_64/fpu/Versions: New versions added.
20389         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20390         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20391         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20392         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
20393         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
20394         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
20395         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
20396         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
20397         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
20398         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
20399         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
20400         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
20401         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
20402         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
20403         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
20404         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
20405         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
20406         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20407         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20408         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20409         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20410         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20411         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20412         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20413         * math/test-float-vlen16.h: Fixed 2 argument macro.
20414         * math/test-float-vlen4.h: Likewise.
20415         * math/test-float-vlen8.h: Likewise.
20416         * NEWS: Mention addition of x86_64 vector powf.
20418 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
20420         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20421         and redefine.
20422         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20423         and redefine.
20424         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
20425         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20426         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20428         [BZ #18553]
20429         * resource/getpriority.c (getpriority): Rename to __getpriority
20430         and define as weak alias of __getpriority.
20431         * resource/setpriority.c (setpriority): Rename to __setpriority
20432         and define as weak alias of __setpriority.
20433         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
20434         __getpriority and define as weak alias of __getpriority.
20435         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
20436         __setpriority and define as weak alias of __setpriority.
20437         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
20438         strong name.
20439         (setpriority): Use __setpriority as strong name.
20440         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
20441         __getpriority and define as weak alias of __getpriority.
20442         * include/sys/resource.h (__getpriority): Declare.  Use
20443         libc_hidden_proto.
20444         (__setpriority): Likewise.
20445         (getpriority): Don't use libc_hidden_proto.
20446         (setpriority): Likewise.
20447         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
20448         getpriority.  Call __setpriority instead of setpriority.
20449         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
20450         Remove variable.
20452         [BZ #18547]
20453         * misc/getttyent.c (getttynam): Rename to __getttynam and define
20454         as weak alias of __getttynam.  Use prototype function definition.
20455         Call __setttyent, __getttyent and __endttyent instead of
20456         setttyent, getttyent and endttyent.
20457         (getttyent): Rename to __getttyent and define as weak alias of
20458         __getttyent.  Call __setttyent instead of setttyent.  Call
20459         __fgets_unlocked instead of fgets_unlocked.
20460         (setttyent): Rename to __setttyent and define as weak alias of
20461         __setttyent.
20462         (endttyent): Rename to __endttyent and define as weak alias of
20463         __endttyent.
20464         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
20465         (__setttyent): Likewise.
20466         (__endttyent): Likewise.
20467         (getttyent): Don't use libc_hidden_proto.
20468         (setttyent): Likewise.
20469         (endttyent): Likewise.
20470         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
20471         __endttyent instead of setttyent, getttyent and endttyent.
20472         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
20473         Remove variable.
20475         [BZ #18546]
20476         * socket/recv.c (__recv): Use libc_hidden_def.
20477         * socket/socket.c (__socket): Likewise.
20478         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20479         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20480         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
20481         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
20482         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
20483         libc_hidden_def.
20484         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
20485         libc_hidden_weak.
20486         * include/sys/socket.h (__socket): Do not use attribute_hidden.
20487         Use libc_hidden_proto.
20488         (__recv): Likewise.
20489         * socket/Versions (libc): Export __recv and __socket at version
20490         GLIBC_PRIVATE.
20491         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
20492         instead of recv.
20493         (init_mq_netlink): Call __socket instead of socket.
20494         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
20495         Remove variable.
20497         [BZ #18545]
20498         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
20499         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
20500         hidden_weak.
20501         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
20502         define as alias of __mq_timedsend.  Use hidden_weak.
20503         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
20504         __mq_timedsend as strong name.
20505         (mq_timedreceive): Use __mq_timedreceive as strong name.
20506         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
20507         (__mq_timedreceive): Likewise.
20508         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
20509         __mq_timedreceive instead of mq_timedreceive.
20510         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
20511         instead of mq_timedsend.
20512         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
20513         Remove variable.
20515         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
20516         hidden_def and hidden_weak instead of libc_hidden_def and
20517         libc_hidden_weak.
20518         (top level): Refer to hidden_def in comment.
20519         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
20520         macro.  Use it instead of libc_hidden_def.
20521         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
20522         specify __GI_* name explicitly.
20523         (mq_timedreceive): Likewise.
20524         (mq_setattr): Likewise.
20526         [BZ #18544]
20527         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
20528         __pthread_barrier_init and define as weak alias of
20529         __pthread_barrier_init.
20530         * sysdeps/sparc/nptl/pthread_barrier_init.c
20531         (pthread_barrier_init): Likewise.
20532         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
20533         __pthread_barrier_wait and define as weak alias of
20534         __pthread_barrier_wait.
20535         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20536         (pthread_barrier_wait): Likewise.
20537         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20538         (pthread_barrier_wait): Likewise.
20539         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
20540         (pthread_barrier_wait): Likewise.
20541         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
20542         (pthread_barrier_wait): Likewise.
20543         * nptl/Versions (libpthread): Export __pthread_barrier_init and
20544         __pthread_barrier_wait at version GLIBC_PRIVATE.
20545         * include/pthread.h (__pthread_barrier_init): Declare.
20546         (__pthread_barrier_wait): Likewise.
20547         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
20548         Call __pthread_barrier_wait instead of pthread_barrier_wait.
20549         (helper_thread): Likewise.
20550         (init_mq_netlink): Call __pthread_barrier_init instead of
20551         pthread_barrier_init.
20553         [BZ #18542]
20554         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
20555         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
20556         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
20557         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
20558         vswscanf.
20559         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
20560         Remove variable.
20562         [BZ #18540]
20563         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
20564         strong alias of _IO_fflush.  Use libc_hidden_def.
20565         * libio/iofflush_u.c (fflush_unlocked): Rename to
20566         __fflush_unlocked and define as weak alias of __fflush_unlocked.
20567         Use libc_hidden_weak.
20568         * include/stdio.h (__fflush_unlocked): Declare.  Use
20569         libc_hidden_proto.
20570         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
20571         fflush_unlocked.
20572         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
20573         Remove variable.
20575         [BZ #18539]
20576         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
20577         define as weak alias of __addseverity.
20578         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
20579         Remove variable.
20580         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20581         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20582         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20584         [BZ #18536]
20585         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
20586         (__tfind): Likewise.
20587         (__tdelete): Likewise.
20588         (__twalk): Likewise.
20589         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
20590         __twalk to GLIBC_PRIVATE.
20591         * include/search.h (__tsearch): Use libc_hidden_proto.
20592         (__tfind): Likewise.
20593         (__tdelete): Likewise.
20594         (__twalk): Likewise.
20595         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
20596         Call __tdelete instead of tdelete.
20597         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
20598         tfind.  Call __tsearch instead of tsearch.
20599         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
20600         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
20601         Remove variable.
20602         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20604         [BZ #18534]
20605         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
20606         (dprintf): Define as a weak alias of __dprintf, not a strong
20607         alias.
20608         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
20609         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
20610         dprintf.
20611         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
20612         Remove variable.
20613         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20614         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20616         [BZ #18533]
20617         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
20618         not a strong alias.
20619         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
20620         Remove variable.
20622         [BZ #18532]
20623         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
20624         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
20625         (in6addr_loopback): Rename to __in6addr_loopback and define as
20626         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
20627         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
20628         libc_hidden_proto.
20629         (__in6addr_any): Likewise.
20630         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
20631         in6addr_any.
20632         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
20633         variable.
20634         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20636 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20638         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
20639         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
20640         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20641         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20642         redirections for pow.
20643         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20644         * sysdeps/x86_64/fpu/Versions: New versions added.
20645         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20646         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20647         build of SSE, AVX2 and AVX512 IFUNC versions.
20648         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
20649         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
20650         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
20651         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
20652         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
20653         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
20654         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
20655         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
20656         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
20657         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
20658         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
20659         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
20660         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
20661         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
20662         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20663         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20664         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20665         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20666         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20667         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20668         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20669         * NEWS: Mention addition of x86_64 vector pow.
20671         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20672         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20673         redirections for expf.
20674         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20675         * sysdeps/x86_64/fpu/Versions: New versions added.
20676         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20677         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20678         build of SSE, AVX2 and AVX512 IFUNC versions.
20679         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
20680         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
20681         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
20682         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
20683         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
20684         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
20685         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
20686         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
20687         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
20688         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
20689         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
20690         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
20691         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
20692         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20693         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20694         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20695         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20696         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20697         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20698         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20699         * NEWS: Mention addition of x86_64 vector expf.
20701         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
20702         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
20703         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20704         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20705         redirections for exp.
20706         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20707         * sysdeps/x86_64/fpu/Versions: New versions added.
20708         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20709         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20710         build of SSE, AVX2 and AVX512 IFUNC versions.
20711         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
20712         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
20713         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
20714         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
20715         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
20716         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
20717         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
20718         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
20719         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
20720         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
20721         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
20722         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
20723         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
20724         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20725         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20726         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20727         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20728         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20729         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20730         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20731         * NEWS: Mention addition of x86_64 vector exp.
20733         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20734         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20735         redirections for logf.
20736         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20737         * sysdeps/x86_64/fpu/Versions: New versions added.
20738         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20739         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20740         build of SSE, AVX2 and AVX512 IFUNC versions.
20741         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
20742         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
20743         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
20744         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
20745         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
20746         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
20747         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
20748         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
20749         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
20750         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
20751         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
20752         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
20753         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
20754         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20755         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20756         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20757         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20758         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20759         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20760         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20761         * NEWS: Mention addition of x86_64 vector logf.
20763         * bits/libm-simd-decl-stubs.h: Added stubs for log.
20764         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
20765         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20766         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20767         redirections for log.
20768         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20769         * sysdeps/x86_64/fpu/Versions: New versions added.
20770         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20771         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20772         build of SSE, AVX2 and AVX512 IFUNC versions.
20773         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
20774         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
20775         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
20776         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
20777         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
20778         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
20779         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
20780         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
20781         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
20782         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
20783         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
20784         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
20785         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
20786         test.
20787         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20788         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20789         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20790         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20791         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20792         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20793         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20794         * NEWS: Mention addition of x86_64 vector log.
20796 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20798         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
20799         cfi_adjust_cfa_offset argument.
20800         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
20801         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
20803         [BZ #18034]
20804         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
20805         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
20806         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
20807         ordering using ldar.
20808         (_dl_tlsdesc_dynamic): Likewise.
20809         (_dl_tlsdesc_return_lazy): Likewise.
20810         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
20811         relaxed atomics instead of volatile and synchronize with release store.
20812         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
20813         volatile.
20814         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20816 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
20818         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20819         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
20820         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20821         * sysdeps/x86_64/fpu/Versions: New versions added.
20822         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20823         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20824         build of SSE, AVX2 and AVX512 IFUNC versions.
20825         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
20826         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
20827         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
20828         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
20829         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
20830         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
20831         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
20832         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
20833         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
20834         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20835         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
20836         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
20837         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
20838         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20839         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20840         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20841         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20842         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20843         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20844         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20845         * NEWS: Mention addition of x86_64 vector sinf.
20847 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
20849         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
20850         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
20851         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
20852         Remove variable.
20853         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20854         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20856 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20858         [BZ #18530]
20859         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
20860         strong alias of _IO_fputs.  Use libc_hidden_def.
20861         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
20862         and define as weak alias of __fputs_unlocked.  Use
20863         libc_hidden_weak.
20864         * include/stdio.h (__fputs_unlocked): Declare.  Use
20865         libc_hidden_proto.
20866         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
20867         fputs_unlocked.
20869         [BZ #18529]
20870         * resolv/netdb.h [__USE_POSIX]: Change condition to
20871         [__USE_XOPEN2K].
20872         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
20873         not expect.
20874         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
20875         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
20876         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
20877         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
20878         [XPG4 || UNIX98] (AI_ALL): Likewise.
20879         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20880         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20881         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20882         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20883         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20884         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20885         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20886         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20887         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20888         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20889         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
20890         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
20891         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
20892         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
20893         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
20894         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20895         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20896         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
20897         [XPG4 || UNIX98] (gai_strerror): Likewise.
20898         [XPG4 || UNIX98] (getaddrinfo): Likewise.
20899         [XPG4 || UNIX98] (getnameinfo): Likewise.
20901         [BZ #18528]
20902         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
20903         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
20904         __USE_XOPEN2K8].
20905         (getgrent): Likewise.
20906         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
20907         expect.
20908         [XPG3 || POSIX2008] (endgrent): Likewise.
20909         [XPG3] (setgrent): Likewise.
20910         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
20911         variable.
20912         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20914         [BZ #18527]
20915         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
20916         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
20917         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
20918         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
20919         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
20920         * include/unistd.h (__getlogin_r): Declare.  Use
20921         libc_hidden_proto.
20922         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
20923         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
20924         variable.
20925         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20926         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20927         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20929 2015-06-12  Martin Sebor  <msebor@redhat.com>
20931         [BZ #18512]
20932         * Makerules (check-install-supported): New target.
20933         (install): Add check-install-supported as a dependency.
20934         * manual/install.texi (Installing the C Library): Document
20935         that overriding prefix and exec_prefix is not supported.
20936         Mention DESTDIR.
20937         * INSTALL: Regenerate from the above.
20939 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20941         [BZ #18519]
20942         * posix/Versions (libc): Export __libc_pread at version
20943         GLIBC_PRIVATE.
20944         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
20945         instead of pread.
20946         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
20947         variable.
20949         [BZ #18522]
20950         * misc/efgcvt_r.c
20951         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
20952         (cvt_symbol): Use weak_alias instead of strong_alias.
20953         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
20954         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
20955         Remove variable.
20956         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20957         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20959         [BZ #18520]
20960         * inet/herrno.c (h_errno): Rename to __h_errno.
20961         (__libc_h_errno): Define as alias of __h_errno not h_errno.
20962         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
20963         to __h_errno instead of h_errno.
20964         * nptl/herrno.c (h_errno): Rename to __h_errno.
20965         (__h_errno_location): Refer to __h_errno not h_errno.
20966         * resolv/Versions (h_errno): Rename to __h_errno.
20967         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
20968         Remove variable.
20969         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20971 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
20973         * configure.ac: More strict check for AVX512 assembler support.
20974         * configure: Regenerated.
20976         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
20977         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
20978         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20979         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
20980         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20981         * sysdeps/x86_64/fpu/Versions: New versions added.
20982         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20983         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20984         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20985         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
20986         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
20987         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
20988         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
20989         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
20990         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
20991         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
20992         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
20993         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
20994         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
20995         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
20996         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
20997         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
20998         test.
20999         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21000         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21001         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21002         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21003         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21004         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21005         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21006         * NEWS: Mention addition of x86_64 vector sin.
21008 2015-06-11  Florian Weimer  <fweimer@redhat.com>
21010         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
21011         comment.
21013 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21015         [BZ #18479]
21016         * nptl/pt-interp.c: New file.
21017         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
21018         Add pt-interp.
21019         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
21020         $(common-objpfx)runtime-linker.h.
21022 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
21024         * Makeconfig (+interp): Remove unused variable.
21025         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
21026         only.  Depend on $(common-objpfx)runtime-linker.h instead of
21027         $(elf-objpfx)runtime-linker.h.
21028         ($(elf-objpfx)runtime-linker.h): Rename to
21029         $(common-objpfx)runtime-linker.h and move ...
21030         * Makerules [$(build-shared) = yes]: ... here.
21031         * elf/interp.c: Include <runtime-linker.h> instead of
21032         <elf/runtime-linker.h>.
21034 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21036         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
21037         (__gettimeofday_syscall): Remove vsyscall fallback.
21038         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
21039         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
21040         Add syscall fallback function.
21041         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
21042         if vDSO is not present.
21043         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
21044         fallback function.
21045         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
21046         present.
21047         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
21048         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21050 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
21052         [BZ #18497]
21053         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
21054         of wcscmp.
21055         (wcscmp): Define as weak alias of WCSCMP.
21056         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
21057         wcscoll.
21058         (USE_HIDDEN_DEF): Define.
21059         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
21060         __wcscoll.  Don't use libc_hidden_weak.
21061         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
21062         wcscmp.
21063         * sysdeps/i386/i686/multiarch/wcscmp-c.c
21064         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
21065         __GI_wcscmp.
21066         (weak_alias): Undefine and redefine.
21067         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
21068         __wcscmp and define as weak alias of __wcscmp.
21069         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
21070         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
21071         (__wcscoll): Likewise.
21072         (wcscmp): Don't use libc_hidden_proto.
21073         (wcscoll): Likewise.
21074         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
21075         wcscoll.
21076         * posix/regexec.c (check_node_accept_bytes): Likewise.
21077         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
21078         variable.
21079         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21080         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21082         [BZ #18507]
21083         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
21084         __fstatvfs and define as weak alias of __fstatvfs.  Use
21085         libc_hidden_weak.
21086         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
21087         and define as weak alias of __statvfs.  Use libc_hidden_weak.
21088         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
21089         Define as alias of __fstatvfs, not fstatvfs.
21090         (fstatvfs64): Likewise.
21091         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
21092         Define as alias of __statvfs, not statvfs.
21093         (statvfs64): Likewise.
21094         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
21095         Remove variable.
21097 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21100         (HAVE_GETCPU_VSYSCALL): Define.
21101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21102         (HAVE_GETCPU_VSYSCALL): Likewise.
21103         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
21104         * sysdeps/unix/sysv/linux/sched_getcpu.c
21105         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
21106         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
21107         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
21108         prototype.
21109         * sysdeps/unix/sysv/linux/x86_64/init-first.c
21110         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
21111         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
21112         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
21113         Define.
21114         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
21115         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21116         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
21117         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21119 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
21121         * sysdeps/x86_64/fpu/Makefile: New file.
21122         * sysdeps/x86_64/fpu/Versions: New file.
21123         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
21124         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
21125         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
21126         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
21127         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
21128         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
21129         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
21130         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
21131         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
21132         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
21133         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
21134         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
21135         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
21136         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21137         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21138         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
21139         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
21140         * sysdeps/x86_64/configure.ac: Options for libmvec build.
21141         * sysdeps/x86_64/configure: Regenerated.
21142         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
21143         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
21144         * manual/install.texi (Configuring and compiling): Document
21145         --disable-mathvec.
21146         * INSTALL: Regenerated.
21147         * NEWS: Mention addition of libmvec and x86_64 vector cos.
21149         * math/Makefile: Added rules for vector tests.
21150         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
21151         declaration under condition.
21152         * math/test-double-vlen2.h: New file.
21153         * math/test-double-vlen4.h: New file.
21154         * math/test-double-vlen8.h: New file.
21155         * math/test-vec-loop.h: Added initialization macro.
21156         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
21157         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
21158         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
21159         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
21160         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
21161         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
21162         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
21163         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
21164         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
21165         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
21166         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
21168         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21169         * sysdeps/x86_64/fpu/Versions: New versions added.
21170         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
21171         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
21172         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
21173         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
21174         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
21175         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
21176         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
21177         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
21178         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
21179         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
21180         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
21181         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
21182         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
21183         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21184         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21185         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21186         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
21187         * NEWS: Mention addition of x86_64 vector cosf.
21189         * math/Makefile: Added CFLAGS for new tests.
21190         * math/test-float-vlen16.h: New file.
21191         * math/test-float-vlen4.h: New file.
21192         * math/test-float-vlen8.h: New file.
21193         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
21194         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
21195         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21196         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
21197         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
21198         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
21199         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
21200         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
21201         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
21202         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
21203         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
21205 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
21207         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
21208         * locale/programs/ld-ctype.c: Likewise.
21210 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
21212         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
21213         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
21214         bit_ZMM16_31_state): New macro.
21215         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21216         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
21218 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
21220         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
21222 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
21224         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
21226 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
21228         [BZ #18498]
21229         * libio/memstream.c (open_memstream): Rename to __open_memstream
21230         and define as weak alias of __open_memstream.
21231         * include/stdio.h (__open_memstream): Declare.  Use
21232         libc_hidden_proto.
21233         (open_memstream): Don't use libc_hidden_proto.
21234         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
21235         open_memstream.
21236         * posix/getopt.c (_getopt_internal_r): Likewise.
21237         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
21238         variable.
21239         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21240         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21241         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21243         [BZ #18496]
21244         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
21245         instead of wcrtomb.
21247         [BZ #18483]
21248         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
21249         [__USE_XOPEN2K8].  Remove redundant #endif.
21250         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
21251         Remove redundant #if.
21252         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
21253         Remove variable.
21254         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21255         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21257         [BZ #18495]
21258         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
21259         (__iswlower): Likewise.
21260         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
21261         (__iswlower): Likewise.
21262         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
21263         instead of towlower.
21264         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
21265         instead of iswlower.  Call __towupper instead of towupper.
21266         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
21267         instead of iswalnum.
21269 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21271         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
21272         errors to stderr.
21274 2015-06-05  Florian Weimer  <fweimer@redhat.com>
21276         [BZ #15661]
21277         [BZ #17322]
21278         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21279         Check for overflow properly.  Check for O_APPEND.  Ignore large
21280         file system block sizes.  Add comments about problems.
21281         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
21282         * manual/filesys.texi (Storage Allocation): New node.
21284 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21286         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
21287         cancellable syscalls.
21288         (SYS_ify): Add guard to no redefine it.
21289         (INLINE_SYSCALL): Likewise.
21290         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
21291         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
21292         SYSCALL_CANCEL instead.
21293         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
21294         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21295         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21296         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21297         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21298         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
21299         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
21300         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
21301         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21302         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21303         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
21304         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
21305         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
21306         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
21307         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
21308         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21309         Likewise.
21310         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21311         (__libc_pread64): Likewise.
21312         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
21313         (__libc_preadv): Likewise.
21314         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
21315         (__libc_readv64): Likewise.
21316         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21317         (__libc_pwrite): Likewise.
21318         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21319         (__libc_pwrite64): Likewise.
21320         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
21321         (__libc_pwritev): Likewise.
21322         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
21323         (__libc_pwritev64): Likewise.
21324         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
21325         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21326         (sync_file_range): Likewise.
21327         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
21328         Likewise.
21329         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
21330         Likewise.
21331         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21332         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21333         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21334         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21335         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21336         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21337         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21338         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
21339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21340         Likewise.
21341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21342         (__libc_read64): Likewise.
21343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
21344         Likewise.
21345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
21346         Likewise.
21347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
21348         Likewise.
21349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
21350         Likewise.
21351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21352         (__libc_pread64): Likewise.
21353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
21354         Likewise.
21355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21356         (__libc_pwrite64): Likewise.
21357         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
21358         (sync_file_range): Likewise.
21359         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
21360         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21361         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21362         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
21363         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
21364         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21365         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21366         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
21367         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
21368         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21369         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21370         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21371         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21372         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21373         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
21374         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21375         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21376         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21377         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21378         Likewise.
21379         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
21380         Likewise.
21381         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
21382         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
21383         Likewise.
21384         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
21385         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
21386         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
21387         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
21388         Likewise.
21389         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
21390         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
21391         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
21392         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
21393         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
21395 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
21397         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
21398         Include dl-vdso.
21399         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
21400         Use VDSO routines for gettimeofday, clock_gettime if
21401         available.
21402         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
21403         Declare VDSO symbols.
21404         * sysdeps/unix/sysv/linux/arm/sysdep.h:
21405         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
21406         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21407         * sysdeps/unix/sysv/linux/arm/Versions: Add
21408         __vdso_clock_gettime.
21410 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21412         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
21413         be an inline implementation regardless of library is built within.
21414         (open_not_cancel_2): Likewise.
21415         (__read_nocancel): Likewise.
21416         (__write_nocancel): Likewise.
21417         (openat_not_cancel): Likewise.
21418         (openat_not_cancel_3): Likewise.
21419         (openat64_not_cancel): Likewise.
21420         (openat64_not_cancel_3): Likewise.
21421         (__close_nocancel): Likewise.
21422         (pause_not_cancel): Likewise.
21423         (nanosleep_not_cancel): Likewise.
21424         (sigsuspend_not_cancel): Likewise.
21426 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21428         [BZ #14958]
21429         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
21430         wake-up.
21431         (__pthread_rwlock_rdlock_slow): Likewise.
21432         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21433         Likewise.
21434         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21435         Likewise.
21436         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
21437         * nptl/tst-rwlock16.c: New file.
21438         * nptl/Makefile (tests): Add new test.
21440 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21442         [BZ #18324]
21443         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
21444         missing wake-up of readers.
21445         * nptl/tst-rwlock15.c: New file.
21446         * nptl/Makefile (tests): Add new test.
21448 2015-06-03  Roland McGrath  <roland@hack.frob.com>
21450         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
21451         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
21452         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
21453         and __nacl_supply_interface_rtld.
21454         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
21455         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
21456         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
21457         Add __nacl_supply_interface_rtld.
21458         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
21460 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21462         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
21463         isfinite.
21464         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21465         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
21467 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21469         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
21470         __signbit* with standard C99 macros.
21471         * math/e_exp10l.c: Likewise.
21472         * math/e_exp2l.c: Likewise.
21473         * math/e_scalb.c: Likewise.
21474         * math/e_scalbf.c: Likewise.
21475         * math/e_scalbl.c: Likewise.
21476         * math/s_ldexp.c: Likewise.
21477         * math/s_ldexpf.c: Likewise.
21478         * math/s_ldexpl.c: Likewise.
21479         * math/w_atan2.c: Likewise.
21480         * math/w_atan2f.c: Likewise.
21481         * math/w_atan2l.c: Likewise.
21482         * math/w_cosh.c: Likewise.
21483         * math/w_coshf.c: Likewise.
21484         * math/w_coshl.c: Likewise.
21485         * math/w_exp10.c: Likewise.
21486         * math/w_exp10f.c: Likewise.
21487         * math/w_exp10l.c: Likewise.
21488         * math/w_exp2.c: Likewise.
21489         * math/w_exp2f.c: Likewise.
21490         * math/w_exp2l.c: Likewise.
21491         * math/w_fmod.c: Likewise.
21492         * math/w_fmodf.c: Likewise.
21493         * math/w_fmodl.c: Likewise.
21494         * math/w_hypot.c: Likewise.
21495         * math/w_hypotf.c: Likewise.
21496         * math/w_hypotl.c: Likewise.
21497         * math/w_jnl.c: Likewise.
21498         * math/w_lgamma.c: Likewise.
21499         * math/w_lgamma_r.c: Likewise.
21500         * math/w_lgammaf.c: Likewise.
21501         * math/w_lgammaf_r.c: Likewise.
21502         * math/w_lgammal.c: Likewise.
21503         * math/w_lgammal_r.c: Likewise.
21504         * math/w_pow.c: Likewise.
21505         * math/w_powf.c: Likewise.
21506         * math/w_powl.c: Likewise.
21507         * math/w_remainder.c: Likewise.
21508         * math/w_remainderf.c: Likewise.
21509         * math/w_remainderl.c: Likewise.
21510         * math/w_scalb.c: Likewise.
21511         * math/w_scalbf.c: Likewise.
21512         * math/w_scalbl.c: Likewise.
21513         * math/w_scalbln.c: Likewise.
21514         * math/w_scalblnf.c: Likewise.
21515         * math/w_scalblnl.c: Likewise.
21516         * math/w_sinh.c: Likewise.
21517         * math/w_sinhf.c: Likewise.
21518         * math/w_sinhl.c: Likewise.
21519         * math/w_tgamma.c: Likewise.
21520         * math/w_tgammaf.c: Likewise.
21521         * math/w_tgammal.c: Likewise.
21522         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21523         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
21524         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21525         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21526         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21527         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21528         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21529         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21530         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21531         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21532         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21533         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21534         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21535         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21536         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21537         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21538         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21539         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21540         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21541         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21542         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21543         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21544         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21545         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21546         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21547         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21548         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
21549         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21550         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21551         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21552         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
21553         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
21554         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
21555         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
21556         * stdio-common/printf_fp.c: Likewise.
21557         * stdio-common/printf_fphex.c: Likewise.
21558         * stdio-common/printf_size.c: Likewise.
21560 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
21562         [BZ #18470]
21563         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
21564         strnlen.
21565         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
21566         Remove variable.
21567         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21568         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21569         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21570         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21571         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21572         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21573         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21574         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21575         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21576         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21578         [BZ #18468]
21579         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
21580         weak alias of __wmemchr.  Use libc_hidden_weak.
21581         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
21582         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
21583         instead of wmemchr.
21585 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21587         [BZ #18383]
21588         * elf/tst-tlsalign-extern.c: New file.
21589         * elf/tst-tlsalign-extern-static.c: New file.
21590         * elf/tst-tlsalign-vars.c: New file.
21591         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
21592         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
21593         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
21594         ($(objpfx)tst-tlsalign-extern-static): Likewise.
21595         (test-xfail-tst-tlsalign-extern-static): New variable.
21597 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
21599         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
21600         Use variable name _sc_err instead of err.
21601         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
21602         instead of ret.
21603         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
21604         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
21605         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
21606         (INLINE_SYSCALL): Likewise.
21608         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
21609         * include/string.h (__strnlen): Use libc_hidden_proto.
21610         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
21611         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
21612         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
21613         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
21614         (libc_hidden_def): Undefine and redefine.
21615         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
21616         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
21617         __GI_strnlen.
21618         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
21619         libc_hidden_def.
21620         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
21622         [BZ #18469]
21623         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
21624         weak alias of __towlower.  Use libc_hidden_weak.
21625         (towupper): Rename to __towupper and define as weak alias of
21626         __towupper.  Use libc_hidden_weak.
21627         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
21628         (__towupper): Likewise.
21629         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
21630         __towlower instead of towlower.
21632 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21634         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
21635         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
21637 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21639         * sysdeps/aarch64/libm-test-ulps: Update.
21641 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21643         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
21644         Define.
21645         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21646         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21647         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21648         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21649         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
21650         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
21651         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
21653 2015-06-01  Martin Sebor  <msebor@redhat.com>
21655         [BZ #18116]
21656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21657         (__setcontext): Use extended four-operand version of mtsf whenever
21658         possible.
21659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21660         (__novec_swapcontext): Likewise.
21662 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21664         * benchtests/scripts/compare_bench.py: New file.
21665         * benchtests/scripts/import_bench.py (mean): New function.
21666         (split_list): Likewise.
21667         (do_for_all_timings): Likewise.
21668         (compress_timings): Likewise.
21670         * benchtests/scripts/import_bench.py: New file.
21671         * benchtests/scripts/validate_benchout.py: Import import_bench
21672         instead of jsonschema.
21673         (validate_bench): Remove function.
21674         (main): Use import_bench.
21676 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
21678         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
21679         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
21681 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21685 2015-05-28  Roland McGrath  <roland@hack.frob.com>
21687         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
21688         set THREAD_SELF->tid to a magic value and futex-wake it.
21689         Pass its address to the thread_exit system call.
21690         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
21691         bit is clear.
21692         * sysdeps/nacl/lowlevellock.h: New file.
21693         * sysdeps/nacl/lll_timedwait_tid.c: New file.
21695         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
21696         Add TIMEOUT to current time, don't subtract it.
21698 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
21700         [BZ #2981]
21701         [BZ #18422]
21702         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
21703         ($(objpfx)tst-audit2.out): Also depend on
21704         $(objpfx)tst-auditmod9b.so.
21705         * elf/tst-audit2.c: Include <dlfcn.h>.
21706         (calloc_called): New.
21707         (calloc): Allow to be called more than once.
21708         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
21710 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
21712         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
21713         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
21715 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
21717         * stdlib/monetary.h: Fix comment.
21719 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
21721         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
21722         Avoid using variables in #defines that might cause shadowing.
21723         (INTERNAL_VSYSCALL_CALL): Likewise.
21725 2015-05-26  Roland McGrath  <roland@hack.frob.com>
21727         * sysdeps/nacl/lll_timedlock_wait.c: New file.
21729         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
21730         * nptl/lll_timedlock_wait.c: ... to this new file.
21731         * nptl/Makefile (libpthread-routines): Add it.
21732         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
21733         * nptl/lll_timedwait_tid.c: ... to this new file.
21734         * nptl/Makefile (libpthread-routines): Add it.
21735         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
21736         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
21737         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
21738         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
21739         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
21740         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
21741         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
21742         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
21743         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
21744         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
21746 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21748         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
21749         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21750         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21751         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
21752         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21753         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21754         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21755         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21756         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21757         * sysdeps/unix/sysv/linux/tile/sysdep.h
21758         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21759         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
21760         using vDSO syscall macro.
21762 2015-05-26  Andriy Rysin  <arysin@gmail.com>
21764         [BZ #17293]
21765         * uk_UA: Fix sorting order for Ukrainian locale
21767 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
21769         * stdlib/monetary.h: Fix comment.
21771 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21773         [BZ #18234]
21774         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
21775         st_mtim and st_ctim members.
21776         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
21777         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
21778         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
21779         (struct stat64): Likewise.
21780         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
21781         (struct stat64): Likewise.
21782         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
21783         (struct stat64): Likewise.
21785 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21787         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
21788         Define and include sysdep-vdso.h.
21789         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
21790         Likewise.
21791         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
21792         Likewise.
21793         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
21794         Define with VDSO_SYMBOL and use PTR_MANGLE.
21795         (__vdso_clock_gettime): Likewise.
21796         (__vdso_clock_getres): Likewise.
21797         (_libc_vdso_platform_setup): Likewise.
21798         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21799         Likewise.
21800         (_libc_vdso_platform_setup): Likewise.
21801         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
21802         Likewise.
21803         (__vdso_clock_gettime): Likewise.
21804         (__vdso_clock_getres): Likewise.
21805         (__vdso_get_tbfreq): Likewise.
21806         (__vdso_getcpu): Likewise.
21807         (__vdso_time): Likewise.
21808         (__vdso_sigtramp_rt64): Likewise.
21809         (__vdso_signtramp32): Likewise.
21810         (__vdso_sigtramp_rt32): Likewise.
21811         (_libc_vdso_platform_setup): Likewise.
21812         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
21813         Likewise.
21814         (__vdso_clock_gettime): Likewise.
21815         (__vdso_clock_getres): Likewise.
21816         (_libc_vdso_platform_setup): Likewise.
21817         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
21818         Likewise.
21819         (__vdso_clock_gettime): Likewise.
21820         (_libc_vdso_platform_setup): Likewise.
21821         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21822         Likewise.
21823         (__vdso_getcpu): Likewise.
21824         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
21825         Use VDSO_SYMBOL macro to define.
21826         (__vdso_clock_gettime): Likewise.
21827         (__vdso_clock_getres): Likewise.
21828         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
21829         Likewise.
21830         (__vdso_clock_gettime): Likewise.
21831         (__vdso_clock_getres): Likewise.
21832         (__vdso_get_tbfreq): Likewise.
21833         (__vdso_getcpu): Likewise.
21834         (__vdso_time): Likewise.
21835         (__vdso_sigtramp_rt64): Likewise.
21836         (__vdso_signtramp32): Likewise.
21837         (__vdso_sigtramp_rt32): Likewise.
21838         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
21839         Likewise.
21840         (__vdso_clock_gettime): Likewise.
21841         (__vdso_clock_getres): Likewise.
21842         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
21843         Likewise.
21844         (__vdso_clock_gettime): Likewise.
21845         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21846         Likewise.
21847         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
21848         macro.
21849         (INTERNAL_VSYSCALL): Likewise.
21850         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
21851         Remove macro.
21852         (INTERNAL_VSYSCALL): Likewise.
21853         (INTERNAL_VSYSCALL_NCS): Likewise.
21854         (INTERNAL_VSYSCALL_CALL): New macro.
21855         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21856         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
21857         Likewise.
21858         (INTERNAL_VSYSCALL): Likewise.
21859         (INTERNAL_VSYSCALL_NCS): Likewise.
21860         (INTERNAL_VSYSCALL_CALL): New macro.
21861         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21863         (INLINE_VSYSCALL): Remove macro.
21864         (INTERNAL_VSYSCALL): Remove macro.
21865         (INTERNAL_VSYSCALL_NCS): Remove macro.
21866         (INTERNAL_VSYSCALL_CALL): New macro.
21867         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
21868         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
21869         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21870         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
21871         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21873         (INLINE_VSYSCALL): Remove macro.
21874         (INTERNAL_VSYSCALL): Likewise.
21875         (INTERNAL_VSYSCALL_NCS): Likewise.
21876         (INTERNAL_VSYSCALL_CALL): New macro.
21877         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
21878         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21879         PTR_DEMANGLE on vDSO pointer.
21880         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21881         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21882         macro.
21883         (INTERNAL_SYSCALL): Likewise.
21884         (INTERNAL_VSYSCALL_NCS): Remove macro.
21885         (INTERNAL_VSYSCALL_CALL): New macro.
21886         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21887         Remove macro.
21888         (INTERNAL_VSYSCALL): Likewise.
21889         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
21890         sysdep-vdso.h instead of libc-vdso.h.
21891         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
21892         definition.
21893         (INLINE_VSYSCALL): Likewise.
21894         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
21895         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
21896         definition.
21897         (INLINE_VSYSCALL): Likewise.
21898         (INTERNAL_VSYSCALL): Likewise.
21899         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21900         * sysdeps/unix/sysv/linux/timespec_get.c
21901         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21902         (timespec_get): Use ANSI prototype.
21903         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
21904         and definition for Linux.
21906 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21908         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
21909         * include/libc-symbols.h: libmvec_hidden_* macro series added.
21911 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21913         [BZ #2981]
21914         [BZ #18410]
21915         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
21916         for missing DT_PLTRELSZ.
21918 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21920         Remove obsolete aliases that broke 'locale -a'
21921         [BZ #18412]
21922         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
21923         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
21924         breaking some applications that use 'locale -a' output.
21925         Change the encoding of this file from Latin-1 to ASCII to avoid
21926         other potential problems with people grepping this file.
21928 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21930         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
21931         -fasynchronous-unwind-tables.
21932         (CFLAGS-sendto.c): Likewise.
21933         (CFLAGS-sendmsg.c): Likewise.
21934         (CFLAGS-connect.c): Likewise.
21935         (CFLAGS-recvmsg.c): Likewise.
21936         (CFLAGS-recvfrom.c): Likewise.
21937         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
21938         (SOCKETCALL): New macro: non-cancellable socketcall.
21939         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
21940         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
21941         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
21942         * sysdeps/unix/sysv/linux/accept.c: New file.
21943         * sysdeps/unix/sysv/linux/bind.c: Likewise.
21944         * sysdeps/unix/sysv/linux/connect.c: Likewise.
21945         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
21946         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
21947         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
21948         * sysdeps/unix/sysv/linux/listen.c: Likewise.
21949         * sysdeps/unix/sysv/linux/recv.c: Likewise.
21950         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
21951         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
21952         * sysdeps/unix/sysv/linux/send.c: Likewise.
21953         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
21954         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
21955         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
21956         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
21957         * sysdeps/unix/sysv/linux/socket.c: Likewise.
21958         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
21959         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
21960         prototype.
21961         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
21962         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21963         instead of __internal_xxx function.
21964         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
21965         prototype.
21966         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
21967         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21968         instead of __internal_xxx function.
21969         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
21970         prototype.
21971         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
21972         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21973         instead of __internal_xxx function.
21974         * sysdeps/unix/sysv/linux/accept.S: Remove file.
21975         * sysdeps/unix/sysv/linux/bind.S: Likewise.
21976         * sysdeps/unix/sysv/linux/connect.S: Likewise.
21977         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
21978         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
21979         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
21980         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
21981         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
21982         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
21983         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
21984         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
21985         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21986         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
21987         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
21988         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
21989         * sysdeps/unix/sysv/linux/listen.S: Likewise.
21990         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
21991         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
21992         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
21993         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
21994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
21995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
21996         * sysdeps/unix/sysv/linux/recv.S: Likewise.
21997         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
21998         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
21999         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
22000         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22001         * sysdeps/unix/sysv/linux/send.S: Likewise.
22002         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
22003         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
22004         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
22005         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
22006         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
22007         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
22008         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
22009         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
22010         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
22011         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
22012         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
22013         socketcall is implemented in GLIBC.
22015 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22017         * soft-fp/fmadf4.c: Include <libc-internal.h>.
22018         (__fma): Ignore uninitialized warnings around packing.
22019         * soft-fp/fmasf4.c: Include <libc-internal.h>.
22020         (__fmaf): Ignore uninitialized warnings around packing.
22021         * soft-fp/fmatf4.c: Include <libc-internal.h>.
22022         (__fmal): Ignore uninitialized warnings around packing.
22024         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
22025         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22026         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
22027         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22029         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
22030         switch statement into default case.
22031         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
22033         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
22034         a conditional in forcing "inexact".
22035         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22036         Likewise.
22038 2015-05-22  Roland McGrath  <roland@hack.frob.com>
22040         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22041         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
22042         for each INTERNAL_SYSCALL use.
22044 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22046         [BZ #438]
22047         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
22048         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
22049         variable.
22051         [BZ #18444]
22052         * string/basename.c (basename): Rename to __basename and define as
22053         weak alias of __basename.  Use libc_hidden_weak.
22054         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
22055         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
22056         __basename instead of basename.
22057         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
22058         Remove variable.
22059         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
22061 2015-05-18  Florian Weimer  <fweimer@redhat.com>
22063         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
22064         (_IO_JUMPS_FILE_plus): New.
22065         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
22066         _IO_CAST_FIELD_ACCESS.
22067         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
22068         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
22069         * libio/freopen.c (freopen): Likewise.
22070         * libio/freopen64.c (freopen64): Likewise.
22071         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
22072         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
22073         * libio/iofwide.c (_IO_fwide): Likewise.
22074         * libio/memstream.c (open_memstream): Likewise.
22075         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22076         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22077         * libio/oldiopopen.c (_IO_old_popen): Likewise.
22079 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
22081         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
22082         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
22083         NADJ.
22084         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
22085         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
22086         NADJ.
22087         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
22088         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
22089         NADJ.
22091         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
22092         (p == 4) case.
22094         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
22095         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
22096         Remove variable.
22097         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22098         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22099         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22101 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22103         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
22104         Adjust jump table label generation macros.
22106 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22108         * stdio-common/vfprintf.c (vfprintf): Move local variables
22109         args_malloced, specs, specs_malloced, and the code after
22110         do_positional to the printf_positional function.
22111         (printf_positional): New function.
22113 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22115         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
22116         function.
22117         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
22118         STEP4_TABLE, process_arg): Move macro definitions
22119         out of the vfprintf function.  (Cosmetic change only.)
22121 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
22123         * benchtests/Makefile (stdio-common-bench): Define.
22124         (benchset): Add stdio-common-bench.
22125         * sprintf-inputs: New file.
22126         * sprintf-source.c: New file.
22128 2015-05-21  Andreas Schwab  <schwab@suse.de>
22130         [BZ #13028]
22131         [BZ #17053]
22132         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
22133         of struct __res_state.
22134         * resolv/res_send.c (__libc_res_nsend): Likewise.
22135         (get_nsaddr): New function.
22136         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
22137         statp directly.
22139 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
22141         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
22142         -D_POSIX_C_SOURCE=199506L.
22144         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
22146         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
22147         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
22148         Do not mention otherwise.
22149         [POSIX] (_XOPEN_VERSION): Do not expect.
22150         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
22151         [POSIX] (_POSIX2_C_BIND): Likewise.
22152         [POSIX] (_POSIX2_VERSION): Likewise.
22153         [POSIX] (_XOPEN_XPG2): Likewise.
22154         [POSIX] (_XOPEN_XPG3): Likewise.
22155         [POSIX] (_XOPEN_XPG4): Likewise.
22156         [POSIX] (_XOPEN_UNIX): Likewise.
22157         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
22158         [POSIX] (_POSIX_BARRIERS): Likewise.
22159         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
22160         [POSIX] (_POSIX_CPUTIME): Likewise.
22161         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
22162         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
22163         [POSIX] (_POSIX_SHELL): Likewise.
22164         [POSIX] (_POSIX_SPAWN): Likewise.
22165         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
22166         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
22167         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
22168         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
22169         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
22170         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
22171         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
22172         [POSIX] (_XBS5_LP64_OFF64): Likewise.
22173         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
22174         [POSIX] (_POSIX_TIMEOUTS): Likewise.
22175         [POSIX] (_POSIX2_PBS): Likewise.
22176         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
22177         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
22178         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
22179         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
22180         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
22181         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
22182         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
22183         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
22184         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
22185         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
22186         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
22187         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
22188         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
22189         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
22190         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
22191         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
22192         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
22193         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
22194         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
22195         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
22196         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
22197         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
22198         [POSIX] (_SC_2_C_BIND): Likewise.
22199         [POSIX] (_SC_2_C_VERSION): Likewise.
22200         [POSIX] (_SC_2_PBS): Likewise.
22201         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
22202         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
22203         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
22204         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
22205         [POSIX] (_SC_2_PBS_TRACK): Likewise.
22206         [POSIX] (_SC_ATEXIT_MAX): Likewise.
22207         [POSIX] (_SC_BARRIERS): Likewise.
22208         [POSIX] (_SC_BASE): Likewise.
22209         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
22210         [POSIX] (_SC_DEVICE_IO): Likewise.
22211         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
22212         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
22213         [POSIX] (_SC_FD_MGMT): Likewise.
22214         [POSIX] (_SC_FIFO): Likewise.
22215         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
22216         [POSIX] (_SC_FILE_LOCKING): Likewise.
22217         [POSIX] (_SC_FILE_SYSTEM): Likewise.
22218         [POSIX] (_SC_IOV_MAX): Likewise.
22219         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
22220         [POSIX] (_SC_NETWORKING): Likewise.
22221         [POSIX] (_SC_PAGE_SIZE): Likewise.
22222         [POSIX] (_SC_PASS_MAX): Likewise.
22223         [POSIX] (_SC_PIPE): Likewise.
22224         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
22225         [POSIX] (_SC_REGEXP): Likewise.
22226         [POSIX] (_SC_SHELL): Likewise.
22227         [POSIX] (_SC_SIGNALS): Likewise.
22228         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
22229         [POSIX] (_SC_SPIN_LOCKS): Likewise.
22230         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
22231         [POSIX] (_SC_USER_GROUPS): Likewise.
22232         [POSIX] (_SC_USER_GROUPS_R): Likewise.
22233         [POSIX] (_SC_STREAMS): Likewise.
22234         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
22235         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
22236         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
22237         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
22238         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
22239         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
22240         [POSIX] (_PC_FILESIZEBITS): Likewise.
22241         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
22242         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
22243         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
22244         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
22245         [POSIX] (uid_t): Likewise.
22246         [POSIX] (gid_t): Likewise.
22247         [POSIX] (off_t): Likewise.
22248         [POSIX] (pid_t): Likewise.
22249         [POSIX] (cuserid): Allow.
22250         (_SC_2_CHAR_TERM): Require constant.
22251         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
22252         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
22253         variable.
22255 2015-05-20  Roland McGrath  <roland@hack.frob.com>
22257         * sysdeps/nacl/pthread-pids.h: New file.
22258         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
22259         (create_thread): Use __nacl_get_tid to initialize PD->tid.
22261         * nptl/pthread-pids.h: New file.
22262         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
22263         * nptl/nptl-init.c: Include <pthread-pids.h>.
22264         (__pthread_initialize_minimal_internal):
22265         Call __pthread_initialize_pids instead of set_tid_address syscall.
22267         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
22268         * sysdeps/posix/usleep.c: ... here.
22270 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22272         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
22273         call_pselect6 object.
22274         [$(subdir) = io]: Remove call_sync_file_range object.
22275         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
22276         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
22277         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
22278         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
22280 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
22282         * math/s_cproj.c: Add include "math_private.h".
22283         * math/s_cprojf.c: Likewise.
22284         * math/s_cprojl.c: Likewise.
22286 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
22288         [BZ #18244]
22289         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
22290         high mantissa bit when testing whether P is a NaN.
22291         * math/libm-test.inc (remainder_test_data): Add more tests.
22292         (remquo_test_data): Likewise.
22294         [BZ #18049]
22295         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
22296         below -32, return the argument, with underflow if subnormal.
22297         * math/auto-libm-test-in: Add more tests of atanh.
22298         * math/auto-libm-test-out: Regenerated.
22300 2015-05-19  Roland McGrath  <roland@hack.frob.com>
22302         [BZ #18434]
22303         * nptl/tst-sem15.c: New file.
22304         * nptl/Makefile (tests): Add it.
22305         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
22306         s/<</>>/ to fix typo in EOVERFLOW check.
22307         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
22309 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22311         * manual/strings.texi (envz_remove): Fix typo in safety
22312         annotations.
22314 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
22315             Steve Ellcey  <sellcey@imgtec.com>
22317         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
22318         in order to avoid strict alias warnings.
22319         (iruserok_af): Ditto for ra.
22321 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
22323         [BZ #17581]
22324         * malloc/hooks.c
22325         (magicbyte): Convert to a function and avoid returning 0x01.
22326         (mem2mem_check): Avoid using a length byte equal to the magic byte.
22327         (mem2chunk_check): Fix unsigned comparisons to zero.
22328         Hoist defs of sz and magic.
22330 2015-05-19  Richard Henderson  <rth@redhat.com>
22332         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
22334         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22336 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22338         [BZ #16159]
22339         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
22340         * malloc/arena.c (arena_lock): Check if arena is corrupt.
22341         (reused_arena): Find a non-corrupt arena.
22342         (heap_trim): Pass arena to unlink.
22343         * malloc/hooks.c (malloc_check_get_size): Pass arena to
22344         malloc_printerr.
22345         (top_check): Likewise.
22346         (free_check): Likewise.
22347         (realloc_check): Likewise.
22348         * malloc/malloc.c (malloc_printerr): Add arena argument.
22349         (unlink): Likewise.
22350         (munmap_chunk): Adjust.
22351         (ARENA_CORRUPTION_BIT): New macro.
22352         (arena_is_corrupt): Likewise.
22353         (set_arena_corrupt): Likewise.
22354         (sysmalloc): Use mmap if there are no usable arenas.
22355         (_int_malloc): Likewise.
22356         (__libc_malloc): Don't fail if arena_get returns NULL.
22357         (_mid_memalign): Likewise.
22358         (__libc_calloc): Likewise.
22359         (__libc_realloc): Adjust for additional argument to
22360         malloc_printerr.
22361         (_int_free): Likewise.
22362         (malloc_consolidate): Likewise.
22363         (_int_realloc): Likewise.
22364         (_int_memalign): Don't touch corrupt arenas.
22365         * malloc/tst-malloc-backtrace.c: New test case.
22367         * Makefile (summarize-tests): Fix return value on success.
22369         * manual/string.texi (Envz Functions): Add envz_remove.
22371 2015-05-18  Roland McGrath  <roland@hack.frob.com>
22373         * sysdeps/posix/opendir.c: Include <stdbool.h>.
22374         (invalid_name): New function, broken out of ...
22375         (__opendirat): ... here.  Call it.
22376         (need_isdir_precheck): New function, broken out of ...
22377         (__opendirat): ... here.  Call it.
22378         Use __fxstatat64, not __xstatat64.
22379         (opendir_oflags): New function, broken out of ...
22380         (__opendirat): ... here.  Call it.
22381         (opendir_tail): New function, broken out of ...
22382         (__opendirat): ... here.  Call it.
22383         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
22384         opendir_tail, rather than punting to __opendirat.
22385         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
22387 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22389         * .gitignore: Ignore generated *.pyc.
22391 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
22393         * include/stdio.h: Define __need_wint_t.
22394         * test-skeleton.c: Avoid `for' loop initial declaration.
22395         * nptl/tst-initializers1.c: Use test-skeleton.c.
22397 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22399         [BZ #18418]
22400         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
22402 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22404         [BZ #16352]
22405         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
22406         (__ieee754_atanh): Force underflow exception for results with
22407         small absolute value.
22408         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
22409         (__ieee754_atanhf): Force underflow exception for results with
22410         small absolute value.
22411         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
22412         (__ieee754_atanh): Force underflow exception for results with
22413         small absolute value.
22414         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
22415         (__ieee754_atanhf): Force underflow exception for results with
22416         small absolute value.
22417         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
22418         (__ieee754_atanhl): Force underflow exception for results with
22419         small absolute value.
22420         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
22421         (__ieee754_atanhl): Force underflow exception for results with
22422         small absolute value.
22423         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
22424         (__ieee754_atanhl): Force underflow exception for results with
22425         small absolute value.
22426         * math/auto-libm-test-in: Do not allow missing underflow
22427         exceptions from atanh.
22428         * math/auto-libm-test-out: Regenerated.
22430         [BZ #18221]
22431         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
22432         2**-28 as threshold for returning x or +/- 1/x.
22433         * math/auto-libm-test-in: Add more tests of tan.
22434         * math/auto-libm-test-out: Regenerated.
22436         [BZ #18220]
22437         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22438         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
22439         * math/auto-libm-test-in: Add another test of lgamma.
22440         * math/auto-libm-test-out: Regenerated.
22442 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
22444         * stdio-common/printf_fp.c (___printf_fp): Use abs.
22445         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
22446         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
22447         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
22448         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
22449         (ADD2A): Use fabs.  (SUB2A): Use fabs.
22450         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
22451         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
22452         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
22453         (log1): Use fabs.  (my_log2): Use fabs.
22454         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
22455         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
22456         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
22457         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
22458         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
22459         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
22460         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
22461         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
22462         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
22463         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
22464         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
22466 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22468         [BZ #18217]
22469         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
22470         as threshold for returning 1 - x.
22471         * math/auto-libm-test-in: Add more tests of erfc.
22472         * math/auto-libm-test-out: Regenerated.
22474 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
22476         [BZ #18196]
22477         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
22478         threshold for large arguments.
22479         * math/auto-libm-test-in: Add another test of atan.
22480         * math/auto-libm-test-out: Regenerated.
22482         [BZ #16339]
22483         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
22484         (__log1p): Force underflow exception for results with small
22485         absolute value.
22486         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
22487         (__log1pf): Force underflow exception for results with small
22488         absolute value.
22489         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
22490         (__log1p): Force underflow exception for results with small
22491         absolute value.
22492         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
22493         (__log1pf): Force underflow exception for results with small
22494         absolute value.
22495         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
22496         (__log1pl): Force underflow exception for results with small
22497         absolute value.
22498         * math/auto-libm-test-in: Do not allow missing underflow
22499         exceptions from log1p.
22500         * math/auto-libm-test-out: Regenerated.
22502 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
22503             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22505         [BZ #16704]
22506         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
22508 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
22510         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
22511         (libmvec): New variable.
22512         * configure.ac: Added option for mathvec build.
22513         * configure: Regenerated.
22514         * mathvec/Depend: New file.
22515         * mathvec/Makefile: New file.
22516         * shlib-versions: Added libmvec.
22517         * math/Makefile: Added rule for libm.so installation.
22519         * bits/math-vector.h: New file.
22520         * bits/libm-simd-decl-stubs.h: New header.
22521         * math/Makefile (headers): Added new header
22522         libm-simd-decl-stubs.h.
22523         * math/math.h (__MATHCALL_VEC): New macro.
22525         * math/gen-libm-have-vector-test.sh: Script generates series of macros
22526         for conditions in testing functions.
22527         * math/Makefile: Added call of libm-have-vector-test.sh.
22528         * math/libm-test.inc (HAVE_VECTOR): New macros.
22530         * math/libm-test.inc: START refactored.
22531         * math/test-double.c (TEST_MATHVEC): Add define.
22532         * math/test-float.c: Likewise.
22533         * math/test-idouble.c: Likewise.
22534         * math/test-ifloat.c: Likewise.
22535         * math/test-ildoubl.c: Likewise.
22536         * math/test-ldouble.c: Likewise.
22537         * sysdeps/generic/math-tests-arch.h
22538         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
22539         architecture check.
22541         * math/test-double.c (FUNC_TEST): New macro.
22542         * math/test-float.c: Likewise.
22543         * math/test-idouble.c: Likewise.
22544         * math/test-ifloat.c: Likewise.
22545         * math/test-ildoubl.c: Likewise.
22546         * math/test-ldouble.c: Likewise.
22547         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
22549 2015-05-13  Roland McGrath  <roland@hack.frob.com>
22551         * sysdeps/nacl/fdopendir.c: New file.
22553         * dirent/scandir-tail.c: New file.
22554         * dirent/scandir64-tail.c: New file.
22555         * dirent/Makefile (routines): Add them.
22556         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
22557         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
22558         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
22559         [!SCANDIR] (SCANDIR_TAIL): New macro.
22560         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
22561         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
22562         (SCANDIRAT): Macro removed.
22563         (SCANDIR_TAIL): New macro.
22564         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
22565         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
22566         (SCANDIRAT): Just call __opendirat and __scandir_tail.
22567         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
22568         (READDIR): Macro removed.
22569         (SCANDIR_TAIL): New macro.
22570         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
22571         (SCANDIR_TAIL): New macro.
22573         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
22574         * dirent/scandir-cancel.c: ... to this new file.
22575         * dirent/Makefile (routines): Add it.
22576         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
22577         * sysdeps/unix/sysv/linux/i386/scandir64.c
22578         (SKIP_SCANDIR_CANCEL): Macro removed.
22579         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
22581         * dirent/tst-scandir.c: New file.
22582         * dirent/tst-scandir64.c: New file.
22583         * dirent/Makefile (tests): Add them.
22585 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
22587         [BZ #18409]
22588         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
22590 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22592         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
22593         list.
22595 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
22597         * benchtests/bench-strcoll.c: New benchmark.
22598         * benchtests/Makefile: Generate locales and run benchmark.
22599         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
22600         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22601         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
22602         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
22603         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
22604         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
22605         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
22606         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
22607         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
22608         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
22609         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
22610         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
22611         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
22612         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
22613         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
22614         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
22615         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
22616         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
22617         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
22618         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
22619         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
22620         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
22621         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
22622         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
22624 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
22626         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
22627         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22629 2015-05-12  Roland McGrath  <roland@hack.frob.com>
22631         * posix/uname-values.h: New file.
22632         * posix/uname.c: Include that instead of <config-name.h>.
22633         * sysdeps/nacl/uname-values.h: New file.
22634         * sysdeps/arm/nacl/uname-values.h: New file.
22636 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
22638         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
22639         splitting into fields.
22641 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
22643         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
22644         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
22645         * locale/localeinfo.h: Add enum collation_encoding_type.
22646         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
22647         * programs/ld-collate.c (collate_output): Add encoding type info.
22648         * string/strcoll_l.c (STRDIFF): New function.
22649         * (STRCOLL): Use STRDIFF to skip over equal prefix.
22650         * wcsmbs/wcscoll_l.c: Define STRDIFF.
22652 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
22654         [BZ #18397]
22655         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
22656         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
22657         <fpu_control.h> instead of <math/fpu_control.c>.
22658         * sysdeps/mips/mips32/fpu/Makefile: New file.
22660 2015-05-11  Andreas Schwab  <schwab@suse.de>
22662         [BZ #18007]
22663         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
22664         nss_endgrent.
22665         (_nss_compat_endgrent): Call nss_endgrent.
22666         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
22667         nss_endpwent.
22668         (_nss_compat_endpwent): Call nss_endpwent.
22669         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
22670         needent, call nss_setspent only if non-zero.
22671         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
22672         (internal_endspent): Don't call nss_endspent.
22673         (_nss_compat_endspent): Call nss_endspent.
22674         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
22675         Remove.  All uses removed.
22676         (internal_setent): Remove parameter stayopen, add parameter
22677         stream.  Use it instead of global variable.
22678         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
22679         (internal_endent, internal_getent): Add parameter stream.  Use it
22680         instead of global variable.
22681         (CONCAT(_nss_files_end,ENTNAME))
22682         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
22683         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
22684         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
22685         uses removed.
22686         (internal_setent, internal_endent): Add parameter stream.  Use it
22687         instead of global variable.
22688         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
22689         stream.
22690         (get_next_alias): Add parameter stream.
22691         (_nss_files_getaliasent_r): Pass global stream.
22692         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
22693         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
22694         (_nss_files_gethostbyname4_r): Pass local stream to
22695         internal_setent, internal_getent and internal_endent.  Remove
22696         locking.
22698 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22700         * tst-strfmon1.c (tests): Update expected currency symbol.
22702 2015-05-08  Roland McGrath  <roland@hack.frob.com>
22704         * sysdeps/nacl/gethostname.c: New file.
22706 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
22708         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
22709         and sinh.
22710         * math/auto-libm-test-out: Regenerated.
22711         * sysdeps/i386/fpu/libm-test-ulps: Update.
22712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22714 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
22716         [BZ #18125]
22717         * stdlib/tst-setcontext3.c: New file.
22718         * stdlib/tst-setcontext3.sh: New file.
22719         * stdlib/Makefile (tests): Add tst-setcontext3.
22720         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
22721         to verify test program created output file.
22722         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
22723         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
22724         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
22725         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
22727 2015-05-06  Roland McGrath  <roland@hack.frob.com>
22729         [BZ #18383]
22730         * elf/tst-tlsalign.c: New file.
22731         * elf/tst-tlsalign-static.c: New file.
22732         * elf/tst-tlsalign-lib.c: New file.
22733         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
22734         (tests-static): Add tst-tlsalign-static.
22735         (modules-names): Add tst-tlsalign-lib.
22736         (test-xfail-tst-tlsalign): New variable.
22737         (test-xfail-tst-tlsalign-static): New variable.
22739         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
22740         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
22742 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
22744         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
22745         csqrt, erfc, sin and sincos.
22746         * math/auto-libm-test-out: Regenerated.
22747         * sysdeps/i386/fpu/libm-test-ulps: Update.
22748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22750 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22752         * sysdeps/aarch64/libm-test-ulps: Update.
22754 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
22756         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
22757         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
22758         * math/auto-libm-test-out: Regenerated.
22759         * sysdeps/i386/fpu/libm-test-ulps: Update.
22760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22762 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22764         [BZ #18265]
22765         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
22766         (wcsncpy): Likewise.
22768 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22770         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22771         Assume __ASSUME_FALLOCATE is always true.
22772         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22773         (__posix_fallocate64_l64): Likweise.
22774         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
22775         (posix_fallocate): Likewise.
22776         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
22777         (__posix_fallocate64_l64): Likewise.
22778         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22779         [!__ASSUME_FALLOCATE]: Add comment.
22781 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22783         * sysdeps/unix/sysv/linux/i386/Makefile
22784         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
22785         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
22786         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
22787         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22788         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22789         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
22790         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
22792 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
22794         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
22795         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
22796         tgamma.
22797         * math/auto-libm-test-out: Regenerated.
22798         * sysdeps/i386/fpu/libm-test-ulps: Update.
22799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22801 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22803         * math/auto-libm-test-in: Add more tests of tgamma.
22804         * math/auto-libm-test-out: Regenerated.
22805         * sysdeps/i386/fpu/libm-test-ulps: Update.
22806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22808         * math/auto-libm-test-in: Add more tests of tanh.
22809         * math/auto-libm-test-out: Regenerated.
22810         * sysdeps/i386/fpu/libm-test-ulps: Update.
22811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22813         * math/auto-libm-test-in: Add more tests of tan.
22814         * math/auto-libm-test-out: Regenerated.
22815         * sysdeps/i386/fpu/libm-test-ulps: Update.
22816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22818         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
22819         * math/auto-libm-test-out: Regenerated.
22820         * sysdeps/i386/fpu/libm-test-ulps: Update.
22821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22823         * math/auto-libm-test-in: Add another test of pow.
22824         * math/auto-libm-test-out: Regenerated.
22825         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22827         * math/auto-libm-test-in: Add more tests of lgamma.
22828         * math/auto-libm-test-out: Regenerated.
22829         * sysdeps/i386/fpu/libm-test-ulps: Update.
22830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22832         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
22833         log1p.
22834         * math/auto-libm-test-out: Regenerated.
22835         * sysdeps/i386/fpu/libm-test-ulps: Update.
22836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22838 2015-05-01  Mark Wielaard  <mjw@redhat.com>
22840         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
22841         Elf64_Chdr structs and ELFCOMPRESS constants.
22843 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22845         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
22846         expm1.
22847         * math/auto-libm-test-out: Regenerated.
22848         * sysdeps/i386/fpu/libm-test-ulps: Update.
22849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22851         * math/auto-libm-test-in: Add more tests of erf and erfc.
22852         * math/auto-libm-test-out: Regenerated.
22853         * sysdeps/i386/fpu/libm-test-ulps: Update.
22854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22856 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22858         * config.h.in (HAVE_AARCH64_BE): Add.
22860 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
22862         * math/auto-libm-test-in: Add more tests of csqrt.
22863         * math/auto-libm-test-out: Regenerated.
22864         * sysdeps/i386/fpu/libm-test-ulps: Update.
22865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22867         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22868         * math/auto-libm-test-out: Regenerated.
22869         * sysdeps/i386/fpu/libm-test-ulps: Update.
22870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22872         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
22874 2015-04-29  Roland McGrath  <roland@hack.frob.com>
22876         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
22877         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
22879         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22880         (euidaccess, eaccess): Define as weak aliases.
22882         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22883         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
22884         but __suseconds_t is often 'long int' so some sources assume that
22885         type is being used (e.g. they use %ld to print tv_usec).
22887 2015-04-29  Florian Weimer  <fweimer@redhat.com>
22889         [BZ #18007]
22890         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
22891         (CVE-2014-8121)
22892         * nss/tst-nss-getpwent.c: New file.
22893         * nss/Makefile (tests): Add new test.
22895 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
22897         [BZ #18346]
22898         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
22899         exponents less than 48 as cases where high part of mantissa needs
22900         examining to determine whether argument is integral.
22901         * math/libm-test.inc (round_test_data): Add more tests.
22903 2015-04-28  Mark Wielaard  <mjw@redhat.com>
22905         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
22907 2015-04-27  David S. Miller  <davem@davemloft.net>
22909         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
22910         __tls_get_addr.
22911         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22913 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
22915         [BZ#18333]
22916         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
22918 2015-04-27  Florian Weimer  <fweimer@redhat.com>
22920         [BZ#18333]
22921         * time/tzset.c (parse_tzname): Return error on memory allocation
22922         failure.
22923         * test-skeleton.c (struct temp_name_list): Change type of name
22924         member to non-const.
22925         (add_temp_file): Create a copy of the file name.
22926         (delete_temp_files): Deallocate memory.
22927         (create_temp_file): Add comment.
22929 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22931         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
22932         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
22934 2015-04-24  Roland McGrath  <roland@hack.frob.com>
22936         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
22937         * sysdeps/arm/configure: Regenerated.
22939 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22941         [BZ #17715]
22942         * time/tzfile.c (__tzfile_read): Check for large values of
22943         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
22944         * time/tzset.c (__tzstring_len): New function, based on the old
22945         __tzstring function.
22946         (__tzstring): Call __tzstring_len.
22947         (parse_tzname): New helper function extracted from
22948         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
22949         the input string.
22950         (parse_offset): New helper function extracted from
22951         __tzset_parse_tz.  Replace switch with fallthrough with
22952         initialization before sscanf.
22953         (parse_rule): Likewise.
22954         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
22955         new-style function definition.
22956         * timezone/Makefile (tests): Add tst-tzset.
22957         (tst-tzset.out): Dependencies on time zone files.
22958         (tst-tzset-ENV): Set TZDIR.
22959         (testdata/XT%): Copy crafted time zone files.
22960         * timezone/README: Mention crafted time zone files.
22961         * timezone/testdata/XT1, timezone/testdata/XT2,
22962         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
22963         files.
22964         * timezone/tst-tzset.c: New test.
22966 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22968         * Makeconfig (+gccwarn): Remove -Winline.
22970 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22972         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
22974 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22976         * NEWS: Mention sysconf() cache information support for s390.
22977         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
22979 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
22981         * math/k_casinh.c (__kernel_casinh): Use __copysign.
22982         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
22983         (__nearbyint): Likewise.
22984         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
22985         (copysignl): Likewise.
22987 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
22989         [BZ #18287]
22990         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
22991         based on padding.  (CVE-2015-1781)
22993 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22995         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
22996         libc-vdso.h.
22997         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
22998         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
22999         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
23000         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23001         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23002         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
23003         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
23004         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23005         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23006         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
23007         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23008         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23009         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23010         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
23011         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23012         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
23013         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
23014         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
23015         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
23016         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
23017         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
23018         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
23019         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
23021 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
23023         * stdlib/setenv.c (__add_to_environ):
23024         Dump core quickly if setenv (..., NULL, ...) is called.
23025         This time, do it the right way, and pacify GCC with a pragma.
23027 2015-04-17  Roland McGrath  <roland@hack.frob.com>
23029         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
23030         IMAP->l_prev cannot be null, and #if out the code for the contrary
23031         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
23032         believe that NS (&_dl_ns[NSID]) could point outside the array.
23034         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
23035         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
23036         before using NSID as an index.
23038 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
23040         [BZ #17825]
23041         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
23042         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
23043         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23045 2015-04-17  Roland McGrath  <roland@hack.frob.com>
23047         Add preliminary port to Google Native Client on ARM.
23048         * abi-tags (.*-.*-nacl.*): New entry.
23049         * sysdeps/arm/nacl: New directory.
23050         * sysdeps/nacl: New directory.
23052 2015-04-16  David S. Miller  <davem@davemloft.net>
23054         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
23055         lowlevellock-futex.h
23057 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
23059         * sysdeps/tile/configure.ac: New file.
23060         * sysdeps/tile/configure: Regenerated.
23062 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23064         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
23065         conditionals for weak_alias and libc_hidden_weak.
23066         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
23067         libc_hidden_weak and weak_alias.
23068         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
23069         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
23070         and weak_alias for static one.
23072 2015-04-15  David S. Miller  <davem@davemloft.net>
23074         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23076 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23078         [BZ #18206]
23079         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
23080           Use signed comparision instead of substraction to avoid
23081           overflow bug.
23082         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
23083           Take the sign of ret.
23084         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
23085           Do not expect precise return values. Only the sign matters.
23086         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
23087         * wcsmbs/test-wcsncmp.c: New File.
23088         * string/test-strncmp.c: Add wcsncmp support.
23090 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23092         [BZ #6792]
23093         * math/w_log1p.c: New file.
23094         * math/w_log1pf.c: Likewise.
23095         * math/w_log1pl.c: Likewise.
23096         * math/Makefile (libm-calls): Add w_log1p.
23097         * math/s_log1pl.c (log1pl): Remove weak_alias.
23098         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
23099         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
23100         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
23101         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
23102         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
23103         [NO_LONG_DOUBLE] (log1pl): Likewise.
23104         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
23105         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
23106         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
23107         (log1p): Remove long_double_symbol.
23108         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
23109         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
23110         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
23111         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
23112         remove weak_alias for corresponding log1p function.
23113         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
23114         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
23115         * sysdeps/ia64/fpu/w_log1p.c: New file.
23116         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
23117         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
23118         * math/libm-test.inc (log1p_test_data): Add errno expectations.
23120 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
23122         [BZ #18247]
23123         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
23124         decimal exponent by 1.
23125         * stdlib/tst-strtod-round-data: Add more tests.
23126         * stdlib/tst-strtod-round.c (tests): Regenerated.
23128 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
23130         * math/auto-libm-test-in: Add more tests of clog and clog10.
23131         * math/auto-libm-test-out: Regenerated.
23132         * sysdeps/i386/fpu/libm-test-ulps: Update.
23133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23135 2015-04-09  Roland McGrath  <roland@hack.frob.com>
23137         * Makeconfig (module-cppflags): Exclude all .v.i files.
23138         (skip-module-cppflags): Variable removed.
23140         * configure.ac (libc_config_ok): Initialize before reading
23141         preconfigure scripts, not after.
23142         * configure: Regenerated.
23144         * test-skeleton.c (TIMEOUT): Move #define to top level.
23145         (main): Grok environment variable TEST_DIRECT.  If set, print
23146         test expectation details into that file and then behave as if
23147         given --direct.
23149 2015-04-09  Florian Weimer  <fweimer@redhat.com>
23151         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
23152         warning on 32-bit.
23154 2015-04-08  David S. Miller  <davem@davemloft.net>
23156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23158 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23160         * math/auto-libm-test-in: Add more tests of atanh.
23161         * math/auto-libm-test-out: Regenerated.
23162         * sysdeps/i386/fpu/libm-test-ulps: Update.
23163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23165         * math/auto-libm-test-in: Add more tests of atan.
23166         * math/auto-libm-test-out: Regenerated.
23167         * sysdeps/i386/fpu/libm-test-ulps: Update.
23168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23170 2015-04-08  Florian Weimer  <fweimer@redhat.com>
23172         * elf/pldd.c (main): Rewrite to use struct
23173         scratch_buffer instead of extend_alloca.
23174         * elf/pldd-xx.c (find_maps): Likewise.
23175         * grp/initgroups.c: Include <scratch_buffer.h> instead of
23176         <alloca.h>.
23177         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
23178         scratch_buffer instead of extend_alloca.
23179         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
23180         grp/compat-initgroups.c.
23181         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
23182         Rewrite to use struct scratch_buffer instead of extend_alloca.
23183         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
23184         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23186 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23188         * math/auto-libm-test-in: Add more tests of cbrt.
23189         * math/auto-libm-test-out: Regenerated.
23190         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23192         * math/auto-libm-test-in: Add more tests of cabs.
23193         * math/auto-libm-test-out: Regenerated.
23194         * sysdeps/i386/fpu/libm-test-ulps: Update.
23195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23197         [BZ #18210]
23198         [BZ #18211]
23199         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
23200         (__ieee754_atan2): Set FE_TONEAREST mode for internal
23201         computations.
23202         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
23203         clog10.
23204         * math/auto-libm-test-out: Regenerated.
23205         * sysdeps/i386/fpu/libm-test-ulps: Update.
23206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23208         [BZ #18197]
23209         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
23210         (atan): Set FE_TONEAREST mode for internal computations.
23211         * math/auto-libm-test-in: Add more tests of atan.
23212         * math/auto-libm-test-out: Regenerated.
23214 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
23216         [BZ #17930]
23217         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
23219 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23221         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
23223 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23225         * include/scratch_buffer.h: New file.
23226         * malloc/scratch_buffer_grow.c: Likewise.
23227         * malloc/scratch_buffer_grow_preserve.c: Likewise.
23228         * malloc/scratch_buffer_set_array_size.c: Likewise.
23229         * malloc/tst-scratch_buffer.c: Likewise.
23230         * malloc/Makefile (routines): Add scratch_buffer_grow.
23231         (tests): Add test case.
23232         * malloc/Versions (GLIBC_PRIVATE): Export
23233         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
23234         __libc_scratch_buffer_set_array_size.
23236 2015-04-06  Richard Henderson  <rth@redhat.com>
23238         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
23239         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23241         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
23242         unsigned int before printing.
23244 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23246         [BZ #17596]
23247         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
23248         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23250 2015-04-02  Florian Weimer  <fweimer@redhat.com>
23252         * include/libc-internal.h (libc_max_align_t): Define.
23254 2015-04-02  Andreas Schwab  <schwab@suse.de>
23256         [BZ #16850]
23257         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
23259 2015-04-02  Mel Gorman  <mgorman@suse.de>
23261         [BZ #17195]
23262         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
23263         as well as the main arena.
23265 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23267         [BZ #18185]
23268         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
23269         sharing L2 cache to 2 for Silvermont/Knights Landing.
23271 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23273         [BZ #17711]
23274         * config.make.in (have-protected-data): New.
23275         * configure.ac: Check linker support for protected data symbol.
23276         * configure: Regenerated.
23277         * elf/Makefile (modules-names): Add tst-protected1moda and
23278         tst-protected1modb if $(have-protected-data) is yes.
23279         (tests): Add tst-protected1a and tst-protected1b if
23280         $(have-protected-data) is yes.
23281         ($(objpfx)tst-protected1a): New.
23282         ($(objpfx)tst-protected1b): Likewise.
23283         (tst-protected1modb.so-no-z-defs): Likewise.
23284         * elf/tst-protected1a.c: New file.
23285         * elf/tst-protected1b.c: Likewise.
23286         * elf/tst-protected1mod.h: Likewise.
23287         * elf/tst-protected1moda.c: Likewise.
23288         * elf/tst-protected1modb.c: Likewise.
23290 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23292         [BZ #17711]
23293         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
23294         indicates it is called from do_lookup_x on relocation against
23295         protected data, skip the data definion in the executable from
23296         copy reloc.
23297         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
23298         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
23299         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
23300         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
23301         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
23302         otherwise to 0.
23303         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23304         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
23305         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
23306         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23307         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
23308         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
23310 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
23312         * sysdeps/nptl/pthread.h: Remove duplicate definition of
23313         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
23315 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
23317         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
23318         THREAD_SETMEM_NC.
23319         * sysdeps/x86_64/nptl/tls.h: Ditto.
23321 2015-03-27  Roland McGrath  <roland@hack.frob.com>
23323         * dlfcn/tststatic.c (main): Converted to ...
23324         (do_test): ... this.
23325         (TEST_FUNCTION): New macro.
23326         Include test-skeleton.c.
23328 2015-03-26  Alan Modra  <amodra@gmail.com>
23330         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
23331         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
23332         zero for undefined weak.
23333         (elf_machine_plt_conflict): Similarly.
23335 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23337         * math/auto-libm-test-in: Add more tests of acosh, asinh and
23338         atanh.
23339         * math/auto-libm-test-out: Regenerated.
23340         * sysdeps/i386/fpu/libm-test-ulps: Update.
23341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23343         * math/auto-libm-test-in: Add another test of asin.
23344         * math/auto-libm-test-out: Regenerated.
23345         * sysdeps/i386/fpu/libm-test-ulps: Update.
23346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23348         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
23349         Remove macro.
23350         (LLL_EBX_REG): Likewise.
23351         (LLL_ENTER_KERNEL): Likewise.
23353         * math/auto-libm-test-in: Add more tests of asin.
23354         * math/auto-libm-test-out: Regenerated.
23355         * sysdeps/i386/fpu/libm-test-ulps: Update.
23356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23358         [BZ #18138]
23359         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
23360         libc_do_syscall_args): New structure.
23361         (INTERNAL_SYSCALL_MAIN_0): New macro.
23362         (INTERNAL_SYSCALL_MAIN_1): Likewise.
23363         (INTERNAL_SYSCALL_MAIN_2): Likewise.
23364         (INTERNAL_SYSCALL_MAIN_3): Likewise.
23365         (INTERNAL_SYSCALL_MAIN_4): Likewise.
23366         (INTERNAL_SYSCALL_MAIN_5): Likewise.
23367         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
23368         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
23369         Replace conditional definitions by conditional definitions of ....
23370         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
23371         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
23372         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
23373         (libpthread-sysdep_routines): Add libc-do-syscall.
23374         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
23375         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
23376         to __NR_futex not 240.
23378 2015-03-25  Alan Modra  <amodra@gmail.com>
23380         * NEWS: Advertise TLS optimization.
23381         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
23382         (DT_PPC_NUM): Increment.
23383         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
23384         (CHECK_STATIC_TLS): Use here.
23385         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
23386         TLS descriptors.
23387         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23388         * sysdeps/powerpc/dl-tls.c: New file.
23389         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
23390         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
23391         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
23392         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
23393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
23394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
23395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
23397 2015-03-25  Alan Modra  <amodra@gmail.com>
23399         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
23400         for overlapping .opd entries" to "support...".
23401         * sysdeps/powerpc/powerpc64/configure: Regenerate
23403 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23405         * math/auto-libm-test-in: Add more tests of acos.
23406         * math/auto-libm-test-out: Regenerated.
23407         * sysdeps/i386/fpu/libm-test-ulps: Update.
23408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23410         * math/auto-libm-test-in: Add more tests of expm1.
23411         * math/auto-libm-test-out: Regenerated.
23412         * sysdeps/i386/fpu/libm-test-ulps: Update.
23413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23415 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
23417         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23418         * math/auto-libm-test-out: Regenerated.
23419         * sysdeps/i386/fpu/libm-test-ulps: Update.
23420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23422         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23425         * math/auto-libm-test-in: Add more tests of log2.
23426         * math/auto-libm-test-out: Regenerated.
23427         * sysdeps/i386/fpu/libm-test-ulps: Update.
23428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23430 2015-03-23  Roland McGrath  <roland@hack.frob.com>
23432         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
23433         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
23434         _IO_IS_APPENDING bit in READ_WRITE instead.
23436 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23438         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23439         (__determine_cpumask_size): Replace extend_alloca with a
23440         variable-length array.  Do not treat res == 0 as an error.
23442 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23444         [BZ #18100]
23445         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
23446         and integer overflow.
23447         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
23448         (main): Add integer overflow tests.
23449         * manual/pattern.texi (Calling Wordexp): Document additional use
23450         for WRDE_SYNTAX.
23452 2015-03-23  Alan Modra  <amodra@gmail.com>
23454         * config.h.in: Remove HAVE_ASM_PPC_REL16.
23455         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
23456         and false branch of conditional.
23457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23458         Likewise.
23460 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
23462         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
23463         libc-modules.h
23464         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
23465         unused declaration of _hurd_intr_rpc_msg_in_trap.
23466         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
23467         defined instead of whether it is non-zero.
23468         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
23469         input constraint instead of both input and output constraint.  Use ecx
23470         clobber instead of %ecx.
23471         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
23472         mutex_unlock): Use a statement expression instead of an expression list.
23473         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
23474         type to vm_size_t instead of vm_address_t.
23475         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
23476         defined instead of whether it is non-zero.
23477         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
23478         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
23479         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
23480         comparisons with mapaddr.
23481         * nscd/nscd-client.h: Include <time.h>.
23482         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
23483         9th parameter to __vm_region instead of int.
23484         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
23485         * scripts/check-local-headers.sh (exclude): Add device/,
23486         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
23487         cthreads.h.
23489 2015-03-19  Roland McGrath  <roland@hack.frob.com>
23491         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
23492         to account for alignment padding.
23493         * sysdeps/arm/memmove.S: Likewise.
23495 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
23497         * sysdeps/unix/sysv/linux/generic/README: New file.
23499 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
23501         [BZ #18138]
23502         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
23503         (futex_abstimed_wait)
23504         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
23505         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
23506         of lll_futex_timed_wait.
23508 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
23510         [BZ #17542]
23511         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
23513 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
23515         [BZ #17090]
23516         [BZ #17620]
23517         [BZ #17621]
23518         [BZ #17628]
23519         * NEWS: Update.
23520         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
23521         entries with Static TLS too.  Skip entries past the end of the
23522         allocated DTV, from Alan Modra.
23523         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
23524         Static TLS DTV entry set up from...
23525         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
23526         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
23527         * nptl/allocatestack.c (init_one_static_tls): ... and here...
23528         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
23529         for Static TLS.
23530         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
23531         that the slot we find is associated with the given map before
23532         using its generation count.
23533         * nptl_db/db_info.c: Include ldsodefs.h.
23534         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
23535         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
23536         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
23537         (link_map::l_tls_offset): New struct field.
23538         (dtv_t::counter): Likewise.
23539         (rtld_global): New struct.
23540         (_rtld_global): New rtld variable.
23541         (dl_tls_dtv_slotinfo_list): New rtld global field.
23542         (dtv_slotinfo_list): New struct.
23543         (dtv_slotinfo): Likewise.
23544         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
23545         (td_lookup): Rename to...
23546         (td_mod_lookup): ... this.  Use new mod parameter instead of
23547         LIBPTHREAD_SO.
23548         * nptl_db/td_thr_tlsbase.c: Include link.h.
23549         (dtv_slotinfo_list, dtv_slotinfo): New functions.
23550         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
23551         addresses even if the DTV is out of date or missing them.
23552         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
23553         index zero-length arrays.
23554         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
23555         (td_lookup): Make it a macro implemented in terms of...
23556         (td_mod_lookup): ... this declaration.
23557         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
23558         (DB_MAIN_VARIABLE): Likewise.
23560 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23562         [BZ #18134]
23563         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23565 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
23567         * stdlib/setenv.c (__add_to_environ): Revert previous change.
23569 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23571         [BZ #18128]
23572         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
23573         (atomic_add, atomic_increment_and_test)
23574         (atomic_decrement_and_test): Fix 64-bit arithmetic.
23576 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
23578         * stdlib/setenv.c (__add_to_environ):
23579         Dump core quickly if setenv (..., NULL, ...) is called.
23581 2015-03-13  Roland McGrath  <roland@hack.frob.com>
23583         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
23584         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
23585         all the necessary asm magic in one place.
23586         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
23587         using those.
23589 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
23591         [BZ #14906]
23592         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
23593         traced file mtime. Use consistent log message.
23594         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
23595         (register_traced_file): Call install_watches. Always set mtime.
23596         (invalidate_cache): Iterate over all trace files. Call install_watches.
23597         (inotify_check_files): Don't inline. Handle watching parent
23598         directories and configuration file movement in and out.
23599         (handle_inotify_events): New function.
23600         (main_loop_poll): Call handle_inotify_events.
23601         (main_loop_epoll): Likewise.
23602         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
23603         (struct traced_file): Use array of inotify fds. Add parent directory,
23604         and basename.
23605         (struct database_dyn): Remove unused file_mtime.
23606         (init_traced_file): New inline function.
23607         (define_traced_file): New macro.
23608         * nss/nss_db/db-init.c: Use define_traced_file.
23609         (_nss_db_init): Use init_traced_file.
23610         * nss/nss_files/files-init.c: Use define_traced_file.
23611         (_nss_files_init): Use init_traced_file.
23613 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
23615         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
23616         [_LIBC]: Do not include <stdlib.h>.
23617         [!_LIBC] (abort): Remove declaration.
23618         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
23619         _FP_STATIC_ASSERT instead of conditionally calling abort.
23620         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
23621         (_FP_EXTEND_CNAN): Likewise.
23622         (FP_TRUNC): Likewise.
23623         (__FP_CLZ): Likewise.
23624         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
23626 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
23628         * manual/string.texi (XPG basename): Fix prototype.
23630 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23632         [BZ #18080]
23633         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
23634         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23635         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
23636         (__setcontext): Likewise.
23637         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
23638         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23639         Call rt_sigprocmask syscall one time to set new signal mask
23640         and retrieve the current signal mask instead of two calls.
23641         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
23642         (__swapcontext): Likewise.
23643         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
23644         * stdlib/tst-setcontext2.c: New file.
23646 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23648         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23650 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
23652         [BZ #18093]
23653         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
23654         the wrong size.
23656 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23658         [BZ #18043]
23659         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
23661 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23663         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
23664         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
23665         Remove define.
23666         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
23667         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
23668         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
23669         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
23670         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
23671         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
23672         define.
23673         * nptl_db/td_symbol_list.c (td_lookup): Remove
23674         HAVE_ASM_GLOBAL_DOT_NAME code.
23675         * sysdeps/powerpc/powerpc64/configure.ac: Remove
23676         HAVE_ASM_GLOBAL_DOT_NAME check.
23677         * sysdeps/powerpc/powerpc64/configure: Regenerate.
23678         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
23679         (DOT_LABEL): Remove define.
23680         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
23681         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
23682         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
23683         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
23684         (__TLS_GET_ADDR): Likewise.
23685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
23686         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
23688 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
23690         [BZ #18111]
23691         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
23692         (_FPU_SETCW): Initialize cw from fpsr before storing.
23693         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
23694         (fesetexceptflag): Rewrite using fpu_control.h.
23695         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
23697 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
23699         [BZ #18110]
23700         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
23701         asms.
23702         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23704 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
23706         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
23707         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
23708         abort.
23709         (_FP_FMA): Likewise.
23710         (_FP_DIV): Likewise.
23712 2015-03-10  Roland McGrath  <roland@hack.frob.com>
23714         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
23715         with 0 in that case.
23716         * Makefile (summarize-tests): New canned sequence, factored out of
23717         commands for targets tests and xtests.  Display summary lines that
23718         don't start with PASS: or XFAIL: rather than ones that do start with
23719         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
23720         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
23721         do start with ERROR: or FAIL:.
23722         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
23723         (except for [$(build-shared) = yes]).
23724         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
23725         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
23726         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
23727         * nptl/Makefile: Revert 2015-03-04 changes.
23728         [$(CXX) empty] (tests-unsupported): New variable.
23729         * debug/Makefile: Likewise.
23731         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
23732         gnulib file.  Replace __attribute with __attribute__ throughout.
23734 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
23736         * sysdeps/hppa/fpu/libm-test-ulps: Update.
23738 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23740         [BZ #18104]
23741         * math/auto-libm-test-in: Add another test of pow.
23742         * math/auto-libm-test-out: Regenerated.
23744 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23746         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
23747         $(config-cflags-nofma).
23749 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23751         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
23752         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
23753         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
23754         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
23755         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
23756         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
23757         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
23758         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
23759         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
23760         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
23761         Add comment on closing #endif.
23763 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23765         * posix/wordexp.c (CHAR_IN_SET): New macro.
23766         (parse_param): Use it.
23768 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23770         * sysdeps/powerpc/fpu/libm-test-ulps: update.
23772 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23774         [BZ #18043]
23775         * posix/wordexp.c (parse_param): Fix buffer overflow.
23776         * posix/wordexp-test.c (test_case): Add test case.
23778 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23780         [BZ #18042]
23781         * posix/wordexp.c (parse_backtick): Fix off-by-one.
23782         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
23784 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23786         [BZ #18043]
23787         * posix/wordexp-test.c (test_case): Add test for BZ #18043
23788         (do_bz18043): Delete.
23789         (at_page_end): New.
23790         (testit): Refactor to have words at the edge of unreadable page.
23792 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23794         [BZ #16734]
23795         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
23796         Cleanup read-only streams as well.
23797         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
23799 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23801         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
23802         <bits/libc-lockP.h>
23804 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
23806         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
23807         on [__KERNEL__].
23808         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
23809         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
23810         * soft-fp/op-common.h (_FP_DECL): Likewise.
23812 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23814         * elf/ifuncdep2.c (global): Replace
23815         __attribute__((visibility("protected"))) with
23816         asm (".protected global").
23817         * elf/ifuncmod1.c (global): Likewise.
23818         * elf/ifuncmod5.c (global): Likewise.
23820 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
23822         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
23823         <asm/sfp-machine.h> instead of <sfp-machine.h>.
23825 2015-03-06  Roland McGrath  <roland@hack.frob.com>
23827         * manual/install.texi (Configuring and compiling):
23828         Document test-wrapper-env-only.
23829         * INSTALL: Regenerated.
23831 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23833         [BZ #18043]
23834         * posix/wordexp.c (parse_param): Fix buffer overflow.
23835         * posix/wordexp-test.c (do_bz18043): Add test case.
23837 2015-03-06  Vincent Bernat  <vincent@bernat.im>
23839         * time/tst-strptime2.c (do_test): Ensure failing tests are
23840         reported correctly.
23841         * time/tst-strptime3.c (do_test): Likewise.
23843 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
23845         Fix aio_error thread-safety.
23846         * sysdeps/pthread/aio_error.c: New file
23847         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
23848         synchronization.
23850 2015-03-06  Florian Weimer  <fweimer@redhat.com>
23852         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
23853         (group_number, vfprintf): Use it.
23854         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
23855         (JUMP, REF): Use it.
23856         (WORK_BUFFER_SIZE): New enum constant.
23857         (process_arg, vfprintf): Use it.
23859 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
23861         * manual/errno.texi (Error Messages): Complete example function
23862         by adding missing #define.
23863         (program_invocation_name): Add statement indicating GNU
23864         extension and reference which header file declares the variable.
23865         (program_invocation_short_name): Likewise.
23867 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
23869         * manual/errno.texi (Error Messages): Delete strerror ISO C89
23870         compatibility note.
23872 2015-03-05  Roland McGrath  <roland@hack.frob.com>
23874         * Makeconfig (test-wrapper-env-only): New variable.
23875         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
23876         then use that with $(test-wrapper-env-only) rather than using
23877         $(test-wrapper-env) $(run-program-env) $($*-ENV).
23879 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23881         [BZ #18082]
23882         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23883         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23884         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23885         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23886         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23887         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23888         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23889         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
23890         Likewise.
23891         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
23892         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
23893         Likewise.
23894         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
23895         Likewise.
23896         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
23897         Likewise.
23898         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
23899         Likewise.
23900         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
23901         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
23902         Likewise.
23903         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
23904         Likewise.
23905         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
23906         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
23908 2015-03-04  Roland McGrath  <roland@hack.frob.com>
23910         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
23911         (ETH_ALEN): New macro.
23912         (struct ether_addr): Use it for length of ether_addr_octet.
23914         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
23915         (setdb): Don't call __nss_configure_lookup for "rpc".
23916         (do_test): Don't call test_rpc.
23917         (output_rpcent, test_rpc): Functions moved ...
23918         * sunrpc/test-rpcent.c: ... to this new file.
23919         * sunrpc/Makefile (tests): Add it.
23921         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
23922         __xpg_sigpause.
23923         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
23924         * nptl/tst-signal6.c: Likewise.
23925         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
23926         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
23928         * configure.ac (libc_cv_cxx_link_ok): New check.
23929         Reset CXX to empty if it fails to link.
23930         * configure: Regenerated.
23931         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
23932         bug-atexit3-lib only if $(CXX) is nonempty.
23933         * nptl/Makefile (tests): Likewise for tst-cancel24.
23934         (tests, tests-static): Likewise for tst-cancel24-static.
23935         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
23936         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
23937         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
23938         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
23940 2015-03-04  Andreas Schwab  <schwab@suse.de>
23942         [BZ #17631]
23943         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
23944         for non-GCC compilers.
23945         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23946         Likewise.
23948 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23950         [BZ #17776]
23951         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
23952         integer before bitwise and assembly operations.
23953         (feclearexcept): Likewise.
23954         * math/test-fenvinline.c: New file.
23955         * math/Makefile: Add test-fenvinline test.
23957 2015-03-03  Alan Modra  <amodra@gmail.com>
23959         [BZ #16512]
23960         * scripts/localplt.awk: Strip off symbol version.
23961         * NEWS: Mention bug fix.
23963 2015-03-02  Roland McGrath  <roland@hack.frob.com>
23965         * sysdeps/pthread/timer_routines.c
23966         (timer_free_list, thread_free_list, thread_active_list): Make static.
23968 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
23970         [BZ #17779]
23971         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23972         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23973         Undefine.
23974         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23975         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23976         Likewise.
23977         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23978         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23979         Likewise.
23981 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23983         [BZ #18036]
23984         * posix/fnmatch_loop.c (END): Detect invalid pattern.
23985         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
23987 2015-03-02  Andreas Schwab  <schwab@suse.de>
23989         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
23990         variable name.
23992 2015-03-02  Florian Weimer  <fweimer@redhat.com>
23994         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
23995         Return error status.
23997 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
23999         [BZ #15969]
24000         * locale/findlocale.c (_nl_find_locale): Introduce const
24001         version of loc_name and drop unsafe type casts.
24003 2015-02-27  Roland McGrath  <roland@hack.frob.com>
24005         * dlfcn/tststatic2.c (main): Converted to ...
24006         (do_test): ... this.
24007         (TEST_FUNCTION): New macro.
24008         Include test-skeleton.c.
24010 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
24012         [BZ #17711]
24013         * elf/Makefile (tests): Add vismain only if PIE is enabled.
24014         (tests-pie): Add vismain.
24015         (CFLAGS-vismain.c): New.
24016         * elf/vismain.c: Add comments for PIE requirement.
24018 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
24020         [BZ #18046]
24021         [BZ #18047]
24022         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
24023         0x1p-56L as threshold for just returning the argument.
24024         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
24025         0x1p-32L as threshold for just returning the argument.
24026         * math/auto-libm-test-in: Add more tests of atanh.
24027         * math/auto-libm-test-out: Regenerated.
24028         * sysdeps/i386/fpu/libm-test-ulps: Update.
24029         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
24031 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24033         * string/bcopy.c (bcopy): Call memmove for performance.
24035 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24037         * string/bzero.c (__bzero): Call memset for performance.
24039 2015-02-27  John David Anglin  <dave.anglin@bell.net>
24041         [BZ #18068]
24042         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
24043         to 00100000.
24045 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
24047         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
24049 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24051         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
24052         (__kernel_standard): Use CSTR macro when setting exc.name.
24053         * sysdeps/ieee754/Makefile [$(subdir) = math]
24054         (CFLAGS-k_standard.c): Remove variable.
24056         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
24057         setting p and q from "else if" to "else".
24058         (qzero): Likewise.
24059         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
24060         (qone): Likewise.
24061         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
24062         (qzerof): Likewise.
24063         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
24064         (qonef): Likewise.
24065         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
24066         (qzero): Likewise.
24067         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
24068         (qone): Likewise.
24070         [BZ #18038]
24071         [BZ #18039]
24072         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
24073         return pi/2 for arguments below 0x1p-113L.
24074         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
24075         return pi/2 for arguments below 0x1p-106L.
24076         * math/auto-libm-test-in: Add more tests of acos.
24077         * math/auto-libm-test-out: Regenerated.
24079         [BZ #16351]
24080         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
24081         (MO): New macro.
24082         (__ieee754_asin): Force underflow exception for results with small
24083         absolute value.
24084         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
24085         (MO): New macro.
24086         (__ieee754_asinf): Force underflow exception for results with
24087         small absolute value.
24088         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
24089         (__ieee754_asin): Force underflow exception for results with small
24090         absolute value.
24091         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
24092         (__ieee754_asinf): Force underflow exception for results with
24093         small absolute value.
24094         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
24095         (__ieee754_asinl): Force underflow exception for results with
24096         small absolute value.
24097         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
24098         (__ieee754_asinl): Force underflow exception for results with
24099         small absolute value.
24100         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
24101         (__ieee754_asinl): Force underflow exception for results with
24102         small absolute value.
24103         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24104         Include <math.h>.
24105         * math/auto-libm-test-in: Do not mark underflow exceptions as
24106         possibly missing for bug 16351.
24107         * math/auto-libm-test-out: Regenerated.
24109         [BZ #18030]
24110         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
24111         of power of 2 down when low part has opposite sign.
24112         * math/libm-test.inc (logb_test_data): Add more tests.
24114 2015-02-26  Andreas Schwab  <schwab@suse.de>
24116         [BZ #18032]
24117         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
24118         over collating symbol inside a bracket expression.  Minor cleanup.
24119         * posix/tst-fnmatch3.c (do_test): Add test case.
24121 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24123         [BZ #18029]
24124         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
24125         Adjust exponent of power of 2 down when low part has opposite
24126         sign.
24127         * math/libm-test.inc (ilogb_test_data): Add more tests.
24129 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
24131         [BZ #15969]
24132         * locale/findlocale.c (_nl_find_locale): Fix constness error in
24133         the previous change.
24135         [BZ #15969]
24136         * locale/findlocale.c (_nl_find_locale): Retry archive search
24137         after alias expansion.
24139 2015-02-25  Roland McGrath  <roland@hack.frob.com>
24141         * iconv/tst-iconv3.c (main): Converted to ...
24142         (do_test): ... this.
24143         (TEST_FUNCTION): New macro.
24144         Include test-skeleton.c.
24146         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
24147         (convert): Make function static.
24148         (test_unalign): Likewise.  Add const to argument pointee types.
24149         (main): Replace with static function do_test.
24150         Print "Succeeded." only if RET is zero.
24151         (TEST_FUNCTION): New macro.
24152         Include test-skeleton.c.
24154         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
24155         returns a null pointer.
24157 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24159         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
24160         to __memcpy_ppc only for static builds.
24162 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
24164         [BZ #18020]
24165         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
24166         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
24167         * math/auto-libm-test-in: Add more tests of asinh.
24168         * math/auto-libm-test-out: Regenerated.
24169         * sysdeps/i386/fpu/libm-test-ulps: Update.
24170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24172 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
24174         [BZ #15850]
24175         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
24176         and ip6_mtuinfo definitions here.
24177         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
24178         in this define too.  Update comment.
24180 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
24182         * elf/sprof.c (load_shobj): Tweak error message to match others.
24184 2015-02-24  Kevin Easton  <kevin@guarana.org>
24186         [BZ #16145] (partial fix)
24187         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
24188         to reduce lock contention.
24190 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
24192         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
24193         (struct timex): Update time comment.
24194         (ADJ_SETOFFSET): Define.
24196 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24198         [BZ #18019]
24199         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24200         2**56 not 2**28 as threshold for log (2x) formula.
24201         * math/auto-libm-test-in: Add more tests of acosh.
24202         * math/auto-libm-test-out: Regenerated.
24203         * sysdeps/i386/fpu/libm-test-ulps: Update.
24204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24206 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24208         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
24209         parenthesis around the buf assignment.
24210         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
24212 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24214         [BZ #16783]
24215         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
24216         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
24217         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
24218         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24219         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24220         * math/libm-test.inc (scalb_test_data): Add more tests.
24222 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24224         [BZ #17916]
24225         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
24226         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
24228 2015-02-24  Eric Rannaud  <e@nanocritical.com>
24230         [BZ #17523]
24231         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
24232         * io/bits/fcntl2.h (open): Use it.
24233         (openat): Likewise.
24234         * io/open.c (__libc_open): Likewise.
24235         * io/open64.c (__libc_open64): Likewise.
24236         * io/open64_2.c (__open64_2): Likewise.
24237         * io/open_2.c (__open_2): Likewise.
24238         * io/openat.c (__openat): Likewise.
24239         * io/openat64.c (__openat64): Likewise.
24240         * io/openat64_2.c (__openat64_2): Likewise.
24241         * io/openat_2.c (__openat_2): Likewise.
24242         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
24243         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24244         * sysdeps/posix/open64.c (__libc_open64): Likewise.
24245         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24246         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
24247         (__open_nocancel): Likewise.
24248         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
24249         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
24250         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
24252 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24254         [BZ #14841]
24255         * resolv/gethnamaddr.c (getanswer): Skip logging if
24256         RES_USE_DNSSEC is set.
24257         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24259 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24261         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
24263 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
24265         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24266         201304L, for Unicode 7.
24268 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
24270         [BZ #17836]
24271         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
24272         shared library.  Add gmon-start.os otherwise.
24273         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
24274         $(objpfx)gmon-start.os if builing shared library.
24275         ($(objpfx)g$(static-start-installed-name)): Likewise.
24277 2015-02-23  Andreas Schwab  <schwab@suse.de>
24279         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
24281 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24283         [BZ #17269]
24284         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
24285         (enlarge_userbuf): Likewise.
24287 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
24289         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
24290         * math/atest-exp.c (TIMEOUT): Adjust to 200.
24291         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
24292         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
24294 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
24296         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
24297         expression inside statement expression.
24299 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24301         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
24302         <sysdeps/nptl/lowlevellock.h> and remove macros and
24303         functions that are now defined there.
24304         (SYS_futex): Remove.
24305         (lll_compare_and_swap): Remove.
24306         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
24308 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
24310         [BZ #17999]
24311         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
24312         instead of scandirat.
24313         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
24314         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
24315         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
24316         __scandirat.
24317         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
24318         (__scandirat): Declare.  Use libc_hidden_proto.
24319         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
24320         Remove variable.
24321         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24323 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24325         [BZ #15319]
24326         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
24327         (MO): New macro.
24328         (__ieee754_atan2): For results with small absolute value, force
24329         underflow exception and remove excess range and precision from
24330         return value.
24331         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
24332         (MO): New macro.
24333         (__ieee754_atan2f): For results with small absolute value, force
24334         underflow exception and remove excess range and precision from
24335         return value.
24336         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
24337         (MO): New macro.
24338         (__atan): For results with small absolute value, force underflow
24339         exception and remove excess range and precision from return value.
24340         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
24341         (MO): New macro.
24342         (__atanf): For results with small absolute value, force underflow
24343         exception and remove excess range and precision from return value.
24344         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
24345         <math.h>.
24346         (__ieee754_atan2): Force underflow exception for results with
24347         small absolute value.
24348         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
24349         <math_private.h>.
24350         (atan): Force underflow exception for results with small absolute
24351         value.
24352         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
24353         (__atanf): Force underflow exception for results with small
24354         absolute value.
24355         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
24356         <math.h>.
24357         (__atanl): Force underflow exception for results with small
24358         absolute value.
24359         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
24360         (__atanl): Force underflow exception for results with small
24361         absolute value.
24362         * sysdeps/x86/fpu/bits/mathinline.h
24363         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
24364         (__ieee754_atan2): Only define inline for long double.
24365         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24366         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
24367         * math/auto-libm-test-in: Do not mark underflow exceptions as
24368         possibly missing for bug 15319.  Add more tests of atan2.
24369         * math/auto-libm-test-out: Regenerated.
24370         * math/libm-test.inc (casin_test_data): Do not mark underflow
24371         exceptions as possibly missing for bug 15319.
24372         (casinh_test_data): Likewise.
24373         * sysdeps/i386/fpu/libm-test-ulps: Update.
24375 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
24377         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
24378         * sysdeps/mips/bits/endian.h: Fix comments.
24380 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24382         [BZ #17996]
24383         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
24384         (hdestroy_r): Likewise.
24385         (hsearch_r): Likewise.
24386         (__hcreate_r): Declare and use libc_hidden_proto.
24387         (__hdestroy_r): Likewise.
24388         (__hsearch_r): Likewise.
24389         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
24390         (hcreate): Call __hcreate_r instead of hcreate_r.
24391         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
24392         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
24393         as weak alias of __hcreate_r.
24394         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
24395         __hdestroy_r.
24396         (hsearch_r): Rename to __hsearch_r and define as weak alias of
24397         __hsearch_r.
24398         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
24399         Remove variable.
24400         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24401         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24402         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24403         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24405 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24407         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
24408         arena_lock into a single arena_get.
24410 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
24412         * dl-reloc.c: Inlucde libc-internal.h.
24413         (_dl_try_allocate_static_tls): Call ALIGN_UP.
24414         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
24415         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
24416         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
24417         (grow_heap): Likewise.
24418         * malloc/malloc.c: Include libc-internal.h.
24419         (do_check_malloc): Call powerof2.
24420         (sysmalloc): Use pagesize. Call ALIGN_UP.
24421         (systrim): Use pagesize.
24422         (mremap_chunk): Use pagesize. Call ALIGN_UP.
24423         (__libc_valloc): Use pagesize.
24424         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
24426 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24428         [BZ #17991]
24429         * include/sys/resource.h (__getrlimit64): Declare.  Use
24430         libc_hidden_proto.
24431         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
24432         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
24433         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
24434         getrlimit64.
24435         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
24436         __getrlimit64.
24437         [!getrlimit64] (getrlimit64): Define as weak alias of
24438         __getrlimit64.  Use libc_hidden_weak.
24439         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
24440         using __getrlimit64 not __new_getrlimit64.
24441         (__GI_getrlimit64): Likewise.
24442         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
24443         Likewise.
24444         (__GI_getrlimit64): Likewise.
24445         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
24446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
24447         (getrlimit): Add __getrlimit64 alias.
24448         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
24449         Likewise.
24450         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
24451         Remove variable.
24452         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24453         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24455 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
24457         * libio/fileops.c: Add missing sys/mman.h
24458         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
24460 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24462         * manual/math.texi (Errors in Math Functions): Clarify goals
24463         regarding inexact and underflow exceptions.
24465 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24467         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
24468         * sysdeps/mips/memset.S: Ditto.
24470 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24472         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
24474 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24476         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
24477         (__v1longjmp): Remove versioned symbol.
24478         (__v1siglongjmp): Remove alias and versioned symbol.
24479         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
24480         (__v2siglongjmp): Likewise.
24482 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24484         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
24486 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
24488         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
24490 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24492         [BZ #17987]
24493         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
24494         zero result does not depend on the sign resulting from
24495         subtraction.
24496         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24497         Likewise.
24498         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24499         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24500         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24501         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24502         * math/libm-test.inc (remquo_test_data): Add more tests.
24504 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
24506         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
24507         Problem reported by J William Piggott.
24509 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24511         [BZ #17978]
24512         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
24513         products 4 * y and 2 * y where those would overflow.
24514         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24515         Likewise.
24516         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24517         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24518         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24519         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24520         * math/libm-test.inc (remquo_test_data): Add more tests.
24522         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
24524         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
24525         [defined _COMPILING_NEWLIB].
24526         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
24527         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
24529         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
24530         [!defined __mips_isa_rev || __mips_isa_rev < 6].
24532 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24534         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
24535         acquired.
24537 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
24539         [BZ #17792]
24540         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
24541         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
24542         HOST_STACK_END_ADDR): Likewise.
24544 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
24546         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
24547         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
24548         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
24550 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24552         * sysdeps/generic/c++-types.data: New file.
24553         * sysdeps/generic/ld.abilist: New file.
24554         * sysdeps/generic/libBrokenLocale.abilist: New file.
24555         * sysdeps/generic/libanl.abilist: New file.
24556         * sysdeps/generic/libc.abilist: New file.
24557         * sysdeps/generic/libcrypt.abilist: New file.
24558         * sysdeps/generic/libdl.abilist: New file.
24559         * sysdeps/generic/libm.abilist: New file.
24560         * sysdeps/generic/libpthread.abilist: New file.
24561         * sysdeps/generic/libresolv.abilist: New file.
24562         * sysdeps/generic/librt.abilist: New file.
24564 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24566         [BZ #17569]
24567         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24568         Compute absolute value of x as modified by fmod, not original
24569         value of x.
24570         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
24571         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
24572         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
24573         RUN_TEST_ffI_f1_mod8.
24574         (remquo_test_data): Add more tests.
24576 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24578         * sysdeps/init_array/pt-crti.S: New file.
24580 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24582         [BZ #17967]
24583         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
24584         __builtin_fmaf instead of relying on contraction of a * b + c.
24586 2015-02-12  J William Piggott  <elseifthen@gmx.com>
24588         [BZ #17969]
24589         * manual/time.texi: correct the zoneinfo path in the TZ Variable
24590         node.
24592 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24594         [BZ #17964]
24595         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
24596         __builtin_fma instead of relying on contraction of a * b + c.
24598 2015-02-12  Roland McGrath  <roland@hack.frob.com>
24600         * Makeconfig (ASFLAGS): Add -Werror=undef.
24601         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
24602         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
24603         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
24605         * Makeconfig (after-link): New variable.
24606         (+link-pie, +link-pie-tests): Use it.
24607         (+link-static, +link-static-tests): Likewise.
24608         (+link, +link-tests): Likewise.
24609         * Makerules (build-module, build-module-asneeded): Likewise.
24610         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
24611         Likewise.
24612         * elf/Makefile ($(objpfx)ld.so): Likewise.
24614 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
24616         [BZ #17965]
24617         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
24618         both struct timeval and struct timespec.
24620 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24622         [BZ #16560]
24623         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24624         and redefine.
24625         (__ieee754_exp2l): Do not multiply small fractional parts by
24626         M_LN2l.
24627         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
24628         small argument.
24629         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24630         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24631         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
24632         * math/auto-libm-test-in: Add more tests of exp2.
24633         * math/auto-libm-test-out: Regenerated.
24635 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24637         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
24638         unaligned path.
24640 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24642         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
24643         little endian.
24645 2015-02-12  Andreas Schwab  <schwab@suse.de>
24647         [BZ #15790]
24648         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24649         Filter out elision flags from value returned in kind.
24650         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
24651         * nptl/tst-pthread-mutexattr.c: New file.
24653 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24655         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
24656         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
24657         into gnu-gnu, and update comment to refer to abi-tags.
24659 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
24661         [BZ #15467]
24662         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
24663         (__sincos): Set errno to EDOM for infinite argument.
24664         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
24665         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
24666         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
24667         (__sincosl): Set errno to EDOM for infinite argument.
24668         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
24669         (__sincosl): Set errno to EDOM for infinite argument.
24670         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
24671         (__sincosl): Set errno to EDOM for infinite argument.
24672         * math/libm-test.inc (sincos_test_data): Test errno setting.
24674 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
24676         * string/strxfrm_l.c: Remove #define STRCMP.
24677         * string/strcoll_l.c: Remove #define STRLEN.
24678         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
24679         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
24681 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
24683         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
24684         * sysdeps/mips/mips32/sfp-machine.h: ... here.
24685         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
24686         * sysdeps/mips/mips64/Makefile: ... here.
24687         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
24688         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
24689         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
24690         * sysdeps/mips/mips64/sfp-machine.h: ... here.
24691         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
24692         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
24693         * sysdeps/mips/mips64/n64/Implies: Likewise.
24695 2015-02-10  Roland McGrath  <roland@hack.frob.com>
24697         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
24698         <sys/time.h>, <string.h>, and <errno.h>.
24699         (dest_offset, dest_address, value, zero): Remove unused variables.
24700         (ldouble): Remove typedef.
24701         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
24702         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
24703         1).  Fix code style.
24704         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
24705         (check): Function removed.
24706         (CHECK): New macro.
24707         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
24708         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
24709         Don't call set_sigaction_FP and remove_sigaction_FP here.
24710         (ldouble_test): Just use 'long double' as macro argument, no need for
24711         the 'ldouble' typedef.
24712         (do_test): Set up SIGFPE handler at start, using plain signal rather
24713         than sigaction.  Fix code style.
24715 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
24717         [BZ #17949]
24718         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
24719         jump label.
24721 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24723         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
24724         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24726         * sysdeps/powerpc/configure.ac: Remove file.
24727         * sysdeps/powerpc/configure: Likewise.
24729         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24730         [sysdep_routines]: Remove wordcopy-power6 object.
24731         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24732         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
24733         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
24734         (__memmove_ppc32): Likewise.
24735         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
24736         file.
24737         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
24738         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
24739         Remove preprocessor.
24741         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24742         [sysdep_routines]: Remove wide chars objects.
24743         [wcsmbs]: New rule for wide char objects.
24745         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24746         Remove wordcopy-power6 obejct.
24747         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
24748         Use local call for wordcopy and memcpy symbols.
24749         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
24750         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
24751         implementation for loader.
24752         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
24754         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24755         Remove wordcopy-power7 object.
24756         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
24757         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
24758         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
24759         (_wordcopy_fwd_dest_aligned): Likewise.
24760         (_wordcopy_bwd_aligned): Likewise.
24761         (_wordcopy_bwd_dest_aligned): Likewise.
24763         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
24764         Rewrite to call __memmove_ppc instead of include default
24765         implementation.
24767         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24768         Remove wide chars objects.
24769         [wcsmbs]: New rule for wide char objects.
24771 2015-02-09  Andreas Schwab  <schwab@suse.de>
24773         [BZ #17912]
24774         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24775         in terms of __O_DIRECTORY.
24777 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24779         * time/getdate.c: Include <stdbool.h>.
24780         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
24781         call PTR_MANGLE.
24782         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
24783         PTR_DEMANGLE.
24785 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
24787         Add ersatz _Static_assert on older C hosts
24788         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
24789         pre-C11 C platform that is not known to support _Static_assert.
24791 2015-02-07  Richard Braun  <rbraun@sceen.net>
24793         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
24794         sigstate.
24795         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
24797 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24799         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
24800         priority against unexistent AIO_PRIO_DELTA_MAX.
24801         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
24802         instead of int.
24803         * misc/fchflags.c (fchflags): Likewise.
24804         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
24805         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
24806         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
24807         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
24808         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
24809         Declare macros.
24810         [__USE_MISC] (chflags, fchflags): Declare functions.
24811         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
24812         EINVAL when nfds is greater than FD_SETSIZE.
24813         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
24814         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
24815         45.
24816         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
24817         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
24818         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
24819         MACH_RCV_TIMED_OUT.
24820         * hurd/hurd/signal.h (_hurd_self_sigstate,
24821         _hurd_critical_section_lock, _hurd_critical_section_unlock):
24822         Explicit casts from void *.
24823         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
24824         * abi-tags: Rename gnu-gnu os into gnu.
24826         [BZ #4719]
24827         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
24828         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
24829         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
24830         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
24831         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
24832         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
24834         [BZ #17944]
24835         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
24836         duplicates ADDR->sun_path with sockaddr LEN limitation.
24837         * sysdeps/mach/hurd/connect.c: Include <string.h>
24838         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
24839         * sysdeps/mach/hurd/sendmsg.c: Likewise.
24840         * sysdeps/mach/hurd/sendto.c: Likewise.
24841         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
24842         implementing it by hand.
24844 2015-02-06  Roland McGrath  <roland@hack.frob.com>
24846         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
24847         Use sfi_breg on ldr.
24848         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
24849         Likewise.
24851         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24852         it's defined.
24853         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
24854         Test SIGSETXID only if it's defined.
24856         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
24858         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
24859         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
24861         * nptl/tst-align2.c: Moved ...
24862         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
24863         * nptl/Makefile (tests): Remove tst-align2.
24864         * sysdeps/unix/sysv/linux/Makefile
24865         [$(subdir) = nptl] (tests): Add tst-align-clone.
24866         * nptl/tst-getpid1.c: Moved ...
24867         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
24868         * nptl/tst-getpid2.c: Moved ...
24869         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
24870         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
24871         * sysdeps/unix/sysv/linux/Makefile
24872         [$(subdir) = nptl] (tests): ... here.
24873         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
24874         * sysdeps/unix/sysv/linux/Makefile
24875         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
24877         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
24878         Drop trailing \n from perror argument.  Use return rather than exit.
24880         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24881         on [SA_SIGINFO].
24882         * nptl/tst-cancel21.c (do_test): Likewise.
24883         * debug/tst-backtrace6.c: Include <signal.h> first thing.
24884         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24885         [!SA_SIGINFO]: Make it a stub test.
24887         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24888         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
24890         * posix/tst-getlogin.c: Move to ...
24891         * login/tst-getlogin.c: ... here.
24892         * posix/Makefile (tests): Move tst-getlogin to ...
24893         * login/Makefile (tests): ... here.
24895         * libio/tst-atime.c (do_test): Move local variables SV and E
24896         inside [ST_NOATIME] conditional.
24898         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
24900         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
24902         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
24903         (wait_code): New function replaces macro.
24904         Call nanosleep rather than syscall.
24906         * nptl/pt-system.c: Rewritten.  Put everything under
24907         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24908         Use IFUNC to redirect when possible.
24910         * nptl/pt-longjmp.c: Rewritten.  Put everything under
24911         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24912         Use IFUNC to redirect when possible.
24914         * nptl/pt-fork.c: Rewritten.  Put everything under
24915         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24916         Use IFUNC to redirect when possible.
24917         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
24919         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
24920         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
24921         unconditionally nowadays.  This included the only reference to
24922         __vdso_clock_gettime that appears outside libc proper.
24923         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
24924         Remove version set (containing only __vdso_clock_gettime).
24925         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24926         Add attribute_hidden.
24927         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24928         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
24929         libc_hidden_data_def.
24930         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24931         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24933         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
24934         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
24935         setrpcent, and getrpcport to ...
24936         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
24937         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
24938         getrpcbynumber_r, and getrpcent_r to ...
24939         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
24940         * inet/getrpcbyname.c: Moved ...
24941         * sunrpc/getrpcbyname.c: ... here.
24942         * inet/getrpcbyname_r.c: Moved ...
24943         * sunrpc/getrpcbyname_r.c: ... here.
24944         * inet/getrpcbynumber.c: Moved ...
24945         * sunrpc/getrpcbynumber.c: ... here.
24946         * inet/getrpcbynumber_r.c: Moved ...
24947         * sunrpc/getrpcbynumber_r.c: ... here.
24948         * inet/getrpcent.c: Moved ...
24949         * sunrpc/getrpcent.c: ... here.
24950         * inet/getrpcent_r.c: Moved ...
24951         * sunrpc/getrpcent_r.c: ... here.
24952         * inet/Makefile (routines): Move those to ...
24953         * sunrpc/Makefile (routines): ... here.
24954         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
24955         the $(subdirs) list.
24956         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
24957         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
24958         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
24959         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
24961         * elf/Makefile (routines): Include $(all-dl-routines), not just
24962         $(dl-routines).
24963         (rtld-routines): Likewise.  Use = rather than :=.
24964         * sysdeps/aarch64/Makefile [$(subdir) = elf]
24965         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
24966         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
24967         * sysdeps/arm/Makefile: Likewise.
24968         * sysdeps/i386/Makefile: Likewise.
24969         * sysdeps/x86_64/Makefile: Likewise.
24970         * sysdeps/hppa/Makefile [$(subdir) = elf]
24971         (sysdep_routines, sysdep-rtld-routines): Don't add
24972         $(sysdep-dl-routines) to these.
24973         * sysdeps/ia64/Makefile: Likewise.
24974         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
24975         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
24976         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
24977         Don't add dl-static to these; sysdep-dl-routines alone is enough.
24978         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
24979         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
24980         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
24981         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
24982         * sysdeps/powerpc/Makefile [$(subdir) = elf]
24983         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
24984         these; sysdep-dl-routines alone is enough.
24986 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
24988         [BZ #17932]
24989         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
24990         where multiplication results in zero and third argument is finite
24991         and nonzero.
24992         * math/auto-libm-test-in: Add more tests of fma.
24993         * math/auto-libm-test-out: Regenerated.
24995         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
24996         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
24997         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
24998         (_FP_CMP_EQ): Likewise.
24999         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
25001         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
25002         extra argument CHECK_NAN.  Redefine as wrapper around
25003         _FP_EXTEND_CNAN.
25005 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
25007         * version.h (RELEASE): Set to "stable".
25008         (VERSION): Set to "2.21"
25009         * include/features.h (__GLIBC_MINOR__): Set to 21.
25011         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
25013 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25014             Paul Eggert  <eggert@cs.ucla.edu>
25016         [BZ #16618]
25017         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
25018         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
25019         size in bytes. Store needed elements in wpmax. Use needed size
25020         in bytes for extend_alloca.
25022 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
25024         * manual/install.texi: Latest tested versions are GCC 4.9.2,
25025         binutls 2.25, and texinfo 5.2.
25026         * INSTALL: Regenerate.
25027         * sysdeps/nios2/configure: Regenerate.
25028         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
25029         * manual/contrib.texi: Update.
25030         * po/be.po: Update.
25031         * po/bg.po: Update.
25032         * po/ca.po: Update.
25033         * po/cs.po: Update.
25034         * po/da.po: Update.
25035         * po/de.po: Update.
25036         * po/el.po: Update.
25037         * po/eo.po: Update.
25038         * po/es.po: Update.
25039         * po/fi.po: Update.
25040         * po/fr.po: Update.
25041         * po/gl.po: Update.
25042         * po/hr.po: Update.
25043         * po/hu.po: Update.
25044         * po/ia.po: Update.
25045         * po/id.po: Update.
25046         * po/it.po: Update.
25047         * po/ja.po: Update.
25048         * po/ko.po: Update.
25049         * po/lt.po: Update.
25050         * po/nb.po: Update.
25051         * po/nl.po: Update.
25052         * po/pl.po: Update.
25053         * po/pt_BR.po: Update.
25054         * po/ru.po: Update.
25055         * po/rw.po: Update.
25056         * po/sk.po: Update.
25057         * po/sl.po: Update.
25058         * po/sv.po: Update.
25059         * po/tr.po: Update.
25060         * po/uk.po: Update.
25061         * po/vi.po: Update.
25062         * po/zh_CN.po: Update.
25063         * po/zh_TW.po: Update.
25065         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
25066         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
25067         * sysdeps/hppa/dl-irel.h: Remove #warning.
25068         * sysdeps/hppa/entry.h: Provide prototype for
25069         __canonicalize_funcptr_for_compare and cast argument.
25070         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
25071         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
25072         * sysdeps/hppa/sotruss-lib.c: New file.
25073         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
25074         (atomic_compare_and_exchange_val_acq): Use __typeof__.
25075         (atomic_compare_and_exchange_bool_acq): Likewise.
25076         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
25077         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
25079         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
25080         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
25081         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
25083 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
25085         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
25086         called function in non-PIC case.
25088 2015-01-31  David S. Miller  <davem@davemloft.net>
25090         * sysdeps/sparc/sparc32/bits/atomic.h
25091         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
25092         unlock not after it.
25093         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
25094         volatile register usage warnings from the compiler.
25096         * sysdeps/sparc/nptl/sem_init.c: Delete.
25097         * sysdeps/sparc/nptl/sem_post.c: Delete.
25098         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
25099         * sysdeps/sparc/nptl/sem_wait.c: Delete.
25100         * sysdeps/sparc/sparc32/sem_init.c: New file.
25101         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
25102         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
25103         padding explicitly initialized.
25104         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
25105         padding for in-semaphore spinlock.
25106         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
25107         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
25108         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
25109         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
25110         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
25111         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
25112         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
25113         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
25114         version.
25115         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
25116         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
25118 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
25120         [BZ #17801]
25121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25122         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
25123         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
25124         New.
25125         (index_AVX_Fast_Unaligned_Load): Likewise.
25126         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
25127         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
25128         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
25129         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
25130         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
25131         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
25132         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
25133         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
25134         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
25136 2015-01-29  Andreas Schwab  <schwab@suse.de>
25138         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
25140 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
25142         [BZ #17892]
25143         * nscd/nscd_stat.c (send_stats): Initialize DATA.
25145 2015-01-28  Martin Sebor  <msebor@redhat.com>
25147         * math/README.libm-test: Clarify. Add "How to read the test output."
25149 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
25151         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
25152         Define to 0.
25154 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
25156         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
25157         (__HAVE_64B_ATOMICS): Define to 0.
25159 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25161         [BZ #17885]
25162         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
25163         value to set as new flag.
25165         [BZ #16576]
25166         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
25167         and use _ARCH_PPCSQ instead.
25168         (__ieee754_sqrt): Likewise.
25169         (__ieee754_sqrtf): Likewise.
25170         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
25171         _ARCH_PPCSQ is defined.
25172         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
25173         fsqrt instruction.
25174         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
25175         _ARCH_PPCSQ is defined.
25176         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
25177         fsqrts instruction.
25178         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
25180 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25182         * iconv/loop.c: Suppress array out of bound warning caused by GCC
25183         bug (GCC BZ #64739).
25185 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
25187         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
25188         Mark _retval as used.
25189         (lll_futex_wake_unlock): Likewise.
25190         (lll_futex_timed_wait_requeue_pi): Likewise.
25192         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25193         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
25194         register variables.
25196         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
25197         libm_hidden_def.
25199         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
25200         (__bswap_64): Mark as __always_inline.
25202 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
25204         [BZ #15378]
25205         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
25206         when none of the search directories exist.
25208 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25210         [BZ #17869]
25211         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
25212         power8 in .machine directive.
25214         [BZ #17868]
25215         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
25216         set dependency from opd value.
25218 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25220         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25221         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
25222         architecture.
25224 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25226         [BZ #17870]
25227         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
25228         with uint64_t.
25229         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
25230         (uint64_t) 1.
25231         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
25232         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
25233         Replace 1UL with (uint64_t) 1.
25234         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
25235         int with uint64_t.
25237 2015-01-23  Roland McGrath  <roland@hack.frob.com>
25239         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
25240         (if_freenameindex): Likewise.
25242         * resource/getrlimit64.c: Add missing libc_hidden_def.
25244 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
25246         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
25247         __label__.
25248         (_FP_FMA): Likewise.
25249         (_FP_TO_INT_ROUND): Likewise.
25250         (_FP_FROM_INT): Likewise.
25252 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25254         [BZ #16418]
25255         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
25256         Make code racy and cancel safe.
25258 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
25260         * sysdeps/arm/unwind-resume.h: Fix copyright year.
25261         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
25262         attribution.
25264         * pwd/tst-getpw.c: Rewrite.
25266         [BZ #17702]
25267         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
25268         (modules-names): Add moddummy1 and moddummy2.
25269         ($(objpfx)tst-rec-dlopen): Define.
25270         * dlfcn/moddummy1.c: New file.
25271         * dlfcn/moddummy2.c: New file.
25272         * dlfcn/tst-rec-dlopen.c: New file.
25273         * elf/dl-cache.c (_dl_load_cache_lookup):
25274         Return char*. Copy result with alloca/strcpy/strdup.
25275         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
25276         returns char*. Free cached. If not saving realname
25277         free cached.
25278         * elf/dl-open.c (dl_open_worker): Do not assert that
25279         _r_debug->r_state is RT_CONSISTENT.
25280         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
25281         returns char*.
25283 2015-01-21  Torvald Riegel  <triegel@redhat.com>
25284             Carlos O'Donell  <carlos@redhat.com>
25286         [BZ #12674]
25287         * nptl/sem_waitcommon.c: New file.
25288         * nptl/sem_wait.c: Include sem_waitcommon.c.
25289         (__sem_wait_cleanup, do_futex_wait): Remove.
25290         (__new_sem_wait): Adapt.
25291         (__new_sem_trywait): New function.
25292         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
25293         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
25294         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
25295         (sem_timedwait): Adapt.
25296         * nptl/sem_post.c (__new_sem_post): Adapt.
25297         (futex_wake): New function.
25298         (__old_sem_post): Add release MO fence.
25299         * nptl/sem_open.c (sem_open): Adapt.
25300         * nptl/sem_init.c (__new_sem_init): Adapt.
25301         (futex_private_if_supported): New function.
25302         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
25303         (__old_sem_getvalue): Add using previous code.
25304         * sysdeps/nptl/internaltypes.h: Adapt.
25305         * nptl/tst-sem13.c (do_test): Adapt.
25306         * nptl/tst-sem11.c (main): Adapt.
25307         * nptl/sem_trywait.c: Remove.
25308         * nptl/DESIGN-sem.txt: Remove.
25309         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
25310         (gen-as-const-headers): Remove structsem.sym.
25311         * nptl/structsem.sym: Remove.
25312         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
25313         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
25314         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
25315         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
25316         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
25317         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
25318         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
25319         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
25320         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
25321         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
25322         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
25323         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
25324         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
25325         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
25326         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
25327         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
25328         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
25329         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
25330         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
25331         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
25332         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
25333         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
25335 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
25337         * INSTALL: Regenerated.
25339         * po/libc.pot: Regenerated.
25341 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
25342             Sandra Loosemore  <sandra@codesourcery.com>
25343             Andrew Jenner  <andrew@codesourcery.com>
25344             Joseph Myers  <joseph@codesourcery.com>
25345             Nathan Sidwell  <nathan@codesourcery.com>
25347         * NEWS: Mention new Nios II port.
25348         * sysdeps/nios2/Implies: New file.
25349         * sysdeps/nios2/Makefile: New file.
25350         * sysdeps/nios2/Subdirs: New file.
25351         * sysdeps/nios2/Versions: New file.
25352         * sysdeps/nios2/__longjmp.S: New file.
25353         * sysdeps/nios2/abort-instr.h: New file.
25354         * sysdeps/nios2/backtrace.c: New file.
25355         * sysdeps/nios2/bits/endian.h: New file.
25356         * sysdeps/nios2/bits/fenv.h: New file.
25357         * sysdeps/nios2/bits/link.h: New file.
25358         * sysdeps/nios2/bits/setjmp.h: New file.
25359         * sysdeps/nios2/bsd-_setjmp.S: New file.
25360         * sysdeps/nios2/bsd-setjmp.S: New file.
25361         * sysdeps/nios2/configure: New generated file.
25362         * sysdeps/nios2/configure.ac: New file.
25363         * sysdeps/nios2/crti.S: New file.
25364         * sysdeps/nios2/crtn.S: New file.
25365         * sysdeps/nios2/dl-init.c: New file.
25366         * sysdeps/nios2/dl-machine.h: New file.
25367         * sysdeps/nios2/dl-sysdep.h: New file.
25368         * sysdeps/nios2/dl-tls.h: New file.
25369         * sysdeps/nios2/dl-trampoline.S: New file.
25370         * sysdeps/nios2/gccframe.h: New file.
25371         * sysdeps/nios2/gmp-mparam.h: New file.
25372         * sysdeps/nios2/jmpbuf-offsets.h: New file.
25373         * sysdeps/nios2/jmpbuf-unwind.h: New file.
25374         * sysdeps/nios2/ldsodefs.h: New file.
25375         * sysdeps/nios2/libc-tls.c: New file.
25376         * sysdeps/nios2/libm-test-ulps: New file.
25377         * sysdeps/nios2/machine-gmon.h: New file.
25378         * sysdeps/nios2/math-tests.h: New file.
25379         * sysdeps/nios2/math_private.h: New file.
25380         * sysdeps/nios2/memusage.h: New file.
25381         * sysdeps/nios2/nptl/Makefile: New file.
25382         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
25383         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
25384         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
25385         * sysdeps/nios2/nptl/pthreaddef.h: New file.
25386         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
25387         * sysdeps/nios2/nptl/tls.h: New file.
25388         * sysdeps/nios2/preconfigure: New file.
25389         * sysdeps/nios2/s_fma.c: New file.
25390         * sysdeps/nios2/s_fmaf.c: New file.
25391         * sysdeps/nios2/setjmp.S: New file.
25392         * sysdeps/nios2/sfp-machine.h: New file.
25393         * sysdeps/nios2/sotruss-lib.c: New file.
25394         * sysdeps/nios2/stackguard-macros.h: New file.
25395         * sysdeps/nios2/stackinfo.h: New file.
25396         * sysdeps/nios2/start.S: New file.
25397         * sysdeps/nios2/sysdep.h: New file.
25398         * sysdeps/nios2/tls-macros.h: New file.
25399         * sysdeps/nios2/tst-audit.h: New file.
25400         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
25401         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
25402         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
25403         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
25404         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
25405         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
25406         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
25407         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
25408         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
25409         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
25410         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
25411         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
25412         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
25413         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
25414         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
25415         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
25416         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
25417         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
25418         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
25419         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
25420         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
25421         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
25422         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
25423         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
25424         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
25425         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
25426         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
25427         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
25428         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
25429         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
25430         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
25431         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
25432         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
25433         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
25434         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
25435         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
25436         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
25437         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
25438         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
25439         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
25440         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
25441         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
25442         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
25443         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
25445 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25447         [BZ #17844]
25448         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
25449         (getutent): Use weak_alias in non SHARED case
25450         and default_symbol_version in SHARED case.
25451         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
25452         (getutent_r, pututline): Likewise.
25453         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
25454         (getutid): Likewise.
25455         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
25456         (getutid_r): Likewise.
25457         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
25458         (getutline): Likewise.
25459         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
25460         (getutline_r): Likewise.
25461         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
25462         (updwtmp): Likewise.
25464 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25466         [BZ #17848]
25467         * sysdeps/s390/s390-32/memcmp.S
25468         (memcmp_g5): Rename to __memcmp_g5.
25469         * sysdeps/s390/s390-32/memcpy.S
25470         (memcpy_g5): Rename to __memcpy_g5.
25471         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25472         (memcpy_mvcle) Rename to __memcpy_mvcle.
25473         * sysdeps/s390/s390-32/memset.S
25474         (memset_g5): Rename to __memset_g5.
25475         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25476         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25477         and use prefixed functions.
25478         * sysdeps/s390/s390-32/multiarch/memcmp.S
25479         (memcmp_z196): Rename to __memcmp_z196.
25480         (memcmp_z10): Rename to __memcmp_z10.
25481         (memcmp): Set alias to __memcmp_g5.
25482         (bcmp): Set alias to __memcmp_g5.
25483         * sysdeps/s390/s390-32/multiarch/memcpy.S
25484         (memcpy_z196): Rename to __memcpy_z196.
25485         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25486         (memcpy_z10): Rename to __memcpy_z10.
25487         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25488         (memcpy): Set alias to __memcpy_g5.
25489         * sysdeps/s390/s390-32/multiarch/memset.S
25490         (memset_z196): Rename to __memset_z196.
25491         Jump to __memset_mvcle instead of memset_mvcle.
25492         (memset_z10): Rename to __memset_z10.
25493         Jump to __memset_mvcle instead of memset_mvcle.
25494         (memset_mvcle) Rename to __memset_mvcle.
25495         (memset): Set alias to __memset_g5.
25496         * sysdeps/s390/s390-64/memcmp.S
25497         (memcmp_z900): Rename to __memcmp_z900.
25498         * sysdeps/s390/s390-64/memcpy.S
25499         (memcpy_z900): Rename to __memcpy_z900.
25500         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25501         (memcpy_mvcle) Rename to __memcpy_mvcle.
25502         * sysdeps/s390/s390-64/memset.S
25503         (memset_z900): Rename to __memset_z900.
25504         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
25505         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25506         and use prefixed functions.
25507         * sysdeps/s390/s390-64/multiarch/memcmp.S
25508         (memcmp_z196): Rename to __memcmp_z196.
25509         (memcmp_z10): Rename to __memcmp_z10.
25510         (memcmp): Set alias to __memcmp_z900.
25511         (bcmp): Set alias to __memcmp_z900.
25512         * sysdeps/s390/s390-64/multiarch/memcpy.S
25513         (memcpy_z196): Rename to __memcpy_z196.
25514         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25515         (memcpy_z10): Rename to __memcpy_z10.
25516         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25517         (memcpy): Set alias to __memcpy_z900.
25518         * sysdeps/s390/s390-64/multiarch/memset.S
25519         (memset_z196): Rename to __memset_z196.
25520         Jump to __memset_mvcle instead of memset_mvcle.
25521         (memset_z10): Rename to __memset_z10.
25522         Jump to __memset_mvcle instead of memset_mvcle.
25523         (memset_mvcle) Rename to __memset_mvcle.
25524         (memset): Set alias to __memset_z900.
25526 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
25528         [BZ #17748]
25529         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
25530         __fesetenv instead of fesetenv.
25532 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25534         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
25535         macro.
25537 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25539         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
25540         regression on LE.
25542         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
25543         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
25544         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25545         strncmp-power8 object.
25546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25547         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
25548         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
25549         * NEWS: Update.
25551 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25552             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25554         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
25555         trailing byte check.
25557 2015-01-13  David S. Miller  <davem@davemloft.net>
25559         * include/signal.h (__sigreturn): Guard with __USE_MISC.
25561 2015-01-13  Roland McGrath  <roland@hack.frob.com>
25563         * login/logout.c (logout): Use memset rather than bzero.
25564         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
25565         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
25566         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
25567         (_gethtbyaddr): Likewise.
25568         * locale/programs/simple-hash.c (bcopy): Macro removed.
25570 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25572         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25573         Add strcmp-power8 object.
25574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25575         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
25576         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
25577         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
25578         __strcmp_power8 implementation.
25579         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
25580         * NEWS: Update.
25582         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25583         Add strncpy-power8 and stpncpy-power8 objects.
25584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25585         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
25586         implementations.
25587         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
25588         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
25589         __stpncpy_power8 implementation.
25590         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
25591         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
25592         __strncpy_power8 implementation.
25593         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
25594         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
25595         * NEWS: Update.
25597         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
25598         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
25599         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
25601         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25602         strncat-power8 object.
25603         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
25604         __strcat_power8 implementation.
25605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25606         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
25607         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
25608         optimized strcat for power8.
25610         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25611         strcpy-power8 and stpcpy-power8 objects.
25612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25613         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
25614         implementations.
25615         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
25616         multiarch stpcpy implementation for POWER8.
25617         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
25618         multiarch strcpy implementation for POWER8.
25619         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
25620         __strcpy_power8 function.
25621         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
25622         stpcpy for POWER8.
25623         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
25624         strcpy for POWER8.
25625         * NEWS: Update.
25627 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
25629         [BZ #16009]
25630         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
25631         weights and rules. Use do_xfrm_cached if data fits in cache,
25632         do_xfrm otherwise.  Moved former main loop to...
25633         * (do_xfrm_cached): New function.
25634         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
25635         find_idx, find_position and stack_push.
25636         * (find_idx): New function.
25637         * (find_position): Likewise.
25638         * localedata/sort-test.sh: Added test run for do_xfrm.
25639         * localedata/xfrm-test.c (main): Added command line option
25640         -nocache to run the test with strings that are too large for
25641         the STRXFRM cache.
25643 2015-01-13  Torvald Riegel  <triegel@redhat.com>
25645         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
25646         variable to lll_futex_wake call, not the value itself.
25648 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
25650         [BZ #17803]
25651         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
25652         twom64.  Adjust value to 0x1p-64L.
25653         (__scalblnl): Only return standard underflowing result for K <=
25654         -64 not K <= -63; adjust exponent for underflowing result by 64
25655         not 63.
25656         * math/libm-test.inc (scalbn_test_data): Add more tests.
25657         (scalbln_test_data): Likewise.
25659         [BZ #17834]
25660         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
25661         0x1p63L.
25662         (__scalblnl): Get new exponent of adjusted subnormal value from ES
25663         not HX.
25664         * math/libm-test.inc (scalbn_test_data): Add more tests.
25665         (scalbln_test_data): Likewise.
25667 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25668             Stefani Seibold  <stefani@seibold.net>
25670         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
25671         (sysdep_routines): Add dl-vdso here, ...
25672         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
25673         (sysdep_routines): ... not here.
25674         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
25675         fallback when vDSO is not presented.
25676         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25677         Define with libc_hidden_proto/libc_hidden_data_def definitions.
25678         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
25679         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
25680         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
25681         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
25682         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
25683         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
25684         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
25685         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
25686         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
25687         fallback configurable symbol when vDSO is not available.
25688         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
25689         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
25690         be able to redefine fallback symbol when vDSO is not available.
25691         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
25692         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
25694 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25696         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
25697         (TLS_INIT_TP): Add tm_capable initialization.
25698         (TLS_DEFINE_INIT_TP): Likewise.
25699         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
25700         TCB.
25701         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
25702         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
25703         calculation.
25704         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
25705         transactoion is lock elision is built and TCB tm_capable is set.
25706         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
25707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25708         (INTERNAL_SYSCALL_NCS): Likewise.
25709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25710         (INTERNAL_SYSCALL_NCS): Likewise.
25711         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
25713         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
25714         for powerpc.
25715         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25716         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
25717         and remove it for 32 bits case.
25718         [pthread_rwlock_t] (__rwelision): New field for lock elision.
25719         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
25720         initialization.
25721         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
25722         Disable lock elision with rdlocks if elision is not available.
25724         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
25725         (sysdep_routines): Add lock elision objects.
25726         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25727         [pthread_mutex_t] (__spins): Rework to add lock elision field.
25728         [pthread_mutex_t] (__elision): Add field.
25729         [__PTHREAD_SPINS]: Adjust to init lock elision field.
25730         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
25731         elision definitions for powerpc.
25732         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
25733         implementation of lock elision for powerpc.
25734         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
25735         implementation of timed lock elision for powerpc.
25736         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
25737         implementation of trylock with lock elision for powerpc.
25738         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
25739         implementaion of unlock for lock elision for powerpc.
25740         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
25741         automatic enable lock elision for mutexes.
25742         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
25743         transaction execution definitions for powerpc.
25744         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
25745         definitions.
25746         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
25747         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
25748         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
25749         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
25750         * NEWS: Update.
25752 2015-01-09  Roland McGrath  <roland@hack.frob.com>
25754         * sysdeps/posix/shm-directory.c: Use <> rather than ""
25755         for #include of <shm-directory.h>.
25757 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
25759         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
25760         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
25762 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
25764         [BZ #17791]
25765         * NEWS: Mention bug fix.
25766         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
25767         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
25768         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
25770 2015-01-09  Torvald Riegel <triegel@redhat.com>
25772         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
25774 2015-01-09  Torvald Riegel <triegel@redhat.com>
25776         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
25778 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25780         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
25781         pointer and cast to uintptr_t.
25783 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25785         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
25786         removed.
25787         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
25789 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25791         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
25792         of 0.
25794 2015-01-08  Roland McGrath  <roland@hack.frob.com>
25796         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
25797         <nptl/pthreadP.h> instead.
25798         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
25800         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
25801         already defined.
25802         [__SIGRTMIN] (init): Function removed.
25803         [__SIGRTMIN] (initialized): Variable removed.
25804         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
25805         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
25806         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
25807         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
25808         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
25809         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
25810         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
25811         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
25812         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
25813         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
25814         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
25815         * sysdeps/nptl/allocrtsig.c: New file.
25816         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
25817         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
25818         * sysdeps/generic/testrtsig.h: File removed.
25820         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
25821         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25823         * nptl/nptl-init.c (pthread_functions): Conditionalize
25824         .ptr__nptl_setxid initialization on [SIGSETXID].
25826         * sysdeps/nptl/sys/procfs.h: New file.
25827         * nptl_db/Makefile (headers): Add it.
25828         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
25830         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
25831         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
25832         * nptl/pthread_attr_setaffinity.c: Include it.
25833         * nptl/pthread_setattr_default_np.c: Likewise.
25834         * nptl/check-cpuset.h: New file.
25836 2015-01-08  Richard Henderson  <rth@redhat.com>
25838         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
25839         (CFLAGS-tst-execstack-prog.c): Likewise.
25840         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
25842 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
25843             Sandra Loosemore  <sandra@codesourcery.com>
25844             Andrew Jenner  <andrew@codesourcery.com>
25845             Joseph Myers  <joseph@codesourcery.com>
25846             Nathan Sidwell  <nathan@codesourcery.com>
25848         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
25849         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
25850         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
25851         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
25852         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
25853         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
25854         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
25855         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
25856         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
25857         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
25858         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
25859         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25860         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
25861         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
25862         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
25863         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
25864         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
25866 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25868         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
25869         timespec struct member in syscall macro.
25870         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25871         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
25872         first timeval struct member in syscall macro.
25873         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
25875 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
25877         [BZ #17748]
25878         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25879         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25880         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25881         __feupdateenv and define as weak alias of __feupdateenv.  Use
25882         libm_hidden_weak.
25883         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25884         libm_hidden_def.
25885         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25886         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
25887         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25888         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25889         libm_hidden_def.
25890         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
25891         __feupdateenv and define as weak alias of __feupdateenv.  Use
25892         libm_hidden_weak.
25893         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
25894         libm_hidden_def.
25895         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
25896         __feupdateenv and define as weak alias of __feupdateenv.  Use
25897         libm_hidden_weak.
25898         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25899         libm_hidden_def.
25900         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25901         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25902         (__feupdateenv): Likewise.
25903         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
25904         __feupdateenv and define as weak alias of __feupdateenv.  Use
25905         libm_hidden_weak.
25906         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25907         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
25908         libm_hidden_def.
25909         * sysdeps/tile/math_private.h (__feupdateenv): New inline
25910         function.
25911         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
25912         libm_hidden_def.
25913         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
25914         __feupdateenv instead of feupdateenv.
25915         (default_libc_feupdateenv_test): Likewise.
25916         (libc_feresetround_ctx): Likewise.
25918 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25920         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
25921         prototype.
25923 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
25925         * posix/regcomp.c (parse_bracket_exp): Initialize type to
25926         COLL_SYM in a couple of places to avoid uninitialized variable
25927         wanings on tilegx gcc 4.8.2.
25929 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25931         * sysdeps/aarch64/strcpy.S: New file.
25932         * sysdeps/aarch64/stpcpy.S: New file.
25933         * NEWS: Updated.
25935 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25937         * sysdeps/aarch64/strrchr.S: New file.
25938         * NEWS: Updated.
25940 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
25942         [BZ #17658]
25943         * stdlib/setenv.c: Fix memory leak when setting large,
25944         duplicate string.
25946 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
25948         [BZ #17273]
25949         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
25950         and tabs from buffer before parsing fstab entry.
25951         * misc/tst-mntent.c (main): Add test for mount entry with
25952         trailing spaces and tabs.
25954 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
25956         [BZ #17748]
25957         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
25958         * math/fesetround.c (fesetround): Rename to __fesetround and
25959         define as weak alias of __fesetround.  Use libm_hidden_weak.
25960         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
25961         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
25962         * sysdeps/arm/fesetround.c (fesetround): Likewise.
25963         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
25964         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
25965         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
25966         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
25967         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
25968         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
25969         __fesetround_inline.
25970         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
25971         __fesetround_inline instead of __fesetround.
25972         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
25973         __fesetround and define as weak alias of __fesetround.  Use
25974         libm_hidden_weak.  Call __fesetround_inline instead of
25975         __fesetround.
25976         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
25977         __fesetround and define as weak alias of __fesetround.  Use
25978         libm_hidden_weak.
25979         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
25980         Likewise.
25981         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
25982         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25983         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
25984         * sysdeps/tile/math_private.h (__fesetround): New inline function.
25985         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
25986         __fesetround and define as weak alias of __fesetround.  Use
25987         libm_hidden_weak.
25988         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
25989         __fesetround instead of fesetround.
25990         (default_libc_feholdexcept_setround): Likewise.
25991         (libc_feholdsetround_ctx): Likewise.
25992         (libc_feholdsetround_noex_ctx): Likewise.
25994         [BZ #17748]
25995         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
25996         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
25997         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25998         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25999         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26000         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
26001         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26002         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
26003         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26004         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26005         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26006         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26007         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26008         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26009         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
26010         libm_hidden_def.
26011         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
26012         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
26013         Likewise.
26014         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26015         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26016         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26017         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26018         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
26019         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
26020         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
26021         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
26022         __fesetenv instead of fesetenv.
26023         (libc_feresetround_noex_ctx): Likewise.
26024         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26025         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
26026         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
26027         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26028         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26029         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26030         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26031         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26032         (__feupdateenv): Likewise.
26033         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26034         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26035         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26036         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
26038 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26040         [BZ #17806]
26041         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
26042         addresses have been freed.
26044 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26046         * resolv/res_init.c (__res_vinit): Improve comments about nserv
26047         and nservall.
26049 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
26051         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
26052         Clean up check_pf allocation pattern. addresses
26054 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26056         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
26057         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
26058         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
26059         * nptl/pthread_exit.c (__pthread_exit): Likewise.
26060         * nptl/pthread_join.c (pthread_join): Likewise.
26061         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
26062         * sysdeps/posix/waitid.c (__waitid): Likewise.
26063         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26064         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26065         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26066         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26067         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26068         Likewise.
26069         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26070         (__libc_pread64): Likewise.
26071         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26072         (__libc_pwrite): Likewise.
26073         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26074         (__libc_pwrite64): Likewsie.
26075         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26076         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26077         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26078         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26079         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26080         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26081         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26083         Likewise.
26084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26085         (__libc_pread64): Likewise.
26086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
26087         Likewise.
26088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26089         (__libc_pwrite64): Likewise.
26090         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26091         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26092         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
26093         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
26094         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26095         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26096         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
26097         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26098         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26099         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26100         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
26101         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26102         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26103         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
26104         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26105         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26106         Likewise.
26108 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26110         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
26111         (CFLAGS-test-double.c): Likewise.
26112         (CFLAGS-test-ldouble.c): Likewise.
26113         (CPPFLAGS-test-ifloat.c): Likewise.
26114         (CPPFLAGS-test-idouble.c): Likewise.
26115         (CPPFLAGS-test-ildoubl.c): Likewise.
26116         (CFLAGS-test-test-fenv.c): Remove variable.
26117         (CFLAGS-test-misc.c): Likewise.
26119 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
26121         [BZ #17797]
26122         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
26123         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
26124         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
26125         CLOCKS_PER_SEC == 1000000.
26126         * time/clocktest.c (main): Replace %ld with %jd and cast to
26127         intmax_t.
26129 2015-01-05  Roland McGrath  <roland@hack.frob.com>
26131         * sysdeps/generic/unwind-resume.h: New file.
26132         * sysdeps/gnu/unwind-resume.c: Include it.
26133         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
26134         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
26135         argument list.
26136         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
26137         global rather than static.
26138         (_Unwind_Resume): Update user.
26139         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
26140         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
26141         rather than static.  Add __attribute__ ((cold)).
26142         (_Unwind_Resume, __gcc_personality_v0): Update callers.
26143         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
26144         * sysdeps/arm/arm-unwind-resume.S: New file.
26145         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
26146         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
26147         * sysdeps/arm/Makefile [$(subdir) = csu]
26148         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
26149         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26150         Add rt-arm-unwind-resume.
26151         [$(subdir) = nptl]
26152         (libpthread-sysdep_routines, libpthread-shared-only-routines):
26153         Add pt-arm-unwind-resume.
26154         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
26155         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
26157 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26159         [BZ #17748]
26160         * include/fenv.h (__feholdexcept): Declare.  Use
26161         libm_hidden_proto.
26162         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
26163         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
26164         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26165         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
26166         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
26167         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
26168         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
26169         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26170         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
26171         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
26172         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26173         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
26174         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
26175         (feholdexcept): Likewise.
26176         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26177         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26178         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26179         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26180         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
26181         __feholdexcept instead of feholdexcept.
26182         (default_libc_feholdexcept_setround): Likewise.
26184 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26186         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
26187         to avoid using stl/str to align destination.
26189 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26191         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
26193 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26195         [BZ #17796]
26196         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
26197         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
26198         Define as weak alias not strong alias.
26200 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26202         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
26203         bltzal with addiupc.
26204         (RTLD_START): Ditto.
26206 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
26208         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
26209         for __vdso_* functions in declarations.
26210         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
26211         definitions.
26212         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
26213         INTERNAL_VSYSCALL): Use struct return types to check for error.
26215         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
26216         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
26217         function with cast from llround().
26218         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
26219         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26220         Define.
26222 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26224         [BZ #17793]
26225         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
26226         Define as weak alias not strong alias.
26228         [BZ #17635]
26229         * ctype/ctype-c99.c: New file.  isblank implementation moved from
26230         ...
26231         * ctype/ctype-extn.c: ... here.
26232         (__isblank_l): Move to ...
26233         * ctype/ctype-c99_l.c: ... here.  New file.
26234         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
26235         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
26236         Remove variable.
26237         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26238         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26239         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26240         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26241         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26243         [BZ #17777]
26244         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
26245         (posix_fadvise64): Define as weak alias not strong alias.
26246         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26247         (posix_fallocate64): Likewise.
26248         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
26249         Remove variable.
26250         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26251         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26252         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26253         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26254         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26256 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
26258         [BZ #16191]
26259         * NEWS: Mention bug fix.
26260         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
26261         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
26262         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
26263         (HOST_STACK_END_ADDR): Likewise.
26265 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26267         [BZ #17748]
26268         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
26269         * math/fegetround.c (fegetround): Rename to __fegetround and
26270         define as weak alias of __fegetround.  Use libm_hidden_weak.
26271         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
26272         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
26273         * sysdeps/arm/fegetround.c (fegetround): Likewise.
26274         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
26275         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26276         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
26277         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
26278         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
26279         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26280         Undefine after rather than before function definition; use
26281         parentheses around function name in definition.
26282         (__fegetround): Also undefine macro after function definition.
26283         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
26284         __fegetround and define as weak alias of __fegetround.  Use
26285         libm_hidden_weak.  Do not undefine as macro.
26286         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26287         Likewise.
26288         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
26289         __fegetround and define as weak alias of __fegetround.  Use
26290         libm_hidden_weak.
26291         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26292         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26293         * sysdeps/tile/math_private.h (__fegetround): New inline function.
26294         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
26295         __fegetround and define as weak alias of __fegetround.  Use
26296         libm_hidden_weak.
26297         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
26298         __fegetround instead of fegetround.
26300         [BZ #17782]
26301         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
26302         Condition macro definition on [__USE_MISC].
26304         [BZ #17781]
26305         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
26306         (struct sigaction): Change type of sa_flags field to int.
26308         [BZ #17780]
26309         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
26310         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
26311         __glibc_reserved0.
26313         * nptl/version.c (banner): Use single year in copyright notice.
26315         * NEWS: Update copyright dates.
26316         * catgets/gencat.c (print_version): Likewise.
26317         * csu/version.c (banner): Likewise.
26318         * debug/catchsegv.sh: Likewise.
26319         * debug/pcprofiledump.c (print_version): Likewise.
26320         * debug/xtrace.sh (do_version): Likewise.
26321         * elf/ldconfig.c (print_version): Likewise.
26322         * elf/ldd.bash.in: Likewise.
26323         * elf/pldd.c (print_version): Likewise.
26324         * elf/sotruss.sh: Likewise.
26325         * elf/sprof.c (print_version): Likewise.
26326         * iconv/iconv_prog.c (print_version): Likewise.
26327         * iconv/iconvconfig.c (print_version): Likewise.
26328         * locale/programs/locale.c (print_version): Likewise.
26329         * locale/programs/localedef.c (print_version): Likewise.
26330         * login/programs/pt_chown.c (print_version): Likewise.
26331         * malloc/memusage.sh (do_version): Likewise.
26332         * malloc/memusagestat.c (print_version): Likewise.
26333         * malloc/mtrace.pl: Likewise.
26334         * manual/libc.texinfo: Likewise.
26335         * nptl/version.c (banner): Likewise.
26336         * nscd/nscd.c (print_version): Likewise.
26337         * nss/getent.c (print_version): Likewise.
26338         * nss/makedb.c (print_version): Likewise.
26339         * posix/getconf.c (main): Likewise.
26340         * scripts/test-installation.pl: Likewise.
26341         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
26343 2015-01-02  Will Newton  <will.newton@linaro.org>
26345         * sysdeps/arm/armv7/configure: Removed.
26346         * sysdeps/arm/armv7/configure.ac: Likewise.
26348 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26350         * All files with FSF copyright notices: Update copyright dates
26351         using scripts/update-copyrights.
26352         * intl/plural.c: Regenerated.
26353         * locale/programs/charmap-kw.h: Likewise.
26354         * locale/programs/locfile-kw.h: Likewise.
26356 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26358         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
26360 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26362         [BZ #17748]
26363         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
26364         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
26365         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26366         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26367         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26368         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
26369         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26370         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
26371         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26372         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26373         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26374         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26375         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26376         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26377         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
26378         libm_hidden_def.
26379         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
26380         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
26381         Likewise.
26382         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26383         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26384         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26385         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26386         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
26387         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26388         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26389         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
26390         __fegetenv instead of fegetenv.
26391         (libc_feholdsetround_noex_ctx): Likewise.
26393 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26395         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
26396         (Elf_MIPS_ABIFlags_v0): New structure.
26397         (EF_MIPS_FP64): Define.
26398         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
26399         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
26400         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
26401         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
26402         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
26403         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
26404         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
26405         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
26406         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
26407         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
26408         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
26409         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
26410         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
26411         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
26412         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
26413         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
26414         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
26415         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
26416         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
26417         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
26418         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
26419         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
26420         field.
26421         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
26422         EF_MIPS_FP64.
26423         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
26424         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
26425         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
26426         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
26427         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
26428         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
26429         * sysdeps/mips/tst-abi-interlink.c: Likewise.
26430         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
26431         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
26432         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
26433         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
26434         record the current FP ABI extension.
26435         (mips-mode-switch): Define to show if kernel headers support mode
26436         switching.
26437         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26438         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
26439         supported SYSV ABI version to 3.
26440         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
26441         feature.
26443 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26444             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26446         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
26447         path.
26448         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
26450 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26452         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
26453         __fegetround and redefine to call __fegetround.  Remove condition
26454         on [!__NO_MATH_INLINES].
26455         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
26456         function.
26457         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
26458         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26459         Remove macro.
26460         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
26461         instead of <fenv_libc.h>.
26462         (__llrintl): Call fegetround instead of __fegetround.
26463         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
26464         instead of <fenv_libc.h>.
26465         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26466         (__lrintl): Call fegetround instead of __fegetround.
26467         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
26468         instead of <fenv_libc.h>.
26469         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26470         (__rintl): Call fegetround instead of __fegetround.
26472 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26474         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
26475         arrays.
26477 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26479         [BZ #17775]
26480         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
26481         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
26482         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
26484 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26486         * sysdeps/i386/tls-macros.h: Include <features.h>.
26487         (TLS_LE): Use non-PIC version for GCC >= 5.0.
26488         (TLS_IE): Likewise.
26489         (TLS_LD): Likewise.
26490         (TLS_GD): Likewise.
26491         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
26492         define for GCC >= 5.0.
26494 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
26496         * math/test-fenv.c (test_single_exception, set_single_exc,
26497         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
26498         feexcp_mask_test, feenable_test, fe_single_test): Add
26499         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
26500         case where they are not used.
26501         * math/libm-test.inc: Likewise.
26502         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
26503         unused in the absence of FP rounding/exception support.
26504         * stdio-common/tst-printf-round.c: Likewise.
26505         * stdlib/tst-strtod-round.c: Likewise.
26506         * stdlib/tst-strtod-underflow.c: Likewise.
26508 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
26510         [BZ #17723]
26511         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
26512         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
26513         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26514         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26515         libm_hidden_weak.
26516         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
26517         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26518         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
26519         libm_hidden_def.
26520         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26521         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26522         libm_hidden_weak.
26523         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
26524         Likewise.
26525         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
26526         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26527         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26528         libm_hidden_weak.
26529         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26530         libm_hidden_def.
26531         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26532         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
26533         (__feraiseexcept): Likewise.
26534         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26535         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26536         libm_hidden_weak.
26537         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26538         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26539         libm_hidden_def.
26540         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
26541         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
26542         Use libm_hidden_def.
26543         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
26544         libm_hidden_def.
26545         (feraiseexcept): Define as weak not strong alias.  Use
26546         libm_hidden_weak.
26547         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
26548         New inline function.  Factored out of ...
26549         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
26550         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
26551         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
26552         feraiseexcept.
26553         * math/w_acos.c (__acos): Likewise.
26554         * math/w_asin.c (__asin): Likewise.
26555         * math/w_ilogb.c (__ilogb): Likewise.
26556         * math/w_j0.c (y0): Likewise.
26557         * math/w_j1.c (y1): Likewise.
26558         * math/w_jn.c (yn): Likewise.
26559         * math/w_log.c (__log): Likewise.
26560         * math/w_log10.c (__log10): Likewise.
26561         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
26562         * sysdeps/aarch64/fpu/math_private.h
26563         (libc_feupdateenv_test_aarch64): Likewise.
26564         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26565         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
26566         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
26567         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26568         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26569         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26570         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
26571         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26572         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26573         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26575 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26577         [BZ #17732]
26578         * io/test-utime.c (main): Replace %ld with %jd and cast to
26579         intmax_t.
26580         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
26581         * nptl/tst-mutex5.c: Include <stdint.h>.
26582         (do_test): Replace %ld with %jd and cast to intmax_t.
26583         * posix/tst-regex.c (run_test): Likewise.
26584         (run_test_backwards): Likewise.
26585         * rt/tst-clock.c: Include <stdint.h>.
26586         (clock_test): Replace %ld with %jd and cast to intmax_t.
26587         * rt/tst-cpuclock1.c: Include <stdint.h>.
26588         (do_test): Replace %lu with %ju and cast to uintmax_t.
26589         * rt/tst-cpuclock2.c: Include <stdint.h>.
26590         (do_test): Replace %lu with %ju and cast to uintmax_t.
26591         * rt/tst-mqueue1.c: Include <stdint.h>.
26592         (check_attrs): Replace %ld with %jd and cast to intmax_t.
26593         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
26594         intmax_t.
26595         * rt/tst-mqueue4.c (do_test): Likewise.
26596         * rt/tst-timer4.c: Include <stdint.h>.
26597         (check_ts): Replace %ld with %jd and cast to intmax_t.
26598         (do_test): Likewise.
26599         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
26600         and cast to intmax_t.
26601         * sysdeps/pthread/tst-timer.c (main): Likewise.
26602         * time/clocktest.c (main): Likewise.
26603         * time/tst-posixtz.c (do_test): Likewise.
26604         * timezone/tst-timezone.c (main): Likewise.
26606 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26607             H.J. Lu  <hongjiu.lu@intel.com>
26609         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
26610         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
26611         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
26612         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
26613         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
26614         version if bit_Fast_Unaligned_Load is set.
26615         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26616         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26617         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26618         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26619         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26620         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26621         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26622         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
26623         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
26624         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
26625         to 4.
26626         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
26627         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
26628         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
26629         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
26631 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
26633         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
26634         instead of #if to avoid a Wundef warning.
26635         * stdlib/tst-limits.c (do_test): Likewise.
26637         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
26638         parallel other exception macros.
26639         (fegetenv): Convert from macro to extern inline so that it applies
26640         retroactively to inline functions already seen by the compiler.
26641         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
26643         * posix/Makefile (before-compile): Use $(objpfx) for
26644         posix-conf-vars-def.h.
26646 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26648         * posix/getconf.c (main): Use size_t for type of I.
26649         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
26650         NSPEC.
26652         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
26653         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
26654         * posix/posix-envs.def: Likewise.
26655         * sysdeps/posix/sysconf.c: Likewise.
26656         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
26657         (specs): Remove array.
26658         * scripts/gen-posix-conf-vars.awk: Support generation of specs
26659         array.
26661         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
26662         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
26663         (__sysconf): Use CONF_IS_* macros.
26665         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
26666         ($(objpfx)posix-conf-vars-def.h): New target.
26667         * posix/posix-conf-vars.list: New file.
26668         * posix/posix-conf-vars.h: New file.
26669         * posix/confstr.c: Include posix-conf-vars.h.
26670         (confstr): Use CONF_IS_* macros.
26671         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
26672         CONF_IS_* macros.
26673         * scripts/gen-posix-conf-vars.awk: New file.
26675 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
26677         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
26678         fegetround): Add no-op macros to avoid linknamespace issues.
26680         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
26681         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
26683         * sysdeps/unix/sysv/linux/tile/sysdep.h
26684         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
26685         assembly-specific section to avoid a redefinition warning.
26687         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
26688         long before casting to pointer to avoid a cast warning.
26690 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
26692         * sysdeps/tile/tilegx/Implies: New file.
26694 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
26696         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
26698 2014-12-23  Florian Weimer  <fweimer@redhat.com>
26700         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
26702 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26704         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
26705         not define.
26706         * sysdeps/unix/sysv/linux/utimes.c: Do not include
26707         <kernel-features.h>.
26708         (__utimes) [__NR_utimes]: Make code unconditional.
26709         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
26710         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26711         (__ASSUME_UTIMES): Do not undefine.
26712         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26713         (__ASSUME_UTIMES): Likewise.
26714         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26715         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
26716         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
26717         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
26719 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26721         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
26723 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
26725         [BZ #17747]
26726         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
26727         alias to weak alias for j0l, y0l.
26728         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
26729         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
26731         [BZ #17746]
26732         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
26733         conversion.
26735 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26737         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
26738         to zero if not already defined.
26740 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26742         [BZ #17724]
26743         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
26744         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
26745         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
26746         (char *) casts added.
26747         * sysdeps/ieee754/k_standardf.c: New file.
26748         * sysdeps/ieee754/k_standardl.c: Likewise.
26749         * math/Makefile (libm-support): Remove k_standard.
26750         (libm-calls): Add k_standard.
26752 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26754         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26755         Optimize to avoid an unnecessary FPCR read.
26757 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26759         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26760         Optimize to reduce FPCR/FPSR accesses.
26762 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26764         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
26765         Call libc_fetestexcept_aarch64.
26767 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26769         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
26770         Call libc_fesetround_aarch64.
26772 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26774         [BZ #17733]
26775         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
26776         (__bind): Do not define as weak alias.
26777         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
26778         define.
26779         (__getsockname): Do not define as weak alias.
26781 2014-12-22  Will Newton  <will.newton@linaro.org>
26783         * manual/install.texi: Document that we require bison 2.7
26784         or above.
26785         * INSTALL: Regenerate.
26786         * configure.ac: Use AC_CHECK_PROG_VER instead of
26787         AC_PATH_PROG when checking for bison and check for
26788         version 2.7 or above.
26789         * configure: Regenerate.
26791 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
26793         [BZ #17745]
26794         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
26795         * sysdeps/tile/ffsll.c (ffsll): To here.
26797         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
26799 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26801         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
26802         if not defined.
26803         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
26804         definition.
26805         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26806         hidden ___tls_get_addr.
26807         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26808         hidden __tls_get_addr.
26809         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
26810         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
26811         Likewise.
26813 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26815         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
26816         _dl_init call.
26818 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26820         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
26821         from "call _dl_init@PLT".
26822         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
26824 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
26826         * manual/search.texi: (Array Sort Function): Clarify stable sorting
26827         guarantees.
26829 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
26831         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
26833 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26835         [BZ #17744]
26836         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
26837         strnlen.
26839 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26841         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
26842         of multu on MIPSr6.
26843         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
26844         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
26845         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
26846         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
26847         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
26849 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26851         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
26852         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
26853         (PTR_SUBU): Use subu for mips32r6/mips64r6.
26854         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
26855         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
26856         mips32r6/mips64r6.
26857         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
26859 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
26861         * string/strncat.c (STRNCAT): Simplify implementation.
26863 2014-12-19  David S. Miller  <davem@davemloft.net>
26865         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
26866         access the quad as both a long double and as a series of 4 words.
26868         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
26869         link_map->l_info array access.
26871 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26873         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
26875         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
26876         * math/atest-exp2.c (TIMEOUT): Likewise.
26877         * math/atest-sincos.c (TIMEOUT): Likewise.
26879 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26881         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26882         -Wno-error with -fno-builtin-lround.
26884 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26886         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26887         Contains futex constants and functions moved over from ...
26888         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
26889         <lowlevellock-futex.h>.
26890         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26891         (lll_timedwait_tid): Add comments and parentheses around macro
26892         arguments.
26894 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26896         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
26897         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
26898         (__lll_private_flag): Remove.
26899         (lll_futex_wait): Likewise.
26900         (lll_futex_timed_wait): Likewise.
26901         (lll_futex_wake): Likewise.
26902         (lll_futex_requeue): Likewise.
26903         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26904         (__lll_timedwait_tid): Spell out argument names.
26905         (lll_timedwait_tid): Add comments and parentheses around macro
26906         arguments.
26907         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
26908         LLL_SHARED and LLL_PRIVATE usable from assembly code.
26910 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26912         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
26913         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26914         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26915         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
26916         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
26917         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
26918         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
26919         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
26920         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
26921         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
26922         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
26923         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
26924         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
26925         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
26926         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
26927         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
26928         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
26929         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
26930         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
26932 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26934         * sysdeps/x86_64/x32/Makefile: New file.
26936 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26938         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
26939         1L with (mp_limb_t) 1.
26941 2014-12-17  Roland McGrath  <roland@hack.frob.com>
26943         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
26944         * nptl/libc_pthread_init.c: ... here.
26945         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
26946         * nptl/register-atfork.c: ... here.
26948         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
26949         Use pthread_sigmask rather than INTERNAL_SYSCALL.
26950         Use assert_perror to check its return value.
26951         (__gai_create_helper_thread): Likewise.
26953         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
26955         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
26957 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
26959         [BZ #17725]
26960         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
26961         __profil_counter.
26962         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
26963         Likewise.
26964         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
26965         Likewise.
26966         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
26967         Likewise.
26968         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
26969         (profil_counter): Likewise.
26970         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
26971         (profil_counter): Likewise.
26972         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
26973         Likewise.
26974         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
26975         Likewise.
26976         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
26977         (profil_counter): Likewise.
26978         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
26979         Likewise.
26980         [!__profil_counter] (profil_counter): Define as weak alias of
26981         __profil_counter.
26982         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
26983         (profil_counter): Rename to __profil_counter.
26984         [!__profil_counter] (profil_counter): Define as weak alias of
26985         __profil_counter.
26986         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
26987         (profil_counter): Rename to __profil_counter.
26988         [!__profil_counter] (profil_counter): Define as weak alias of
26989         __profil_counter.
26990         * sysdeps/posix/profil.c: Update comment referring to
26991         profil_counter.
26992         (__profil): Use __profil_counter instead of profil_counter.
26993         * sysdeps/posix/sprofil.c (profil_counter): Rename to
26994         __profil_counter.  Use __profil_counter_ushort and
26995         __profil_counter_uint in definitions.
26996         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
26997         instead of profil_counter_uint and profil_counter_ushort.
26999         [BZ #17722]
27000         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
27001         define as weak alias of __inet_makeaddr.
27002         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
27003         as weak alias of __inet_addr.
27004         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
27005         as weak alias of __inet_pton.  Use libc_hidden_weak.
27006         * include/arpa/inet.h (__inet_pton): Declare.  Use
27007         libc_hidden_proto.
27008         (inet_makeaddr): Don't use libc_hidden_proto.
27009         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
27010         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
27011         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
27012         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
27013         Remove variable.
27014         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27015         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27017 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
27019         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
27021 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27023         * stdio-common/bug-vfprintf-nargs.c (do_test):
27024         Cast value to intptr_t to avoid format warning
27025         for usage with PRIdPTR printing macro.
27027 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27029         * libio/tst-widetext.c (do_test):
27030         Use format type %td instead of %Zd for ptrdiff_t
27031         in order to avoid format warning.
27033 2014-12-17  Andreas Schwab  <schwab@suse.de>
27035         * nscd/mem.c (gc): Add size_t cast to match printf format.
27037 2014-12-16  Roland McGrath  <roland@hack.frob.com>
27039         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
27040         (init): Apply PTR_MANGLE to pointers before storing them.
27041         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
27042         before using them.
27044 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
27046         [BZ #17719]
27047         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
27048         define as weak alias of __memrchr.
27049         (__memrchr): Do not define as strong alias of memrchr.
27050         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
27051         Remove variable.
27052         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27053         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27054         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27056         [BZ #17717]
27057         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
27058         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
27059         (if_indextoname): Rename to __if_indextoname and define as weak
27060         alias of __if_indextoname.  Use libc_hidden_weak.
27061         (if_freenameindex): Rename to __if_freenameindex and define as
27062         weak alias of __if_freenameindex.
27063         (if_nameindex): Rename to __if_nameindex and define as weak alias
27064         of __if_nameindex.
27065         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
27066         __if_nametoindex and define as weak alias of __if_nametoindex.
27067         Use libc_hidden_weak.
27068         (if_freenameindex): Rename to __if_freenameindex and define as
27069         weak alias of __if_freenameindex.
27070         (if_nameindex): Rename to __if_nameindex and define as weak alias
27071         of __if_nameindex.
27072         (if_indextoname): Rename to __if_indextoname and define as weak
27073         alias of __if_indextoname.  Use libc_hidden_weak.
27074         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
27075         __if_nametoindex and define as weak alias of __if_nametoindex.
27076         Use libc_hidden_weak.
27077         (if_freenameindex): Rename to __if_freenameindex and define as
27078         weak alias of __if_freenameindex.  Use libc_hidden_weak.
27079         (if_nameindex_netlink): Use __if_freenameindex instead of
27080         if_freenameindex.
27081         (if_nameindex): Rename to __if_nameindex and define as weak alias
27082         of __if_nameindex.  Use libc_hidden_weak.
27083         (if_indextoname): Rename to __if_indextoname and define as weak
27084         alias of __if_indextoname.  Use libc_hidden_weak.
27085         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
27086         libc_hidden_proto.
27087         [!_ISOMAC] (__if_freenameindex): Likewise.
27088         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
27089         if_nametoindex.
27090         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
27091         variable.
27092         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27093         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27094         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27095         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27096         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27097         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27098         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27100         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
27101         Remove variable.
27102         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27103         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27105 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27107         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
27108         subscript above bounds'
27110         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
27111         bounds.
27113 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
27115         * libio/tst-fopenloc.c: Use test-skeleton.c.
27117         * stdlib/tst-bsearch.c: Use test-skeleton.c.
27118         (entry): Rename to ITEM.
27119         (do_test, comp): Adjust.
27121         * stdio-common/tst-fseek.c: Use test-skeleton.c.
27123 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27125         * string/tester.c: Include <libc-internal.h>.
27126         (test_memset): Ignore -Wmemset-transposed-args.
27128 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27130         * misc/tst-mntent2.c (do_test): Fix warning.
27132 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27134         * elf/tst-unique4lib.cc(a): Mark as used.
27136 2014-12-16  Florian Weimer  <fweimer@redhat.com>
27138         [BZ #17630]
27139         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
27140         names.
27142 2014-12-16  Allan McRae  <allan@archlinux.org>
27144         * stdio-common/Makefile (tests): Re-add bug26.
27146 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
27148         [BZ #17657]
27149         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
27150         static array.
27152 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
27154         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
27155         (__lll_lock_wait): Likewise.
27156         (__lll_timedlock_wait): Likewise.
27157         (__lll_timedwait_tid): Likewise.
27158         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
27159         (__lll_robust_timedlock_wait): Likewise.
27160         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
27161         (lll_cond_trylock): Likewise.
27162         (__lll_lock): Likewise.
27163         (__lll_robust_lock): Likewise.
27164         (__lll_cond_lock): Likewise.
27165         (lll_robust_cond_lock): Likewise.
27166         (__lll_timedlock): Likewise.
27167         (__lll_robust_timedlock): Likewise.
27168         (__lll_unlock): Likewise.
27169         (__lll_robust_unlock): Likewise.
27170         (lll_wait_tid): Likewise.
27171         (lll_timedwait_tid): Likewise.
27173 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27175         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
27177 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27179         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
27181 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27183         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
27184         * stdio-common/tst-sprintf.c: Likewise.
27186 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27188         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
27190 2014-12-15  Jeff Law  <law@redhat.com>
27192         [BZ #16617]
27193         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
27194         on the heap.  (CVE-2012-3406)
27195         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
27196         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
27197         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
27199 2014-12-15  Will Newton  <will.newton@linaro.org>
27201         * manual/install.texi: Bump required version of texinfo
27202         to 4.7 from 4.5.
27203         * INSTALL: Regenerated.
27204         * configure.ac: Check for makeinfo version 4.7 and above.
27205         * configure: Regenerated.
27207 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27209         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
27210         PREFIX, string constant to insert between directory and name.
27211         * sysdeps/posix/shm_open.c: Update caller.
27212         * sysdeps/posix/shm_unlink.c: Likewise.
27213         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
27214         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
27215         (SEM_SHM_PREFIX): New macro.
27216         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
27217         [$(have-thread-library) = no].
27218         * nptl/Makefile (libpthread-routines): Add shm-directory.
27219         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
27220         * sysdeps/nptl/shm-directory.h: New file.
27221         * sysdeps/posix/shm-directory.c
27222         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
27223         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
27224         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
27225         INTERNAL_SYSCALL.
27226         (__where_is_shmfs): Function removed.
27227         (mountpoint, defaultmount, defaultdir, __namedsem_once):
27228         Variables removed.
27229         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
27230         Use SHM_GET_NAME.
27231         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
27233         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
27234         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
27235         unconditional for use inside libpthread.
27236         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
27238 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27240         * nptl/pthread_getaffinity.c: New file.
27241         * nptl/pthread_setaffinity.c: New file.
27242         * nptl/pthread_getname.c: New file.
27243         * nptl/pthread_setname.c: New file.
27245         * nptl/pthread_create.c (START_THREAD_DEFN)
27246         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
27248 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27249             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27251         * resolv/res_send.c (send_vc): Disable warning resplen may
27252         be used uninitialized.
27254 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27256         * nptl/tst-mutex6.c
27257         (ATTR_NULL): New define checks ATTR against NULL.
27258         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
27259         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
27261 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
27263         [BZ #17581]
27264         * malloc/hooks.c
27265         (mem2mem_check): Revert my previous change.
27266         (malloc_check_get_size): Revert my previous change.
27267         (mem2chunk_check): Revert my previous change.
27269 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27271         * sysdeps/posix/shm-directory.c: New file.
27272         * sysdeps/posix/shm-directory.h: New file.
27273         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
27274         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
27275         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
27276         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
27277         Transmute EPERM to EACCES.
27278         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
27279         from ...
27280         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
27281         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
27283 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27285         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
27286         pointer and cast to uintptr_t.
27287         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
27288         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
27289         Add cast to avoid warning.
27290         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
27292 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27294         * nptl/semaphore.h: Move to ...
27295         * sysdeps/pthread/semaphore.h: ... here.
27296         * Makefile (installed-headers): Change nptl/semaphore.h to
27297         sysdeps/pthread/semaphore.h.
27299 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27301         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
27302         generated error format strings.
27304         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
27305         -Wformat-extra-args warnings for scanf formats.
27306         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
27307         test of zero-length format (duh).
27308         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
27309         corner-case scanf format test.
27310         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
27311         generated fprintf format string.
27312         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
27313         corner-case sprintf format tests.
27314         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
27315         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
27316         -Wformat-extra-args warnings throughout.
27317         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
27318         (CFLAGS-scanf4.c): Likewise.
27319         (CFLAGS-scanf7.c): Likewise.
27320         (CFLAGS-tst-sprintf.c): Likewise.
27321         (CFLAGS-tst-printf.c): Likewise.
27322         (CFLAGS-tst-printfsz.c): Likewise.
27324 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27326         * include/cpio.h: New file.
27327         * include/fmtmsg.h: Likewise.
27329         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
27330         corresponding format argument to size_t.
27331         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
27332         arguments.
27333         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
27334         corresponding format argument to size_t.
27335         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
27336         arguments.
27337         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
27338         corresponding format argument to size_t.
27339         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
27340         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
27341         (CFLAGS-tst-mbswcs2.c): Likewise.
27342         (CFLAGS-tst-mbswcs3.c): Likewise.
27343         (CFLAGS-tst-mbswcs4.c): Likewise.
27344         (CFLAGS-tst-mbswcs5.c): Likewise.
27345         (CFLAGS-tst-trans.c): Likewise.
27347 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27349         * posix/regexbug1.c (main): Use "%s" format with regerror results,
27350         rather than assuming they won't contain any '%'s.
27352 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
27354         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
27355         inhibit_loop_to_libcall to avoid recursive calls.
27356         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
27357         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
27359 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27361         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
27362         prototype.
27364 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27366         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
27367         integer value instead of boolean.
27369 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27371         * malloc/malloc.c: Fix powerof2 check.
27373 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27375         * locale/programs/locfile.h (maybe_swap_uint32):
27376         Remove inline and add unused attribute.
27378 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27380         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27381         Truncating assembler expression to a .long expression.
27383 2014-12-11  Andreas Schwab  <schwab@suse.de>
27385         * elf/rtld.c (struct map_args): Constify str member.
27386         (do_preload): Constify fname argument.
27388 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27390         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
27391         constants definition.
27393 2014-12-11  Andreas Schwab  <schwab@suse.de>
27395         [BZ #16657]
27396         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
27397         FORCE_ELISION instead of DO_ELISION.
27398         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
27399         Remove.
27400         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
27401         Likewise.
27403         * iconvdata/gconv-modules: Remove duplicate entry.
27405 2014-12-11  Will Newton  <will.newton@linaro.org>
27407         Merge gettext 0.19.3 into intl/.
27409         This involves a number of cosmetic changes to comments
27410         and ANSI function definitions and prototypes throughout
27411         all the files. The gettext copyright header is used but
27412         with the date ranges taken from the glibc copy.
27414         * NEWS: Add gettext merge to 2.21.
27415         * intl/bindtextdom.c: Switch to gettext copyright.
27416         Use ANSI definitions and prototypes.
27417         Use gl_* locking primitives rather than __libc_* ones.
27418         Use __builtin_expect rather than __glibc_likely/unlikely.
27419         * intl/dcgettext.c: Switch to gettext copyright.
27420         Use ANSI definitions and prototypes.
27421         * intl/dcigettext.c: Switch to gettext copyright.
27422         Use ANSI definitions and prototypes.
27423         (INTDIV0_RAISES_SIGFPE): New define.
27424         Use gl_* locking primitives rather than __libc_* ones.
27425         Include eval-plural.h instead of plural-eval.c.
27426         Use __builtin_expect rather than __glibc_likely/unlikely.
27427         * intl/dcngettext.c: Switch to gettext copyright.
27428         Use ANSI definitions and prototypes.
27429         * intl/dgettext.c: Likewise.
27430         * intl/dngettext.c: Likewise.
27431         * intl/plural-eval.c: Renamed to...
27432         * intl/eval-plural.h: ...this.
27433         * intl/explodename.c: Switch to gettext copyright.
27434         Use ANSI definitions and prototypes.
27435         (_nl_explode_name): Use strchr instead of __rawmemchr.
27436         * intl/finddomain.c: Switch to gettext copyright.
27437         Use ANSI definitions and prototypes.
27438         Use gl_* locking primitives rather than __libc_* ones.
27439         (_nl_find_domain): Use malloc rather than alloca for
27440         allocation of temporary locale name.
27441         * intl/gettext.c: Switch to gettext copyright.
27442         Use ANSI definitions and prototypes.
27443         * intl/gettextP.h: Switch to gettext copyright.
27444         Use ANSI definitions and prototypes.
27445         Use gl_* locking primitives rather than __libc_* ones.
27446         * intl/gmo.h: Switch to gettext copyright.
27447         (struct sysdep_string): Move struct segment_pair outside of
27448         struct definition.
27449         * intl/hash-string.c: Use ANSI definitions and prototypes.
27450         * intl/hash-string.h: Switch to gettext copyright.
27451         Use ANSI definitions and prototypes.
27452         * intl/l10nflist.c: Switch to gettext copyright.
27453         Use ANSI definitions and prototypes.
27454         (_nl_normalize_codeset): Avoid integer overflow.
27455         * intl/loadinfo.h: Switch to gettext copyright.
27456         Use ANSI definitions and prototypes.
27457         (LIBINTL_DLL_EXPORTED): New define.
27458         (PATH_SEPARATOR): New define.
27459         * intl/loadmsgcat.c: Switch to gettext copyright.
27460         * intl/localealias.c: Switch to gettext copyright.
27461         Use ANSI definitions and prototypes.
27462         (_nl_expand_alias): Use PATH_SEPARATOR.
27463         * intl/ngettext.c: Switch to gettext copyright.
27464         Use ANSI definitions and prototypes.
27465         * intl/plural-exp.c: Likewise.
27466         * intl/plural-exp.h: Switch to gettext copyright.
27467         Use ANSI definitions and prototypes.
27468         (struct expression): Move definition of enum operator outside
27469         of struct definition.
27470         * intl/plural.c: Regenerate.
27471         * intl/plural.y: Switch to gettext copyright.
27472         Use ANSI definitions and prototypes.
27473         Port to bison 3.0.
27474         * intl/textdomain.c: Switch to gettext copyright.
27475         Use ANSI definitions and prototypes.
27476         Use gl_* locking primitives rather than __libc_* ones.
27478 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
27480         * debug/warning-nop.c: Add used atrribute.
27482 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27484         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
27486         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
27487         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
27488         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
27490 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27491             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27493         [BZ #17634]
27494         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
27495         Undefine after defining function.  Define as weak alias of
27496         __wcschr.  Use libc_hidden_weak.
27497         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
27498         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
27499         (libc_hidden_def): Also define __GI___wcschr alias.
27500         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
27501         __wcschr and define as weak alias of __wcschr.
27502         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
27503         __wcschr.
27504         [!WCSCHR] (DEFAULT_WCSCHR): Define.
27505         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
27506         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
27507         libc_hidden_weak.  Do not use libc_hidden_def.
27508         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
27509         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
27510         __GI___wcschr alias.
27511         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
27512         [IS_IN (libc)] (wcschr): Define as macro expanding to
27513         __redirect_wcschr.
27514         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
27515         [IS_IN (libc)] (__wcschr_power6): Likewise.
27516         [IS_IN (libc)] (__wcschr_power7): Likewise.
27517         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
27518         instead of wcschr.
27519         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
27520         __libc_wcschr.
27521         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
27522         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
27523         __wcschr and define as weak alias of __wcschr.  Use
27524         libc_hidden_builtin_def.
27525         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
27526         as weak alias of __wcschr.  Use libc_hidden_weak.
27527         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
27528         wcschr.
27529         * time/era.c (_nl_init_era_entries): Likewise.
27530         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
27531         variable.
27532         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27533         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27535 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27537         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
27538         format for long int variable.
27540 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
27542         [BZ #10672]
27543         * manual/search.texi: (Array Sort Function): Remove claim how to make
27544         qsort stable.
27546 2014-12-10  Andreas Schwab  <schwab@suse.de>
27548         [BZ #12847]
27549         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
27550         user-controlled locks.
27552 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
27554         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
27555         register.
27557 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27559         * configure.ac (--disable-werror): New configure option.
27560         (enable_werror): New AC_SUBST.
27561         * configure: Regenerated.
27562         * config.make.in (enable-werror): New variable.
27563         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
27564         -Wno-error=undef.
27565         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
27566         * manual/install.texi (Configuring and compiling): Document
27567         --disable-werror.
27568         * INSTALL: Regenerated.
27569         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
27570         (CFLAGS-tst-chk2.c): Likewise.
27571         (CFLAGS-tst-chk3.c): Likewise.
27572         (CFLAGS-tst-chk4.cc): Likewise.
27573         (CFLAGS-tst-chk5.cc): Likewise.
27574         (CFLAGS-tst-chk6.cc): Likewise.
27575         (CFLAGS-tst-lfschk1.c): Likewise.
27576         (CFLAGS-tst-lfschk2.c): Likewise.
27577         (CFLAGS-tst-lfschk3.c): Likewise.
27578         (CFLAGS-tst-lfschk4.cc): Likewise.
27579         (CFLAGS-tst-lfschk5.cc): Likewise.
27580         (CFLAGS-tst-lfschk6.cc): Likewise.
27582         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
27583         (main): Disable -Wdeprecated-declarations around calls to
27584         register_printf_function.
27586         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
27587         (do_test): Disable -Wdiv-by-zero around some calls to
27588         fwrite_unlocked and fread_unlocked.
27590         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
27591         (DIAG_POP_NEEDS_COMMENT): Likewise.
27592         (_DIAG_STR1): Likewise.
27593         (_DIAG_STR): Likewise.
27594         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
27595         * stdio-common/bug21.c: Include <libc-internal.h>.
27596         (do_test): Disable -Wformat around call to sscanf.
27597         * stdio-common/scanf14.c: Include <libc-internal.h>.
27598         (main): Disable -Wformat around some calls to scanf functions.
27600 2014-12-09  Torvald Riegel  <triegel@redhat.com>
27602         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
27604 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27606         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
27607         stack variable alignment.
27609 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
27611         [BZ #17682]
27612         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
27613         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
27614         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
27615         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
27616         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
27617         __getrlimit instead of getrlimit.
27618         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
27619         __gettimeofday instead of gettimeofday.
27620         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27621         Likewise.
27622         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27623         Likewise.
27624         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27625         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
27626         Remove variable.
27627         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27628         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27630 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27632         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
27633         for wide-character tests.
27635 2014-12-04  Roland McGrath  <roland@hack.frob.com>
27637         * io/openat64.c: #include <libc-internal.h>
27638         (__openat64): Prototypify.  Use ignore_value on MODE.
27639         * io/openat.c: Likewise.
27640         * misc/reboot.c: #include <libc-internal.h>
27641         (reboot): Prototypify.  Use ignore_value on HOWTO.
27642         * misc/ptrace.c: #include <libc-internal.h>
27643         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
27645 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
27647         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
27648         XPG4, UNIX98 and XOPEN2K.
27649         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
27650         Remove variable.
27651         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27653 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27655         * libio/fileops.c: Use ISO C style for function definitions.
27656         * libio/iofopen.c: Likewise.
27657         * libio/wfileops.c: Likewise.
27659         [BZ #17653]
27660         * libio/fileops.c (_IO_new_file_underflow): Unset cached
27661         offset on EOF.
27662         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
27663         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
27664         (fgets_func): Function pointer to fgets and fgetws.
27665         (do_ftell_test): Add test to verify ftell value after read
27666         EOF.
27667         (do_test): Set fgets_func.
27669         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
27670         O_TRUNC flag for w and w+ modes.
27671         (do_rewind_test): Likewise.
27672         (do_ftell_test): Likewise.
27673         (do_write_test): Likewise.
27675         [BZ #17647]
27676         * libio/fileops.c (do_ftell): Seek only when there are
27677         unflushed writes.
27678         * libio/wfileops.c (do_ftell_wide): Likewise.
27679         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
27680         test case.
27681         (do_one_test): Call it.
27683 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
27685         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
27686         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
27687         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
27688         Remove variable.
27689         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27690         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27691         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27693 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27695         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
27696         Remove variable.
27697         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27699         [BZ #17668]
27700         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
27701         as weak alias of __getifaddrs.  Use libc_hidden_weak.
27702         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27703         __freeifaddrs.  Use libc_hidden_weak.
27704         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
27705         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
27706         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27707         __freeifaddrs.  Use libc_hidden_weak.
27708         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
27709         __getifaddrs and define as weak alias of __getifaddrs.  Use
27710         libc_hidden_weak.
27711         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27712         __freeifaddrs.  Use libc_hidden_weak.
27713         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
27714         Remove variable.
27715         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27716         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27718 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27720         [BZ #17601]
27721         * sysdeps/mips/start.S (__start): Use indirect jump to call
27722         __libc_start_main.
27724 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27726         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
27728         * nptl/tst-mutex1.c: Include <stdbool.h>.
27729         [!ATTR] (ATTR_NULL): New macro.
27730         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
27731         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
27732         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
27734         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
27735         to char *.
27737         [BZ #17665]
27738         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
27739         Change conditional to [__USE_MISC].
27741         [BZ #17664]
27742         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
27743         fgets_unlocked.
27744         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
27745         __fgets_unlocked.
27746         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
27747         fgets_unlocked.
27748         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
27749         Remove variable.
27750         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27751         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27752         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27753         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27754         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27755         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27756         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27757         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27758         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27760         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
27762 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27764         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27765         Remove strpbrk objects.
27766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27767         (__libc_ifunc_impl_list): Remove strpbrk implementation.
27768         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
27769         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
27770         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
27771         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
27773         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27774         Remove strcspn objects.
27775         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27776         (__libc_ifunc_impl_list): Remove strcspn implementation.
27777         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
27778         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
27779         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
27780         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
27782         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27783         Remove strspn objetcs.
27784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27785         (__libc_ifunc_impl_list): Remove strspn implementation.
27786         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
27787         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27788         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
27789         * sysdeps/powerpc/powerpc64/strspn.S: New file.
27791 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
27793         [BZ #17581]
27794         * malloc/hooks.c
27795         (mem2mem_check): Add a terminator to the chain of checking blocks.
27796         (malloc_check_get_size): Use it here.
27797         (mem2chunk_check): Ditto.
27799 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27801         * sysdeps/powerpc/powerpc64/strtok.S: New file.
27802         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
27804 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
27806         * bits/ioctl-types.h: Indent preprocessor directives correctly.
27808         * nptl/nptl-init.c: Include libc-internal.h.
27809         (__pthread_initialize_minimal_internal): Use ROUND_UP.
27811         * elf/ldconfig.c (search_dir): Expand comment.
27813 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
27815         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
27816         variable.
27817         (linknamespace-symlist-stdlibs-tests): Likewise.
27818         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
27819         instead of $(objpfx)symlist-stdlibs.
27820         (linknamespace-libs-isoc): New variable.
27821         (linknamespace-libs): Use $(linknamespace-libs-isoc).
27822         (linknamespace-libs-ISO): New variable.
27823         (linknamespace-libs-ISO99): Likewise.
27824         (linknamespace-libs-ISO11): Likewise.
27825         (linknamespace-libs-XPG3): Likewise.
27826         (linknamespace-libs-XPG4): Likewise.
27827         (linknamespace-libs-POSIX): Likewise.
27828         (linknamespace-libs-UNIX98): Likewise.
27829         (linknamespace-libs-XOPEN2K): Likewise.
27830         (linknamespace-libs-POSIX2008): Likewise.
27831         (linknamespace-libs-XOPEN2K8): Likewise.
27832         ($(objpfx)symlist-stdlibs): Replace by
27833         $(linknamespace-symlist-stdlibs-tests).  Use
27834         $(linknamespace-libs-$*) as set of libraries.
27835         ($(linknamespace-header-tests)): Update dependencies.  Use
27836         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
27837         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
27838         * conform/linknamespace.pl: Remove comment about considering
27839         definitions of symbols from irrelevant libraries.
27841 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
27843         [BZ #13862]
27844         * elf/dl-tls.c: Include <atomic.h>.
27845         (oom): Remove #ifdef SHARED/#endif.
27846         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
27847         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
27848         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
27849         big enough.
27850         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
27851         * nptl/Makefile (tests): Add tst-stack4.
27852         (modules-names): Add tst-stack4mod.
27853         ($(objpfx)tst-stack4): New.
27854         (tst-stack4mod.sos): Likewise.
27855         ($(objpfx)tst-stack4.out): Likewise.
27856         ($(tst-stack4mod.sos)): Likewise.
27857         (clean): Likewise.
27858         * nptl/tst-stack4.c: New file.
27859         * nptl/tst-stack4mod.c: Likewise.
27861 2014-11-27  J. Brown  <jb999@gmx.de>
27863         * sysdeps/x86/bits/string.h: Add recent CPUs.
27865 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27867         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
27868         sigblock.
27870         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
27871         feof.
27873         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
27874         variable.
27876 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
27878         * nscd/connections.c: Include libc-internal.h because of macro
27879         usage ignore_value.
27881 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27883         * string/bits/string3.h (__warn_memset_zero_len): Don't
27884         declare for gcc newer than 5.0.
27885         (memset): Don't test for zero-length __LEN for gcc newer than
27886         5.0.
27888 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27890         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
27891         size_t for %zu format.
27893         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
27894         difference, not %ju.
27896 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27898         * include/libc-internal.h (ignore_value): New macro.
27899         * nscd/connections.c (restart): Wrap calls to setuid and setgid
27900         with ignore_value.
27902         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
27903         definition.
27905         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
27906         pthread_cleanup_push to void *.
27908         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
27909         Undefine.
27911         [BZ #16619]
27912         [BZ #16740]
27913         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
27914         instead of 1L << 52.
27916         * libio/bug-rewind.c (do_test): Check fwscanf return values.
27917         * libio/bug-rewind2.c (do_test): Likewise.
27919         * debug/test-stpcpy_chk-ifunc.c: Remove file.
27920         * debug/test-strcpy_chk-ifunc.c: Likewise.
27921         * wcsmbs/test-wcschr-ifunc.c: Likewise.
27922         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27923         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27924         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27925         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27926         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27927         * Rules [$(multi-arch) = no] (tests): Do not filter out
27928         $(tests-ifunc).
27929         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
27930         * debug/Makefile (tests-ifunc): Remove variable.
27931         (tests): Do not add $(tests-ifunc).
27932         * wcsmbs/Makefile (tests-ifunc): Remove variable.
27933         (tests): Do not add $(tests-ifunc).
27934         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
27935         [TEST_IFUNC]: Remove conditionals.
27936         * string/test-string.h (TEST_IFUNC): Remove macro.
27937         [TEST_IFUNC]: Remove conditionals.
27939         * string/test-strchr.c [!WIDE] (L): New macro.
27940         [WIDE] (L): Likewise.
27941         (check1): Use CHAR instead of char.  Use L on string and character
27942         constants.
27944 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
27946         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
27947         tests.
27948         * sysdeps/powerpc/bits/atomic.h
27949         (__arch_atomic_exchange_and_add_32_acq): Add definition.
27950         (__arch_atomic_exchange_and_add_32_rel): Likewise.
27951         (atomic_exchange_and_add_acq): Likewise.
27952         (atomic_exchange_and_add_rel): Likewise.
27953         * sysdeps/powerpc/powerpc32/bits/atomic.h
27954         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27955         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27956         * sysdeps/powerpc/powerpc64/bits/atomic.h
27957         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27958         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27960 2014-11-26  Torvald Riegel  <triegel@redhat.com>
27962         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
27963         Change synchronization of __sched_fifo_min_prio and
27964         __sched_fifo_max_prio.
27965         * nptl/pthread_mutexattr_getprioceiling.c
27966         (pthread_mutexattr_getprioceiling): Likewise.
27967         * nptl/pthread_mutexattr_setprioceiling.c
27968         (pthread_mutexattr_setprioceiling): Likewise.
27969         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27970         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
27971         Likewise.
27973 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27975         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
27976         void.
27978 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27980         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
27981         third argument const.
27983 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
27985         fnmatch: work around GCC compiler warning bug with uninit var
27986         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
27987         This works around a bug with x86-64 GCC 4.9.2 and earlier
27988         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
27989         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
27990         used uninitialized in this function [-Wmaybe-uninitialized]".
27992 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27994         * posix/bug-regex31.c (main): Return RES not 0.
27996 2014-11-25  Anton Blanchard <anton@samba.org>
27998         * sysdeps/powerpc/bits/atomic.h
27999         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
28001 2014-11-24  Sterling Augustine  <saugustine@google.com>
28003         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
28005 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
28007         [BZ #17608]
28008         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
28010 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
28012         [BZ #17633]
28013         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
28014         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
28015         variable.
28016         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28017         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28019 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28021         * string/strncpy.c (strncpy): Improve performance by using memset.
28023 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28025         * string/strcpy.c (strcpy):
28026         Improve performance by using strlen and memcpy.
28028 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
28030         * string/strcoll_l.c (get_next_seq): __always_inline.
28031         * string/strcoll_l.c (do_compare): __always_inline.
28033 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28035         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
28036         defined.
28037         * include/mqueue.h: Likewise.
28038         * include/stdlib.h: Likewise.
28040         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
28041         (get_null_defines): Adjust.
28042         * sunrpc/Makefile: Adjust comment.
28043         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
28044         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
28045         (CFLAGS-interp.c): Likewise.
28046         (CFLAGS-ldconfig.c): Likewise.
28047         (CPPFLAGS-.os): Likewise.
28048         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28049         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28050         * extra-modules.mk (extra-modules.mk): Likewise.
28051         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
28052         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
28053         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
28054         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
28055         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
28056         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
28057         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
28058         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
28059         * iconvdata/Makefile (CPPFLAGS): Likewise.
28060         (cpp-srcs-left): Add libof for all iconvdata routines.
28061         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
28062         * include/assert.h: Likewise.
28063         * include/ctype.h: Likewise.
28064         * include/errno.h: Likewise.
28065         * include/libc-symbols.h: Likewise.
28066         * include/math.h: Likewise.
28067         * include/netdb.h: Likewise.
28068         * include/resolv.h: Likewise.
28069         * include/stdio.h: Likewise.
28070         * include/stdlib.h: Likewise.
28071         * include/string.h: Likewise.
28072         * include/sys/stat.h: Likewise.
28073         * include/wctype.h: Likewise.
28074         * intl/l10nflist.c: Likewise.
28075         * libidn/idn-stub.c: Likewise.
28076         * libio/libioP.h: Likewise.
28077         * nptl/libc_multiple_threads.c: Likewise.
28078         * nptl/pthreadP.h: Likewise.
28079         * posix/regex_internal.h: Likewise.
28080         * resolv/res_hconf.c: Likewise.
28081         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
28082         * sysdeps/arm/memmove.S: Likewise.
28083         * sysdeps/arm/sysdep.h: Likewise.
28084         * sysdeps/generic/_itoa.h: Likewise.
28085         * sysdeps/generic/symbol-hacks.h: Likewise.
28086         * sysdeps/gnu/errlist.awk: Likewise.
28087         * sysdeps/gnu/errlist.c: Likewise.
28088         * sysdeps/i386/i586/memcpy.S: Likewise.
28089         * sysdeps/i386/i586/memset.S: Likewise.
28090         * sysdeps/i386/i686/memcpy.S: Likewise.
28091         * sysdeps/i386/i686/memmove.S: Likewise.
28092         * sysdeps/i386/i686/mempcpy.S: Likewise.
28093         * sysdeps/i386/i686/memset.S: Likewise.
28094         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28095         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28096         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
28097         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
28098         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28099         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28100         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
28101         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28102         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28103         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28104         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28105         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28106         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28107         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28108         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28109         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28110         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
28111         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
28112         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
28113         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28114         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28115         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28116         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28117         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28118         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28119         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28120         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
28121         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28122         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
28123         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28124         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28125         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28126         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28127         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28128         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28129         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28130         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28131         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28132         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28133         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28134         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28135         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28136         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28137         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28138         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28139         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28140         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
28141         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
28142         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28143         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28144         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28145         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
28146         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
28147         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28148         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28149         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
28150         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28151         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
28152         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
28153         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28154         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28155         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28156         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
28157         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28158         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28159         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
28160         * sysdeps/posix/closedir.c: Likewise.
28161         * sysdeps/posix/opendir.c: Likewise.
28162         * sysdeps/posix/readdir.c: Likewise.
28163         * sysdeps/posix/rewinddir.c: Likewise.
28164         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
28165         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
28166         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28167         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28168         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28169         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
28170         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
28171         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
28172         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
28173         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
28174         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
28175         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
28176         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
28177         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
28178         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
28179         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
28180         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
28181         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
28182         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
28183         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
28184         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
28185         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
28186         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
28187         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
28188         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
28189         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
28190         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
28191         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
28192         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
28193         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
28194         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
28195         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
28196         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
28197         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
28198         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
28199         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
28200         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28201         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28202         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
28203         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
28204         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
28205         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
28206         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
28207         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28208         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
28209         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
28210         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
28211         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
28212         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
28213         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
28214         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
28215         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
28216         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
28217         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
28218         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
28219         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
28220         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
28221         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
28222         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
28223         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
28224         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28225         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
28226         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
28227         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
28228         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
28229         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28230         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
28231         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
28232         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
28233         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
28234         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28235         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
28236         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
28237         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
28238         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
28239         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
28240         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
28241         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
28242         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28243         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
28244         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
28245         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28246         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
28247         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
28248         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28249         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
28250         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
28251         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28252         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28253         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28254         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
28255         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
28256         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
28257         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28258         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28259         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
28260         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28261         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28262         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
28263         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
28264         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28265         * sysdeps/unix/alpha/sysdep.S: Likewise.
28266         * sysdeps/unix/alpha/sysdep.h: Likewise.
28267         * sysdeps/unix/make-syscalls.sh: Likewise.
28268         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28269         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28270         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28271         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
28272         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28273         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28274         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
28275         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28276         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28277         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
28278         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28279         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28280         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28281         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28282         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28283         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28284         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28285         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28286         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28287         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28288         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28289         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28290         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28291         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28292         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28293         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28294         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28297         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
28298         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28299         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28300         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28301         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28302         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28303         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28304         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28305         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28306         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28307         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28308         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28309         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28310         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28311         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28312         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28313         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28314         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28315         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28316         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28317         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28318         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28319         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28320         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28321         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28322         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
28323         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28324         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28325         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28326         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
28327         * sysdeps/x86_64/memcpy.S: Likewise.
28328         * sysdeps/x86_64/memmove.c: Likewise.
28329         * sysdeps/x86_64/memset.S: Likewise.
28330         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
28331         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28332         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28333         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
28334         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
28335         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28336         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28337         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28338         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28339         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28340         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28341         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28342         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
28343         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28344         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28345         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
28346         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28347         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28348         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28349         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28350         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
28351         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28352         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28353         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28354         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28355         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28356         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28357         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
28358         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28359         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28360         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
28361         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28362         * sysdeps/x86_64/strcmp.S: Likewise.
28364         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
28366         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
28367         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
28368         * elf/rtld-Rules: Likewise.
28369         * elf/setup-vdso.h: Likewise.
28370         * include/assert.h: Likewise.
28371         * include/bits/stdlib-float.h: Likewise.
28372         * include/errno.h: Likewise.
28373         * include/sys/stat.h: Likewise.
28374         * include/unistd.h: Likewise.
28375         * sysdeps/aarch64/setjmp.S: Likewise.
28376         * sysdeps/alpha/setjmp.S: Likewise.
28377         * sysdeps/arm/__longjmp.S: Likewise.
28378         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
28379         * sysdeps/arm/setjmp.S: Likewise.
28380         * sysdeps/arm/sysdep.h: Likewise.
28381         * sysdeps/generic/_itoa.h: Likewise.
28382         * sysdeps/generic/dl-sysdep.h: Likewise.
28383         * sysdeps/generic/ldsodefs.h: Likewise.
28384         * sysdeps/i386/dl-tls.h: Likewise.
28385         * sysdeps/i386/setjmp.S: Likewise.
28386         * sysdeps/m68k/setjmp.c: Likewise.
28387         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
28388         * sysdeps/mach/hurd/opendir.c: Likewise.
28389         * sysdeps/posix/getcwd.c: Likewise.
28390         * sysdeps/posix/opendir.c: Likewise.
28391         * sysdeps/posix/profil.c: Likewise.
28392         * sysdeps/powerpc/dl-procinfo.h: Likewise.
28393         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28394         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28395         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28396         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28397         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
28398         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28399         * sysdeps/s390/dl-tls.h: Likewise.
28400         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28401         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28402         * sysdeps/sh/sh3/setjmp.S: Likewise.
28403         * sysdeps/sh/sh4/setjmp.S: Likewise.
28404         * sysdeps/unix/alpha/sysdep.h: Likewise.
28405         * sysdeps/unix/arm/sysdep.S: Likewise.
28406         * sysdeps/unix/i386/sysdep.S: Likewise.
28407         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28408         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28409         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28410         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28411         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28412         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28413         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28414         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28415         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28416         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28417         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28418         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28419         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28422         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28423         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28424         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28425         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28426         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28427         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28428         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28429         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28430         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28431         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28432         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28433         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28434         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28435         * sysdeps/x86_64/setjmp.S: Likewise.
28437         * include/math.h: Use IS_IN instead of IS_IN_libm.
28438         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
28439         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28440         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28441         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
28442         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28443         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28444         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28445         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28446         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28447         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28448         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
28449         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
28450         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
28451         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
28452         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
28453         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
28454         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28455         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
28456         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28457         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
28458         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
28459         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
28460         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
28461         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
28462         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
28463         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
28464         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
28465         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28466         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28467         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
28468         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
28469         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28470         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
28472         Likewise.
28473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
28474         Likewise.
28475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
28476         Likewise.
28477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
28478         Likewise.
28479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
28480         Likewise.
28481         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28482         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
28483         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28484         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28485         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28486         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
28488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
28489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
28490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
28491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
28492         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
28493         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
28494         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28495         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28496         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28497         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28498         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28499         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28500         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28501         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
28502         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
28503         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
28504         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
28505         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
28506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28507         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
28509         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
28510         * nptl/pthreadP.h: Likewise.
28511         * nptl_db/structs.def: Likewise.
28512         * sysdeps/arm/sysdep.h: Likewise.
28513         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28514         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28515         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
28516         * sysdeps/unix/alpha/sysdep.h: Likewise.
28517         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28518         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28519         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28520         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28521         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28522         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28523         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28524         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28525         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28526         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28527         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28528         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28529         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28530         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28533         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28534         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28535         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28536         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28537         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28538         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28539         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28540         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28541         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
28542         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28544         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
28545         * nptl/pthreadP.h: Likewise.
28546         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28547         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28548         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28549         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28550         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28551         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28552         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28553         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28554         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28555         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28556         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28557         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28559         Likewise.
28560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28561         Likewise.
28562         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28563         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28564         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28565         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28566         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28567         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28568         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28569         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28571         * dlfcn/dladdr.c: Use IS_IN.
28572         * dlfcn/dladdr1.c: Likewise.
28573         * dlfcn/dlclose.c: Likewise.
28574         * dlfcn/dlerror.c: Likewise.
28575         * dlfcn/dlinfo.c: Likewise.
28576         * dlfcn/dlmopen.c: Likewise.
28577         * dlfcn/dlopen.c: Likewise.
28578         * dlfcn/dlsym.c: Likewise.
28579         * dlfcn/dlvsym.c: Likewise.
28581         * include/ifaddrs.h: Use IS_IN.
28582         * inet/check_pf.c: Likewise.
28583         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28584         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
28586         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
28587         IS_IN_ldconfig.
28588         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
28589         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
28591         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
28592         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
28593         IS_IN (libc).
28595         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
28597         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
28598         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28599         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28600         * include/libc-symbols.h (IS_IN_LIB): New macro.
28601         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
28602         * include/netdb.h: Likewise.
28603         * include/stap-probe.h: Remove all uses of IN_LIB.
28605         * Makeconfig (module-cppflags-real): Define MODULE_NAME
28606         instead of IN_MODULE.
28607         * include/libc-symbols.h (IN_MODULE): Define using
28608         MODULE_NAME.
28609         (PASTE_NAME, PASTE_NAME1): New macros.
28610         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
28611         of IN_LIB.
28612         (STAP_PROBE_ASM): Likewise.
28614 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28616         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
28617         __mach_init in dlopened libc.
28619 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
28621         * sysdeps/arm/preconfigure.ac: Delete EABI check.
28622         * sysdeps/arm/preconfigure: Regenerate.
28624 2014-11-21  Roland McGrath  <roland@hack.frob.com>
28626         * nptl/pthread_create.c (__pthread_create_2_1): Set
28627         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
28628         when copying values from IATTR into PD.
28630 2014-11-21  Will Newton  <will.newton@linaro.org>
28631             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
28633         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
28634         Refactor inline-asm.  Also add comment.
28636         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
28637         ElfW macro instead of hardcoded Elf64 types.
28638         (la_aarch64_gnu_pltenter): Likewise.
28639         * sysdeps/aarch64/dl-machine.h
28640         (elf_machine_runtime_setup): Use ElfW(Addr).
28642         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
28643         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
28644         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
28645         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
28646         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
28647         (R_AARCH64_TLS_DTPMOD64): Rename to ..
28648         (R_AARCH64_TLS_DTPMOD): This.
28649         (R_AARCH64_TLS_DTPREL64): Rename to ...
28650         (R_AARCH64_TLS_DTPREL): This.
28651         (R_AARCH64_TLS_TPREL64): Rename to ...
28652         (R_AARCH64_TLS_TPREL): This.
28653         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
28654         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
28655         R_AARCH64_TLS_TPREL64.
28656         (elf_machine_rela): Likewise.
28658 2014-11-21  Torvald Riegel  <triegel@redhat.com>
28660         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
28661         by setting it to 0.  64b atomics are not supported currently.
28663 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28665         [BZ #16469]
28666         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
28667         search domain names.
28669 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28671         [BZ #16469]
28672         * NEWS: Update.
28673         * resolv/res_query.c (__libc_res_nquerydomain): Retain
28674         trailing dot.
28675         * posix/tst-getaddrinfo5.c: New.
28676         * posix/Makefile (tests): Add it.
28678 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28680         [BZ #14498]
28681         * NEWS: Fixed.
28682         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
28683         after parsing line but before break_if_match.
28684         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
28685         if there is a protocol mismatch.
28687 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
28689         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
28690         because the potential race is on the user-supplied stream.
28692 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28694         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
28695         string literal if not passed a buffer.
28696         * manual/job.texi (ctermid): Update reasoning, note deviation
28697         from posix, suggest mtasurace when not passed a buffer, for
28698         future non-preliminary safety notes.
28700 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28702         * manual/users.texi (cuserid): Fix MT-Safety note for the case
28703         of not passing it a buffer.
28704         Reported by Peng Haitao.
28706 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28708         * manual/Makefile ($(objpfx)stamp-summary): Require
28709         check-safety.sh to pass.
28710         * manual/check-safety.sh: Wish for verification that every
28711         @deftypefn and @deftypefun is followed by a @safety remark.
28713 2014-11-20  Roland McGrath  <roland@hack.frob.com>
28715         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
28717         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
28718         PTHREAD_CANCEL_ASYNCHRONOUS.
28719         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
28720         send SIGCANCEL.
28722         * nptl/default-sched.h: New file.
28723         * sysdeps/unix/sysv/linux/default-sched.h: New file.
28724         * nptl/pthread_create.c: Include it.
28725         (__pthread_create_2_1): Use collect_default_sched instead of making
28726         Linux syscalls here directly.
28728 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28730         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
28731         __pthread_once): Use C11 atomics.
28733 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28735         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
28737 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28739         * include/atomic.h (__atomic_link_error, __atomic_check_size,
28740         atomic_thread_fence_acquire, atomic_thread_fence_release,
28741         atomic_thread_fence_seq_cst, atomic_load_relaxed,
28742         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
28743         atomic_compare_exchange_weak_relaxed,
28744         atomic_compare_exchange_weak_acquire,
28745         atomic_compare_exchange_weak_release,
28746         atomic_exchange_acquire, atomic_exchange_release,
28747         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
28748         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
28749         atomic_fetch_and_acquire,
28750         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
28752 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28754         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
28755         USE_ATOMIC_COMPILER_BUILTINS): Define.
28756         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
28757         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28758         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
28759         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28760         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
28761         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28762         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
28763         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28764         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
28765         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28766         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
28767         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28768         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
28769         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28770         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
28771         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28772         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28773         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28774         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28775         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28776         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
28777         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28778         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28779         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28780         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
28781         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28782         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28783         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28784         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
28785         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28786         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
28787         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28788         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
28789         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28790         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28791         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28792         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
28793         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28794         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
28795         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28797 2014-11-19  Roland McGrath  <roland@hack.frob.com>
28799         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
28800         the sched_priority value here.  It was already checked when the user
28801         called pthread_attr_setschedparam.
28803         * nptl/tst-bad-schedattr.c: New file.
28804         * nptl/Makefile (tests): Add it.
28806 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
28807             Florian Weimer  <fweimer@redhat.com>
28808             Joseph Myers  <joseph@codesourcery.com>
28809             Adam Conrad  <adconrad@0c3.net>
28810             Andreas Schwab  <schwab@suse.de>
28811             Brooks  <bmoses@google.com>
28813         [BZ #17625]
28814         * wordexp-test.c (__dso_handle): Add prototype.
28815         (__register_atfork): Likewise.
28816         (__app_register_atfork): New function.
28817         (registered_forks): New global.
28818         (register_fork): New function.
28819         (test_case): Add 3 new tests for WRDE_CMDSUB.
28820         (main): Call __app_register_atfork.
28821         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
28822         fork count is non-zero fail the test.
28823         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28824         is set.
28825         (parse_dollars): Remove check for WRDE_NOCMD.
28826         (parse_dquote): Likewise.
28828 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28830         * Makeconfig (built-modules): List non-library modules to be
28831         built.
28832         (module-cppflags): Include libc-modules.h for
28833         everything except shlib-versions.v.i.
28834         (CPPFLAGS): Use it.
28835         (before-compile): Add libc-modules.h.
28836         ($(common-objpfx)libc-modules.h,
28837         $(common-objpfx)libc-modules.stmp): New targets.
28838         (common-generated): Add libc-modules.h and libc-modules.stmp.
28839         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
28840         * include/libc-symbols.h: Don't include libc-modules.h.
28841         * include/libc-modules.h: Remove file.
28842         * scripts/gen-libc-modules.awk: New script to generate
28843         libc-modules.h.
28844         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
28845         Depend on libc-modules.stmp.
28847         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
28849         * Makeconfig (in-module): Get value of libof set for the
28850         translation unit.
28851         (CPPFLAGS): Use $(in-module).
28852         * Makerules: Don't suffix routine names for nonlib.
28853         * include/libc-modules.h: New file.
28854         * include/libc-symbols.h: Include libc-modules.h
28855         (IS_IN): New macro to replace IS_IN_* macros.
28856         * elf/Makefile: Set libof-* for each routine.
28857         * elf/rtld-Rules: Likewise.
28858         * extra-modules.mk: Likewise.
28859         * iconv/Makefile: Likewise.
28860         * iconvdata/Makefile: Likewise.
28861         * locale/Makefile: Likewise.
28862         * malloc/Makefile: Likewise.
28863         * nss/Makefile: Likewise.
28864         * sysdeps/gnu/Makefile: Likewise.
28865         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
28866         * sysdeps/unix/sysv/linux/Makefile: Likewise.
28867         * sysdeps/s390/s390-64/Makefile: Likewise.
28868         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
28869         CPPFLAGS for nscd instead of nonlib.
28871 2014-11-18  Roland McGrath  <roland@hack.frob.com>
28873         * nptl/createthread.c: New file.
28875         * nptl/createthread.c: Moved ...
28876         * sysdeps/unix/sysv/linux/createthread.c: ... here.
28878         * nptl/createthread.c: Add proper top-line comment.
28879         (do_clone): Folded into ...
28880         (create_thread): ... here.  Take new arguments STOPPED_START and
28881         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
28882         increment __nptl_threads, do event-reporting logic, do
28883         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28884         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
28885         resource cleanup if sched_setaffinity or sched_setscheduler fails,
28886         just send SIGCANCEL.
28887         * nptl/pthread_create.c: Forward-declare create_thread before
28888         including createthread.c.
28889         (start_thread): Use new macro START_THREAD_DEFN to replace defining
28890         declaration, and new macro START_THREAD_SELF to replace argument.
28891         Remove return statement.
28892         (report_thread_creation): New function.
28893         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
28894         synchronization logic, and __nptl_nthreads increment here, around
28895         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
28896         PD->parent_cancelhandling here, before create_thread.  When
28897         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
28898         __deallocate_stack, and ENOMEM translation here.
28900 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
28902         [BZ #17616]
28903         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
28904         (mptwo): Rename to __mptwo.
28905         (__inv): Use __mptwo instead of mptwo.
28906         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
28907         (mptwo): Rename to __mptwo.
28908         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
28909         of mpone and __mptwo instead of mptwo.
28910         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
28911         instead of mpone.
28912         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28913         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
28914         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
28915         of mpone and __mptwo instead of mptwo.
28916         (__mpranred): Use __mpone instead of mpone.
28917         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
28918         variable.
28919         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28920         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28921         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28922         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28923         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28924         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28925         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28926         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28927         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28928         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28929         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28930         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28931         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28932         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28933         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28934         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28935         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28936         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28937         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28939 2014-11-18  Tom de Vries  <tom@codesoucery.com>
28941         * manual/signal.texi (Primitives Interrupted by Signals): In section,
28942         replace BSD Handler xref with BSD Signal Handling.
28944 2014-11-17  Richard Henderson  <rth@redhat.com>
28946         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
28947         (_FP_PACK_RAW_2): Remove.
28948         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
28949         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
28950         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
28951         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
28952         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
28953         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
28954         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
28955         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
28956         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
28957         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
28958         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
28959         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
28960         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
28961         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
28962         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
28963         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
28965 2014-11-14  Roland McGrath  <roland@hack.frob.com>
28967         * signal/signal.h [__USE_MISC]
28968         (struct sigvec): Remove type.
28969         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
28970         (sigvec): Remove declaration.
28971         * sysdeps/posix/sigvec.c: Moved ...
28972         * signal/sigvec.c: ... here, replacing old file.
28973         (struct sigvec): New type, copied from old signal.h definition.
28974         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
28975         (__sigvec): Convert definition to prototype.
28976         (sigvec): Replace weak_alias with compat_symbol.
28977         * signal/Versions (libc: GLIBC_2.21): New version set.
28978         * include/signal.h: Remove __sigvec declaration.
28979         * sysdeps/unix/bsd/sigvec.c: Remove file.
28980         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
28981         * manual/signal.texi (BSD Handler): Remove subsection.
28982         Move siginterrupt up to ...
28983         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
28984         (Blocking in BSD): Fold subsection into its parent.
28985         * NEWS: Mention sigvec removal.
28987 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28989         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
28990         (DLA_FMS): Make definition conditional only on [__FMA4__].
28991         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
28992         definition.
28994         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
28995         Make definition conditional only on [PROF].
28996         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
28997         definition.
28998         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
28999         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
29001         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
29002         !__GNUC__].
29003         * include/signal.h (__sigpause): Move declaration above call to
29004         libc_hidden_proto.
29005         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
29006         variable.
29007         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29008         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29010 2014-11-14  David S. Miller  <davem@davemloft.net>
29012         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
29013         Define before including <string/memcpy.c> and <string/mempcpy.c>.
29015 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
29017         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
29018         * configure: Regenerated.
29019         * manual/install.texi (Tools for Compilation): Document a
29020         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
29021         compiler verified to work.
29022         * INSTALL: Regenerated.
29024         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
29025         redeclare with asm name.
29026         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
29027         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
29028         including <string.h>.
29029         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29030         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
29031         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29032         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
29033         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29034         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29035         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29037 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
29039         * stdlib/strtol.c (__strtol): Use prototype definition.
29041         [BZ #17594]
29042         * stdlib/strtol.c (SYM__): New macro.
29043         (SYM__1): Likewise.
29044         (__strtol): Likewise.
29045         (strtol): Rename to __strtol and define as weak alias of
29046         __strtol.  Use libc_hidden_weak.
29048 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29050         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
29051         Use numbered labels in inline assembly.
29053 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29055         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
29056         Add setjmp LIBC_PROBE.
29057         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
29058         Likewise.
29059         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
29060         Add longjmp, longjmp_target LIBC_PROBE.
29061         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
29062         Likewise.
29064 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29066         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29067         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
29068         to get rid of unused variable warning.
29070 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29072         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
29073         Check for unwind_backtrace ==  NULL only in SHARED case.
29074         (__backchain_backtrace): Compile only in SHARED case.
29075         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
29076         Likewise.
29077         (__backchain_backtrace): Declare as static.
29079 2014-11-12  Roland McGrath  <roland@hack.frob.com>
29081         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
29082         (__libc_multiple_threads_ptr): Variable moved ...
29083         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
29085 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
29087         * conform/GlibcConform.pm: New file.
29088         * conform/conformtest.pl: Use GlibcConform module.
29089         * conform/linknamespace.pl: New file.
29090         * conform/list-header-symbols.pl: Likewise.
29091         * conform/Makefile (linknamespace-symlists-base): New variable.
29092         (linknamespace-symlists-tests): Likewise.
29093         (linknamespace-header-base): Likewise.
29094         (linknamespace-header-tests): Likewise.
29095         (tests-special): Add new tests.
29096         ($(linknamespace-symlists-tests)): New rule.
29097         (linknamespace-libs): New variable.
29098         ($(objpfx)symlist-stdlibs): New rule.
29099         ($(linknamespace-header-tests)): Likewise.
29100         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
29101         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
29102         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
29103         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
29104         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
29105         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
29106         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
29107         (test-xfail-ISO/math.h/linknamespace): Likewise.
29108         (test-xfail-ISO/signal.h/linknamespace): Likewise.
29109         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
29110         (test-xfail-ISO/time.h/linknamespace): Likewise.
29111         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29112         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
29113         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29114         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29115         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29116         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29117         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29118         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
29119         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29120         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29121         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29122         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29123         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
29124         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
29125         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
29126         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29127         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
29128         (test-xfail-XPG3/search.h/linknamespace): Likewise.
29129         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
29130         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29131         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
29132         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29133         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
29134         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
29135         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29136         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29137         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
29138         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
29139         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29140         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
29141         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29142         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29143         (test-xfail-XPG4/search.h/linknamespace): Likewise.
29144         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29145         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
29146         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
29147         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
29148         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
29149         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29150         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
29151         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29152         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
29153         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29154         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29155         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29156         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
29157         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
29158         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29159         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29160         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
29161         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29162         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29163         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
29164         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29165         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29166         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
29167         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29168         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29169         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29170         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29171         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29172         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29173         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
29174         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29175         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29176         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29177         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
29178         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29179         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29180         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
29181         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29182         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29183         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29184         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29185         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29186         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29187         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
29188         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
29189         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29190         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
29191         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29192         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
29193         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29194         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29195         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29196         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
29197         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29198         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29199         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
29200         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
29201         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
29202         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
29203         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29204         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29205         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29206         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29207         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
29208         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
29209         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29210         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29211         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29212         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29213         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29214         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29215         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29216         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29217         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29218         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29219         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
29220         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29221         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
29222         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
29223         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
29224         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29225         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29226         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
29227         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29228         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29229         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29230         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29231         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29232         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29233         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29234         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29235         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29236         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29237         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
29238         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29239         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29240         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29241         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
29242         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29243         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
29244         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29245         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29246         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
29247         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29248         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29249         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29250         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29251         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29252         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29253         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29254         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29255         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29256         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29257         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
29258         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29259         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29260         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29262         [BZ #17589]
29263         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
29264         of fgets_unlocked.
29266         [BZ #17585]
29267         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
29268         (memmem): Rename to __memmem and define as weak alias of
29269         __memmem.  Use libc_hidden_weak.
29270         (__memmem): Use libc_hidden_def.
29271         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
29272         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
29273         memmem.
29275         [BZ #17582]
29276         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
29277         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
29278         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
29279         and define as weak alias of __fgets_unlocked.  Use
29280         libc_hidden_weak.
29281         (__fgets_unlocked): Use libc_hidden_def.
29282         * include/stdio.h (__fgets_unlocked): Declare.  Use
29283         libc_hidden_proto.
29284         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
29285         __fgets_unlocked instead of fgets_unlocked.
29286         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
29287         (GET_NPROCS_CONF_PARSER): Likewise.
29288         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
29289         (GET_NPROCS_CONF_PARSER): Likewise.
29291         [BZ #17574]
29292         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
29293         weak alias of __wmemset.  Use libc_hidden_weak.
29294         (__wmemset): Use libc_hidden_def.
29295         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
29296         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
29297         of wmemset.
29299         [BZ #17573]
29300         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
29301         with asm name __mempcpy.
29302         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
29304         [BZ #17572]
29305         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
29306         and define as weak alias of __rawmemchr.
29307         (__rawmemchr): Do not define as strong alias of rawmemchr.
29309         [BZ #17571]
29310         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
29311         alias of __qsort_r.
29312         (qsort): Call __qsort_r instead of qsort_r.
29313         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
29314         (__qsort_r): Declare.  Call libc_hidden_proto.
29315         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
29316         instead of qsort_r.
29317         * nscd/gai.c (__qsort_r): Define to qsort_r.
29318         * posix/tst-rfc3484.c (__qsort_r): Likewise.
29319         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
29320         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
29322         [BZ #17570]
29323         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
29324         define as weak alias of __malloc_info.
29326         [BZ #17584]
29327         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
29328         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29329         (__rewinddir): Use libc_hidden_def.
29330         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
29331         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29332         (__rewinddir): Use libc_hidden_def.
29333         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
29334         weak alias of __rewinddir.  Don't use libc_hidden_def.
29335         (__rewinddir): Use libc_hidden_def.
29336         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
29337         (__rewinddir): Use libc_hidden_proto.
29338         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
29339         rewinddir.
29340         (__getcwd): Use __rewinddir instead of rewinddir.
29342         [BZ #17583]
29343         * libio/fileno.c (fileno): Rename to __fileno and define as weak
29344         alias of __fileno.  Use libc_hidden_weak.
29345         (__fileno): Use libc_hidden_def.
29346         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
29347         * libio/ftello.c (ftello): Rename to __ftello and define as weak
29348         alias of __ftello.
29349         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
29350         __ftello.
29351         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
29352         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
29353         libc_hidden_def.
29354         (fread_unlocked): Don't use libc_hidden_ver.
29355         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
29356         and define as weak alias of __fread_unlocked.  Don't use
29357         libc_hidden_def.
29358         (__fread_unlocked): Use libc_hidden_def.
29359         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
29360         (ftello): Don't use libc_hidden_proto.
29361         (__ftello): Declare.  Use libc_hidden_proto.
29362         (fread_unlocked): Don't use libc_hidden_proto.
29363         (__fread_unlocked): Declare.  Use libc_hidden_proto.
29364         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
29365         and __ftello instead of fileno, fread_unlocked and ftello.
29367 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29369         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
29370         GOT12.
29371         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29372         Likewise.
29373         (_dl_start_user): Likewise.
29374         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
29376 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
29377             Siddhesh Poyarekar  <siddhesh@redhat.com>
29379         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
29380         Move argv and envp down instead of moving argc up.
29381         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
29383 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
29385         [BZ #17506]
29386         * test-skeleton.c (main): Return successful if one of
29387         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
29388         * string/tst-strcoll-overflow.c: Define expected status.
29390 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
29392         [BZ #17475]
29393         * locale/iso-639.def: Define Bhili and Tulu language codes.
29395 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
29397         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
29399 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
29401         [BZ #17555]
29402         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
29404 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
29406         * configure.ac: Updated check of minimal required version to
29407         2.22.
29408         * manual/install.texi (Tools for Compilation): Updated version
29409         number.
29410         * configure: Regenerated.
29411         * INSTALL: Likewise.
29413 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
29415         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
29416         __tls_get_addr.
29418 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
29420         * include/sys/wait.h (__libc_waitpid): Remove declaration.
29421         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
29422         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29423         libc_hidden_weak.
29424         (waitpid): Define as alias of __waitpid.
29425         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
29426         __waitpid.
29427         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29428         libc_hidden_weak.
29429         (waitpid): Define as alias of __waitpid.
29430         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
29431         __libc_waitpid alias.
29432         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
29433         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
29434         Likewise.
29435         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
29436         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
29437         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
29438         alias.
29439         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
29440         __waitpid.
29441         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29442         libc_hidden_weak.
29443         (waitpid): Define as alias of __waitpid.
29445 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
29447         * manual/llio.texi: Add comment that write safety has been
29448         fixed in Linux.
29450         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
29451         (localplt-build-dso): Add elf/ld.so.
29452         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
29453         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
29454         and free for ld.so.
29455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
29456         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
29457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
29458         Likewise.
29459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29460         Likewise.
29461         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
29462         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
29463         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
29464         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
29465         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
29466         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
29467         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
29468         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
29469         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
29470         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
29471         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29473 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
29475         [BZ #14132]
29476         * include/libc-symbols.h (INTUSE): Remove macro.
29477         (INTDEF): Likewise.
29478         (INTVARDEF): Likewise.
29479         (_INTVARDEF): Likewise.
29480         (INTDEF2): Likewise.
29481         (INTVARDEF2): Likewise.
29482         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
29483         rtld_hidden_def instead of INTVARDEF.
29484         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
29485         (_dl_starting_up_internal): Remove declaration.
29486         (_dl_starting_up): Use rtld_hidden_proto.
29487         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
29488         declaration.
29489         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
29490         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
29491         _dl_starting_up.
29492         * elf/dl-writev.h (_dl_writev): Likewise.
29493         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
29494         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
29495         _dl_starting_up_internal.
29497 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29499         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29500         test-skeleton.c.
29502 2014-11-05  Will Newton  <will.newton@linaro.org>
29504         * benchtests/Makefile: (bench-malloc): Add malloc thread
29505         scalability benchmark.
29506         * benchtests/bench-malloc-threads.c: New file.
29508 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
29510         * sysdeps/aarch64/strchrnul.S: New file.
29512 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29514         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
29515         definition.
29516         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29517         Likwise.
29518         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29519         Likewise.
29520         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29521         Likewise.
29522         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29523         Likewise.
29524         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29525         Likewise.
29527 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
29529         * catgets/test-gencat.c: Use test-skeleton.c.
29530         * catgets/tst-catgets.c: Likewise.
29531         * csu/tst-empty.c: Likewise.
29532         * elf/tst-audit2.c: Likewise.
29533         * elf/tst-global1.c: Likewise.
29534         * elf/tst-pathopt.c: Likewise.
29535         * elf/tst-piemod1.c: Likewise.
29536         * elf/tst-tls10.c: Likewise.
29537         * elf/tst-tls11.c: Likewise.
29538         * elf/tst-tls12.c: Likewise.
29539         * gnulib/tst-gcc.c: Likewise.
29540         * iconvdata/tst-e2big.c: Likewise.
29541         * iconvdata/tst-loading.c: Likewise.
29542         * iconv/tst-iconv1.c: Likewise.
29543         * iconv/tst-iconv2.c: Likewise.
29544         * inet/test-inet6_opt.c: Likewise.
29545         * inet/tst-gethnm.c: Likewise.
29546         * inet/tst-network.c: Likewise.
29547         * inet/tst-ntoa.c: Likewise.
29548         * intl/tst-codeset.c: Likewise.
29549         * intl/tst-gettext2.c: Likewise.
29550         * intl/tst-gettext3.c: Likewise.
29551         * intl/tst-ngettext.c: Likewise.
29552         * intl/tst-translit.c: Likewise.
29553         * io/test-stat.c: Likewise.
29554         * libio/test-fmemopen.c: Likewise.
29555         * libio/tst-freopen.c: Likewise.
29556         * libio/tst-sscanf.c: Likewise.
29557         * libio/tst-ungetwc1.c: Likewise.
29558         * libio/tst-ungetwc2.c: Likewise.
29559         * libio/tst-widetext.c: Likewise.
29560         * localedata/tst-ctype.c: Likewise.
29561         * localedata/tst-digits.c: Likewise.
29562         * localedata/tst-leaks.c: Likewise.
29563         * localedata/tst-mbswcs1.c: Likewise.
29564         * localedata/tst-mbswcs2.c: Likewise.
29565         * localedata/tst-mbswcs3.c: Likewise.
29566         * localedata/tst-mbswcs4.c: Likewise.
29567         * localedata/tst-mbswcs5.c: Likewise.
29568         * localedata/tst-setlocale.c: Likewise.
29569         * localedata/tst-trans.c: Likewise.
29570         * localedata/tst-wctype.c: Likewise.
29571         * localedata/tst-xlocale1.c: Likewise.
29572         * login/tst-grantpt.c: Likewise.
29573         * malloc/tst-calloc.c: Likewise.
29574         * malloc/tst-malloc.c: Likewise.
29575         * malloc/tst-mallocstate.c: Likewise.
29576         * malloc/tst-mcheck.c: Likewise.
29577         * malloc/tst-mtrace.c: Likewise.
29578         * malloc/tst-obstack.c: Likewise.
29579         * math/atest-exp2.c: Likewise.
29580         * math/atest-exp.c: Likewise.
29581         * math/atest-sincos.c: Likewise.
29582         * math/test-matherr.c: Likewise.
29583         * math/test-misc.c: Likewise.
29584         * math/test-powl.c: Likewise.
29585         * math/tst-definitions.c: Likewise.
29586         * misc/tst-dirname.c: Likewise.
29587         * misc/tst-efgcvt.c: Likewise.
29588         * misc/tst-fdset.c: Likewise.
29589         * misc/tst-hsearch.c: Likewise.
29590         * misc/tst-mntent2.c: Likewise.
29591         * nptl/tst-sem7.c: Likewise.
29592         * nptl/tst-sem8.c: Likewise.
29593         * nptl/tst-sem9.c: Likewise.
29594         * nss/test-netdb.c: Likewise.
29595         * posix/tst-fnmatch.c: Likewise.
29596         * posix/tst-getlogin.c: Likewise.
29597         * posix/tst-gnuglob.c: Likewise.
29598         * posix/tst-mmap.c: Likewise.
29599         * pwd/tst-getpw.c: Likewise.
29600         * resolv/tst-inet_ntop.c: Likewise.
29601         * rt/tst-timer.c: Likewise.
29602         * stdio-common/test-fseek.c: Likewise.
29603         * stdio-common/test-popen.c: Likewise.
29604         * stdio-common/test-vfprintf.c: Likewise.
29605         * stdio-common/tst-cookie.c: Likewise.
29606         * stdio-common/tst-fileno.c: Likewise.
29607         * stdio-common/tst-gets.c: Likewise.
29608         * stdio-common/tst-obprintf.c: Likewise.
29609         * stdio-common/tst-perror.c: Likewise.
29610         * stdio-common/tst-sprintf2.c: Likewise.
29611         * stdio-common/tst-sprintf3.c: Likewise.
29612         * stdio-common/tst-sprintf.c: Likewise.
29613         * stdio-common/tst-swprintf.c: Likewise.
29614         * stdio-common/tst-tmpnam.c: Likewise.
29615         * stdio-common/tst-unbputc.c: Likewise.
29616         * stdio-common/tst-wc-printf.c: Likewise.
29617         * stdlib/tst-environ.c: Likewise.
29618         * stdlib/tst-fmtmsg.c: Likewise.
29619         * stdlib/tst-limits.c: Likewise.
29620         * stdlib/tst-rand48-2.c: Likewise.
29621         * stdlib/tst-rand48.c: Likewise.
29622         * stdlib/tst-random2.c: Likewise.
29623         * stdlib/tst-random.c: Likewise.
29624         * stdlib/tst-strtol.c: Likewise.
29625         * stdlib/tst-strtoll.c: Likewise.
29626         * stdlib/tst-tls-atexit.c: Likewise.
29627         * stdlib/tst-xpg-basename.c: Likewise.
29628         * string/test-ffs.c: Likewise.
29629         * string/tst-bswap.c: Likewise.
29630         * string/tst-inlcall.c: Likewise.
29631         * string/tst-strtok.c: Likewise.
29632         * string/tst-strxfrm.c: Likewise.
29633         * sysdeps/x86_64/tst-audit10.c: Likewise.
29634         * sysdeps/x86_64/tst-audit3.c: Likewise.
29635         * sysdeps/x86_64/tst-audit4.c: Likewise.
29636         * sysdeps/x86_64/tst-audit5.c: Likewise.
29637         * time/tst-ftime_l.c: Likewise.
29638         * time/tst-getdate.c: Likewise.
29639         * time/tst-mktime3.c: Likewise.
29640         * time/tst-mktime.c: Likewise.
29641         * time/tst-posixtz.c: Likewise.
29642         * time/tst-strptime2.c: Likewise.
29643         * time/tst-strptime3.c: Likewise.
29644         * wcsmbs/tst-btowc.c: Likewise.
29645         * wcsmbs/tst-mbrtowc.c: Likewise.
29646         * wcsmbs/tst-mbsrtowcs.c: Likewise.
29647         * wcsmbs/tst-wchar-h.c: Likewise.
29648         * wcsmbs/tst-wcpncpy.c: Likewise.
29649         * wcsmbs/tst-wcrtomb.c: Likewise.
29650         * wcsmbs/tst-wcsnlen.c: Likewise.
29651         * wcsmbs/tst-wcstof.c: Likewise.
29653 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
29655         [BZ #14132]
29656         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
29657         INTDEF.
29658         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
29659         declaration.
29660         (_dl_mcount): Use rtld_hidden_proto.
29661         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
29662         _dl_mcount.
29663         * elf/rtld.c (_rtld_global_ro): Likewise.
29665         [BZ #14132]
29666         * elf/dl-init.c (_dl_init): Don't use INTDEF.
29667         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
29668         of _dl_init_internal.
29669         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
29670         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
29671         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
29672         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
29673         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
29674         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
29675         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
29676         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
29677         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
29678         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
29679         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
29680         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
29681         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29682         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29683         * sysdeps/tile/dl-start.S (_start): Likewise.
29684         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
29685         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
29687         [BZ #14132]
29688         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
29689         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
29690         (rtld_progname): Make macro definition unconditional.
29691         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
29692         INTDEF.
29693         (dlmopen_doit): Do not use INTUSE with _dl_argv.
29694         (dl_main): Likewise.
29695         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29696         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
29697         instead of _dl_argv_internal.
29698         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29699         __GI__dl_argv instead of INTUSE(_dl_argv).
29700         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
29701         __GI__dl_argv instead of _dl_argv_internal.
29703         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
29704         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
29705         macro.
29706         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
29707         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
29708         New macro.
29709         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
29710         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
29711         macro.
29712         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
29713         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
29715 2014-11-04  Andreas Schwab  <schwab@suse.de>
29717         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
29719 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29721         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
29722         mtvsrd instruction in binary form.
29724 2014-11-03  Andreas Schwab  <schwab@suse.de>
29726         [BZ #17522]
29727         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
29728         for less than MB_LEN_MAX use a local buffer of that size.
29729         * libio/tst-fputws.c: New file.
29730         * libio/Makefile (tests): Add tst-fputws.
29732 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
29734         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
29735         the size of the fpu_fr.fpu_dregs[] array.
29737 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
29739         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
29740         (__nanosleep): Do not define as alias.
29741         (nanosleep): Define as alias of __nanosleep.
29742         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
29743         __libc_nanosleep name.
29745 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29747         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
29748         install.texi in comment.
29750 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29752         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
29753         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
29754         ... add here and use lwsync or sync ...
29755         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
29756         ... and add here using lwsync.
29758 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
29760         * elf/dl-machine-reject-phdr.h: New file.
29761         * elf/dl-load.c: #include that.
29762         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
29763         if that returned true.
29765 2014-10-31  Roland McGrath  <roland@hack.frob.com>
29767         [BZ #17496]
29768         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
29769         gen-as-const-headers chunk.  Add a big scare comment after the last
29770         safe place to touch before-compile.
29772 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29774         * manual/install.texi (Tools for Compilation): Update autoconf
29775         version requirements.
29776         * INSTALL: Regenerated.
29778         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
29779         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
29780         (__libc_pselect): Likewise.
29782         [BZ #14138]
29783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
29784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29788 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29790         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
29791         correct barrier instruction.
29792         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
29793         Likewise.
29794         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
29795         Likewise.
29797 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29799         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
29800         after defining inlines.  Instead, just use parens to defeat macro
29801         expansion of __isctype in its declaration.
29803 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29805         * include/sys/uio.h (__libc_readv): Remove declaration.
29806         (__libc_writev): Likewise.
29807         * misc/readv.c (__libc_readv): Rename to __readv.
29808         (__readv): Do not define as alias.
29809         (readv): Define as alias of __readv.
29810         * misc/writev.c (__libc_writev): Rename to __writev.
29811         (__writev): Do not define as alias.
29812         (writev): Define as alias of __writev.
29813         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
29814         (__readv): Do not define as alias.
29815         (readv): Define unconditionally as alias of __readv.
29816         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
29817         (__writev): Do not define as alias.
29818         (writev): Define unconditionally as alias of __writev.
29819         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
29820         name.
29821         (writev): Do not define __libc_writev name.
29823 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29825         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
29826         (convert_charseq): New function, broken out of ...
29827         (use_from_charmap): ... here.  Call it.
29828         (use_to_charmap): Use convert_charseq and free instead of duplicating
29829         its code with a variable-length stack struct.
29831 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29833         * include/fcntl.h (__libc_creat): Remove declaration.
29834         * io/creat.c (__libc_creat): Rename to creat.
29835         (creat): Do not define as alias.
29836         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
29837         of creat instead of __libc_creat.
29838         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
29839         to creat.
29840         (creat): Do not define as alias.
29841         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
29842         __libc_creat.
29843         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
29844         __libc_creat name.
29845         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
29846         Likewise.
29848 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
29850         * manual/llio.texi: Add comments discussing why write() may be
29851         considered MT-unsafe on Linux.
29853 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
29855         * dl-load.c (local_strdup): Remove.
29856         (expand_dynamic_string_token): Use __strdup.
29857         (decompose_rpath): Likewise.
29858         (_dl_map_object): Likewise.
29860 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
29862         [BZ #14132]
29863         * sysdeps/generic/unwind-dw2-fde.c
29864         (__register_frame_info_bases_internal): Do not declare.
29865         (__register_frame_info_table_bases_internal): Likewise.
29866         (__deregister_frame_info_bases_internal): Likewise.
29867         (__register_frame_info_bases): Declare and use hidden_proto before
29868         definition.  Use hidden_def instead of INTDEF.
29869         (__register_frame_info_table_bases): Likewise.
29870         (__deregister_frame_info_bases): Likewise.
29871         (__register_frame_info): Do not use INTUSE.
29872         (__register_frame): Likewise.
29873         (__register_frame_info_table): Likewise.
29874         (__register_frame_table): Likewise.
29875         (__deregister_frame_info): Likewise.
29876         (__deregister_frame): Likewise.
29878 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
29880         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29881         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29882         not undefine.
29883         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29884         Likewise.
29885         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29886         Likewise.
29888 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
29890         [BZ #14138]
29891         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
29892         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
29893         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
29894         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
29895         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
29896         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
29897         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
29898         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
29899         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
29900         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
29901         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
29902         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
29903         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
29904         syscall.
29905         (setfsuid): Likewise.
29906         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
29907         (setfsuid): Likewise.
29908         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
29909         (setfsuid): Likewise.
29910         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
29911         Likewise.
29912         (setfsuid): Likewise.
29913         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
29914         (setfsuid): Likewise.
29915         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
29916         Likewise.
29917         (setfsuid): Likewise.
29919 2014-10-27  Andreas Schwab  <schwab@suse.de>
29921         [BZ #17501]
29922         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
29923         check for Slow_SSE4_2 feature bit.
29924         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
29925         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29926         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
29927         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
29929 2014-10-24  Roland McGrath  <roland@hack.frob.com>
29931         * configure.ac: Validate compiler version with a empirical test of
29932         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
29933         $CC -v output.
29934         * configure: Regenerated.
29936         * inet/htons.c (htons): Prototypify.
29937         * inet/htonl.c (htonl): Likewise.
29939 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29941         * string/strncat.c (strncat): Improve performance by using strlen.
29943 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29945         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
29947 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29949         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
29950         Call libc_fetestexcept_aarch64.
29952 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29954         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
29955         Call libc_feholdexcept_aarch64.
29957 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29959         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
29960         Call get_rounding_mode.
29962 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29964         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29965         Simplify logic.
29967 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29969         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
29970         Simplify logic.
29972 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
29974         [BZ #14138]
29975         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
29976         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
29977         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
29978         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
29979         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
29980         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
29981         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
29982         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
29983         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
29984         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
29985         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29986         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
29987         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
29988         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
29989         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
29990         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
29991         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
29992         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
29993         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
29994         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
29995         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
29996         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
29997         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
29998         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
29999         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
30000         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
30001         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
30002         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
30003         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
30004         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
30005         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
30006         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
30007         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
30008         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
30009         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
30010         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
30011         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
30012         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
30013         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
30014         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
30015         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
30016         syscall.
30017         (geteuid): Likewise.
30018         (getgid): Likewise.
30019         (getuid): Likewise.
30020         (getresgid): Likewise.
30021         (getresuid): Likewise.
30022         (getgroups): Likewise.
30023         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
30024         (geteuid): Likewise.
30025         (getgid): Likewise.
30026         (getuid): Likewise.
30027         (getresgid): Likewise.
30028         (getresuid): Likewise.
30029         (getgroups): Likewise.
30030         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
30031         (geteuid): Likewise.
30032         (getgid): Likewise.
30033         (getuid): Likewise.
30034         (getresgid): Likewise.
30035         (getresuid): Likewise.
30036         (getgroups): Likewise.
30037         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
30038         Likewise.
30039         (geteuid): Likewise.
30040         (getgid): Likewise.
30041         (getuid): Likewise.
30042         (getresgid): Likewise.
30043         (getresuid): Likewise.
30044         (getgroups): Likewise.
30045         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
30046         (geteuid): Likewise.
30047         (getgid): Likewise.
30048         (getuid): Likewise.
30049         (getresgid): Likewise.
30050         (getresuid): Likewise.
30051         (getgroups): Likewise.
30052         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
30053         Likewise.
30054         (geteuid): Likewise.
30055         (getgid): Likewise.
30056         (getuid): Likewise.
30057         (getgroups): Likewise.
30059         [BZ #14138]
30060         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
30061         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
30062         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
30063         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30064         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
30065         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
30066         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
30067         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
30068         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
30069         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
30070         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
30071         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
30072         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
30073         __chown.
30074         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
30075         (lchown): Likewise.
30076         (fchown): Likewise.
30077         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
30078         Likewise.
30079         (lchown): Likewise.
30080         (fchown): Likewise.
30081         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
30082         (lchown): Likewise.
30083         (fchown): Likewise.
30084         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
30085         Likewise.
30086         (lchown): Likewise.
30087         (fchown): Likewise.
30089 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30091         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
30092         Simplify logic.
30094 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30096         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30097         Cleanup logic.
30099 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30101         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30102         Remove unused include.
30104 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30106         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
30107         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
30108         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
30109         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
30111 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
30112             Helge Deller <deller@gmx.de>
30114         [BZ #17508]
30115         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
30116         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
30117         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
30119 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
30121         [BZ #14132]
30122         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
30123         Remove macro definition.
30124         (__ashrdi3_v_glibc20): Likewise.
30125         (__lshrdi3_v_glibc20): Likewise.
30126         (__cmpdi2_v_glibc20): Likewise.
30127         (__ucmpdi2_v_glibc20): Likewise.
30128         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
30129         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
30130         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
30131         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
30132         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
30133         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
30135 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30137         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
30138         old GNU extension [0] syntax.
30139         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
30140         alloca rather than an array member with variable length.
30141         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
30142         * nscd/nscd.c (invalidate_db): New function, broken out of ...
30143         (parse_opt): ... here.  Likewise use alloca there.
30144         Validate the -i argument before checking for rootness.
30145         (send_shutdown): New function, broken out of ...
30146         (parse_opt): ... here.
30148 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30150         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
30151         macro to get at the _rt_local_ro field.
30152         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
30153         ([PIC] case) or _dl_hwcap ([!PIC] case).
30154         * sysdeps/arm/setjmp.S: Likewise.
30156         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
30157         * sysdeps/arm/configure.ac: New check to define it.
30158         * sysdeps/arm/configure: Regenerated.
30159         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
30160         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
30161         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
30162         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
30163         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
30164         Use move/movt pair instead of a load.
30165         (LDST_GLOBAL): Macro removed.
30166         (LDR_GLOBAL): New macro replaces it.
30167         (LDR_HIDDEN): New macro.
30168         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
30169         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
30171         * setjmp/tst-setjmp-static.c: New file.
30172         * setjmp/Makefile (tests): Add it.
30173         (tests-static): New variable.
30175 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
30177         [BZ #17485]
30178         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
30180 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
30182         [BZ #14132]
30183         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
30185 2014-10-21  Roland McGrath  <roland@hack.frob.com>
30187         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
30189 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30191         * io/fts.c (dirent_not_directory): New function.
30192         (fts_build): Call it.
30194 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30196         * nptl/version.c (__nptl_main): Use normal __write rather than
30197         INTERNAL_SYSCALL.
30198         (banner): Update copyright years.
30200         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
30201         gettimeofday.
30202         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30203         * nptl/pthread_cond_timedwait.c: Likewise.
30204         * nptl/pthread_mutex_timedlock.c: Likewise.
30205         * nptl/sem_timedwait.c: Likewise.
30207         * sysdeps/nptl/bits/libc-lock.h
30208         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30209         (__libc_lock_init_recursive): Return void, not 0.
30210         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
30211         (__libc_rwlock_init): Likewise.
30212         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
30214 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30216         [BZ #15215]
30217         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
30218         (__pthread_once_slow): ... here.
30219         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
30220         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
30222 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30224         [BZ #15215]
30225         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
30226         __PTHREAD_ONCE_FORK_GEN_INCR): New.
30227         * sysdeps/nptl/fork.c (__libc_fork): Use them.
30228         * nptl/pthread_once.c (__pthread_once): Likewise.
30229         Update comments.
30231 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
30233         [BZ #14138]
30234         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
30235         name.
30236         (writev): Use __libc_writev as strong name.
30237         * sysdeps/unix/sysv/linux/readv.c: Remove file.
30238         * sysdeps/unix/sysv/linux/writev.c: Likewise.
30240 2014-10-17  Roland McGrath  <roland@hack.frob.com>
30242         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
30244         * sysdeps/i386/nptl/tls.h
30245         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
30246         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
30247         New macros.
30248         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
30249         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
30250         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
30251         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
30252         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
30253         Call CHECK_THREAD_SYSINFO instead of doing an assert.
30255         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30256         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
30257         on [__NR_futex].
30258         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
30259         broken out of ...
30260         (__pthread_mutex_init): ... here.  Call it.
30261         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
30262         Conditionalize PI cases on [__NR_futex].
30263         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
30264         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
30265         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
30267         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
30268         conditional on [SIGSETXID].
30269         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
30270         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
30271         is defined.  Likewise for SIGSETXID.
30272         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
30273         Conditionalize definitions on [SIGSETXID].
30274         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
30275         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
30276         unblocking on [SIGCANCEL].
30278         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
30279         [__NR_set_robust_list].
30281 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30283         * string/strcoll_l.c (get_next_seq): Fix up formatting.
30284         (do_compare): Likewise.
30286 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
30288         [BZ #15884]
30289         * string/strcoll_l.c: Don't include stdio.h.
30290         (coll_seq): Remove members idxarr and rulearr.
30291         (get_next_seq_cached): Remove function.
30292         (get_next_seq): Likewise.
30293         (get_next_seq_nocache): Rename to get_next_seq.
30294         (do_compare): Remove function.
30295         (do_compare_nocache): Rename to do_compare.
30296         (STRCOLL): Remove weight and rules cache.
30298 2014-10-16  Roland McGrath  <roland@hack.frob.com>
30300         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
30301         * sysdeps/arm/sfp-machine.h: ... to here.
30302         * sysdeps/arm/Implies: Remove arm/soft-fp.
30304 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
30306         * conform/data/sys/utsname.h-data (*_t): Allow.
30307         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
30308         [POSIX] (WEXITED): Do not expect constant.
30309         [POSIX] (WSTOPPED): Likewise.
30310         [POSIX] (WNOHANG): Likewise.
30311         [POSIX] (WNOWAIT): Likewise.
30312         [POSIX] (siginfo_t): Do not expect type or elements.
30313         [POSIX] (pid_t): Do not expect type.
30314         [POSIX] (signal.h): Do not allow header.
30315         [POSIX] (sys/resource.h): Likewise.
30316         [POSIX] (si_*): Do not allow pattern.
30317         [POSIX] (W*): Likewise.
30318         [POSIX] (P_*): Likewise.
30319         [POSIX] (BUS_*): Likewise.
30320         [POSIX] (CLD_*): Likewise.
30321         [POSIX] (FPE_*): Likewise.
30322         [POSIX] (ILL_*): Likewise.
30323         [POSIX] (POLL_*): Likewise.
30324         [POSIX] (SEGV_*): Likewise.
30325         [POSIX] (SI_*): Likewise.
30326         [POSIX] (TRAP_*): Likewise.
30327         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
30328         variable.
30330 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
30332         [BZ #12926]
30333         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
30334         infinite loop when __recvmsg returns 0.
30336 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
30338         * CANCEL-FCT-WAIVE: Remove file.
30339         * CANCEL-FILE-WAIVE: Likewise.
30341         [BZ #14132]
30342         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
30343         instead of INTVARDEF.
30344         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30345         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
30346         rtld_hidden_data_def instead of INTVARDEF.
30347         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30348         * elf/dl-deps.c (expand_dst): Likewise.
30349         * elf/dl-load.c (_dl_dst_count): Likewise.
30350         (_dl_dst_substitute): Likewise.
30351         (decompose_rpath): Likewise.
30352         (_dl_init_paths): Likewise.
30353         (open_path): Likewise.
30354         (_dl_map_object): Likewise.
30355         * elf/rtld.c (dl_main): Likewise.
30356         (process_dl_audit): Likewise.
30357         (process_envvars): Likewise.
30358         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
30359         Remove declaration.
30360         (__libc_enable_secure): Use rtld_hidden_proto.
30362 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30364         * elf/dl-load.c
30365         (add_path): New function broken out of _dl_rtld_di_serinfo.
30366         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
30368 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30370         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
30371         parentheses around macro arguments.
30372         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
30373         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
30374         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
30375         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
30376         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
30377         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30378         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30379         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
30380         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
30381         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
30382         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
30383         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
30384         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
30385         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
30386         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
30387         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
30388         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
30389         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
30390         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
30391         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
30392         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
30393         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
30394         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
30395         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30396         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30397         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
30398         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
30399         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
30400         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
30401         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
30402         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
30403         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
30404         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
30405         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
30406         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
30407         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
30408         Likewise.
30409         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
30410         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30411         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30412         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
30413         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
30414         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
30415         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
30416         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
30417         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
30418         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
30419         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
30420         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
30421         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
30422         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
30423         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
30424         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30425         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30426         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
30427         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
30428         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
30429         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
30430         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
30431         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
30432         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
30433         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
30434         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
30435         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
30436         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
30437         (_FP_FRAC_SRS_1): Likewise.
30438         (_FP_FRAC_CLZ_1): Likewise.
30439         (_FP_MUL_MEAT_1_imm): Likewise.
30440         (_FP_MUL_MEAT_1_wide): Likewise.
30441         (_FP_MUL_MEAT_1_hard): Likewise.
30442         (_FP_SQRT_MEAT_1): Likewise.
30443         (_FP_FRAC_ASSEMBLE_1): Likewise.
30444         (_FP_FRAC_DISASSEMBLE_1): Likewise.
30445         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
30446         (__FP_CLZ_2): Likewise.
30447         (_FP_MUL_MEAT_2_wide): Likewise.
30448         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30449         (_FP_MUL_MEAT_2_gmp): Likewise.
30450         (_FP_MUL_MEAT_2_120_240_double): Likewise.
30451         (_FP_SQRT_MEAT_2): Likewise.
30452         (_FP_FRAC_ASSEMBLE_2): Likewise.
30453         (_FP_FRAC_DISASSEMBLE_2): Likewise.
30454         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
30455         (_FP_FRAC_CLZ_4): Likewise.
30456         (_FP_MUL_MEAT_4_wide): Likewise.
30457         (_FP_MUL_MEAT_4_gmp): Likewise.
30458         (_FP_SQRT_MEAT_4): Likewise.
30459         (_FP_FRAC_ASSEMBLE_4): Likewise.
30460         (_FP_FRAC_DISASSEMBLE_4): Likewise.
30461         * soft-fp/op-common.h (_FP_CMP): Likewise.
30462         (_FP_CMP_EQ): Likewise.
30463         (_FP_CMP_UNORD): Likewise.
30464         (_FP_TO_INT): Likewise.
30465         (_FP_FROM_INT): Likewise.
30466         [!__FP_CLZ] (__FP_CLZ): Likewise.
30467         (_FP_DIV_HELP_imm): Likewise.
30468         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
30469         Likewise.
30470         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
30471         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
30472         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
30473         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
30474         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
30475         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30476         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30477         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
30478         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
30479         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
30480         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
30481         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
30482         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
30483         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
30484         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
30485         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
30486         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
30487         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
30488         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
30489         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
30490         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
30491         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
30492         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
30493         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30494         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30495         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
30496         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
30497         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
30498         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
30499         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
30500         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
30501         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
30502         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
30503         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
30504         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
30505         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
30506         (FP_UNPACK_RAW_SP): Likewise.
30507         (FP_PACK_RAW_S): Likewise.
30508         (FP_PACK_RAW_SP): Likewise.
30509         (FP_UNPACK_S): Likewise.
30510         (FP_UNPACK_SP): Likewise.
30511         (FP_UNPACK_SEMIRAW_S): Likewise.
30512         (FP_UNPACK_SEMIRAW_SP): Likewise.
30513         (FP_PACK_S): Likewise.
30514         (FP_PACK_SP): Likewise.
30515         (FP_PACK_SEMIRAW_S): Likewise.
30516         (FP_PACK_SEMIRAW_SP): Likewise.
30517         (_FP_SQRT_MEAT_S): Likewise.
30518         (FP_CMP_S): Likewise.
30519         (FP_CMP_EQ_S): Likewise.
30520         (FP_CMP_UNORD_S): Likewise.
30521         (FP_TO_INT_S): Likewise.
30522         (FP_FROM_INT_S): Likewise.
30524         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
30526         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
30527         (FP_EX_INVALID_IMZ): Likewise.
30528         (FP_EX_INVALID_IMZ_FMA): Likewise.
30529         (FP_EX_INVALID_ISI): Likewise.
30530         (FP_EX_INVALID_ZDZ): Likewise.
30531         (FP_EX_INVALID_IDI): Likewise.
30532         (FP_EX_INVALID_SQRT): Likewise.
30533         (FP_EX_INVALID_CVI): Likewise.
30534         (FP_EX_INVALID_VC): Likewise.
30535         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
30536         "invalid" exceptions.
30537         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
30538         (_FP_ADD_INTERNAL): Likewise.
30539         (_FP_MUL): Likewise.
30540         (_FP_FMA): Likewise.
30541         (_FP_DIV): Likewise.
30542         (_FP_CMP_CHECK_NAN): Likewise.
30543         (_FP_SQRT): Likewise.
30544         (_FP_TO_INT): Likewise.
30545         (FP_EXTEND): Likewise.
30547 2014-10-09  Allan McRae  <allan@archlinux.org>
30549         * po/fr.po: Update French translation from translation project.
30551 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30553         [BZ #14132]
30554         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
30555         of INTDEF.
30556         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
30557         (__cxa_atexit): Use libc_hidden_proto.
30558         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
30560         [BZ #14132]
30561         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
30562         declaration.
30563         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
30564         [!_ISOMAC] (__iswspace_l_internal): Likewise.
30565         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
30566         [!_ISOMAC] (__iswctype_internal): Likewise.
30567         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
30568         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
30569         alias.
30570         (fcntl): Remove __fcntl_internal alias.
30571         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
30572         __connect_internal alias.
30573         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
30574         Likewise.
30576         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
30577         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
30578         FP_DENORM_ZERO.
30579         (_FP_CHECK_FLUSH_ZERO): New macro.
30580         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
30581         (_FP_CMP): Likewise.
30582         (_FP_CMP_EQ): Likewise.
30583         (_FP_TO_INT): Do not set inexact for subnormal arguments if
30584         FP_DENORM_ZERO.
30585         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
30586         (FP_TRUNC): Likewise.
30588         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
30589         treated as invalid conversion, not as normal exponent.
30591         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
30592         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
30593         (_FP_CMP_EQ): Likewise.
30594         (_FP_CMP_UNORD): Likewise.
30595         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
30596         (FP_CMP_EQ_D): Likewise.
30597         (FP_CMP_UNORD_D): Likewise.
30598         * soft-fp/extended.h (FP_CMP_E): Likewise.
30599         (FP_CMP_EQ_E): Likewise.
30600         (FP_CMP_UNORD_E): Likewise.
30601         * soft-fp/quad.h (FP_CMP_Q): Likewise.
30602         (FP_CMP_EQ_Q): Likewise.
30603         (FP_CMP_UNORD_Q): Likewise.
30604         * soft-fp/single.h (FP_CMP_S): Likewise.
30605         (FP_CMP_EQ_S): Likewise.
30606         (FP_CMP_UNORD_S): Likewise.
30607         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
30608         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
30609         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
30610         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
30611         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
30612         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
30613         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
30614         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
30615         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
30616         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
30617         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
30618         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
30619         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
30620         to FP_CMP_Q.
30621         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
30622         FP_CMP_Q.
30623         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
30624         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
30625         FP_CMP_EQ_Q.
30626         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
30627         FP_CMP_Q.
30628         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
30629         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
30630         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
30631         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
30632         FP_CMP_EQ_Q.
30633         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
30634         FP_CMP_Q.
30635         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
30636         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
30637         FP_CMP_EQ_Q.
30638         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
30639         FP_CMP_Q.
30640         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
30641         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
30642         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
30643         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
30644         FP_CMP_EQ_Q.
30646         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
30647         a subnormal result, set the underflow exception if trapping on
30648         underflow is enabled.
30649         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
30650         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
30651         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
30652         redefine to 0.
30653         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
30654         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30655         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30656         * soft-fp/extendxftf2.c (__extendxftf2): Use
30657         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
30659         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
30660         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
30661         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30662         FP_HANDLE_EXCEPTIONS.
30663         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
30664         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30665         FP_HANDLE_EXCEPTIONS.
30666         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
30667         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30668         FP_HANDLE_EXCEPTIONS.
30669         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
30670         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30671         FP_HANDLE_EXCEPTIONS.
30673 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
30675         [BZ #14132]
30676         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
30677         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
30678         use INTUSE.
30679         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
30680         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
30681         Remove alias.
30682         (__adjtimex): Define using libc_hidden_ver.
30683         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
30684         Remove declaration.
30685         (ntp_gettime): Call __adjtimex directly.
30686         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
30687         Remove declaration.
30688         (ntp_gettimex): Call __adjtimex directly.
30689         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
30690         __adjtimex_internal alias.
30692 2014-10-08  Roland McGrath  <roland@hack.frob.com>
30694         [BZ #17460]
30695         * nscd/nscd.c (more_help): Rewrite list of tables collection
30696         using xstrdup and asprintf.
30698         * nscd/nscd_conf.c: Remove local xstrdup declaration.
30700 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30701             Roland McGrath  <roland@hack.frob.com>
30703         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
30704         (do_lookup_unique): ... local function 'enter' here; update callers.
30706 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
30708         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
30709         compat_symbol calls on [SHARED].
30710         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
30711         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
30712         Remove.
30713         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30714         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
30715         (oldsetrlimit): Remove.
30716         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30718         (lchown): New syscall entry.
30719         (oldsetrlimit): Remove.
30720         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30721         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
30722         (oldsetrlimit): Remove.
30723         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30725         [BZ #14138]
30726         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
30727         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
30728         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
30729         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
30730         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30731         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
30732         (fchown): Likewise.
30733         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
30734         (fchown): Likewise.
30735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
30736         Likewise.
30738 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30740         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
30741         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
30742         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
30743         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
30744         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
30745         Likewise.
30746         (__old_sem_post): Likewise.
30748 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
30750         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
30751         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
30752         HAVE_CLOCK_GETTIME_VSYSCALL macros.
30753         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
30754         Use INLINE_VSYSCALL macro.
30755         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
30756         __vdso_clock_gettime.
30757         * sysdeps/unix/sysv/linux/tile/init-first.c
30758         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
30759         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
30760         __vdso_clock_gettime.
30762         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
30763         to set up frame more cleanly.
30765         * sysdeps/tile/memcmp.c: New file.
30767         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
30769         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
30770         * sysdeps/tile/tilegx/strcasestr.c: New file.
30771         * sysdeps/tile/tilegx/strnlen.c: New file.
30772         * sysdeps/tile/tilegx/strstr.c: New file.
30774         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
30776 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
30778         * nptl/tst-setuid3.c: Write errors to stdout.
30780 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30782         * elf/dl-deps.c
30783         (preload): New functions broken out of _dl_map_object_deps.
30784         (_dl_map_object_deps):  Remove a nested function. Update call sites.
30786 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
30788         [BZ #14138]
30789         * sysdeps/unix/sysv/linux/execve.c: Remove file.
30790         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
30792 2014-10-01  Steve Ellcey  <sellcey@mips.com>
30794         * sysdeps/mips/strcmp.S: New.
30796 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
30798         [BZ #14138]
30799         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
30800         (linkat): Likewise.
30801         (mkdirat): Likewise.
30802         (readlinkat): Likewise.
30803         (renameat): Likewise.
30804         (symlinkat): Likewise.
30805         (unlinkat): Likewise.
30806         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
30807         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
30808         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
30809         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
30810         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
30811         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
30812         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
30814 2014-09-30  Will Newton  <will.newton@linaro.org>
30816         * math/math.h: Define long double math functions if
30817         _LIBC_TEST is defined.
30818         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
30820         * localedata/Makefile: Move assignment to tests-special
30821         into an ifdef testing run-built-tests.
30822         * timezone/Makefile: Likewise.
30824 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
30826         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
30827         with $(BASH) not $(SHELL).
30829 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
30830             Matthew LeGendre  <legendre1@llnl.gov>
30832         [BZ #17411]
30833         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
30834         l_reloc_result.
30836 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30838         * stdio-common/printf_fp.c
30839         (hack_digit): New function, broken out of ...
30840         (__printf_fp): ... local function here.  Update call sites.
30841         hack_digit now takes an additional parameter that is a pointer
30842         to a struct of the referenced locals.  Those locals moved inside
30843         the struct and references updated.
30845 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
30847         * aclocal.m4: Require autoconf 2.69.
30848         * configure: Regenerated.
30849         * sysdeps/aarch64/configure: Likewise.
30850         * sysdeps/alpha/configure: Likewise.
30851         * sysdeps/arm/armv7/configure: Likewise.
30852         * sysdeps/arm/configure: Likewise.
30853         * sysdeps/ia64/configure: Likewise.
30854         * sysdeps/mach/configure: Likewise.
30855         * sysdeps/mips/configure: Likewise.
30856         * sysdeps/s390/configure: Likewise.
30857         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
30860         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
30861         file.
30862         * sysdeps/ia64/configure.ac: Likewise.
30864 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
30866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
30867         specify symbol version for ld.so.  Do not include entry for
30868         libpthread.
30869         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30870         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30871         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30873         [BZ #14171]
30874         * Makeconfig [$(build-shared) = yes]
30875         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
30876         makefiles.
30877         [$(build-shared) = yes && $(soversions.mk-done) = t]
30878         ($(common-objpfx)gnu/lib-names.h): Remove rule.
30879         [$(build-shared) = yes && $(soversions.mk-done) = t]
30880         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
30881         to Makerules.
30882         [$(build-shared) = yes && $(soversions.mk-done) = t]
30883         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30884         here.
30885         [$(build-shared) = yes && $(soversions.mk-done) = t]
30886         (common-generated): Don't append gnu/lib-names.h and
30887         gnu/lib-names.stmp here.
30888         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30889         (lib-names-h-abi): New variable.
30890         [$(build-shared) = yes && $(soversions.mk-done) = t]
30891         (lib-names-stmp-abi): Likewise.
30892         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30893         abi-variants] (before-compile): Append
30894         $(common-objpfx)$(lib-names-h-abi).
30895         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30896         abi-variants] (common-generated): Append gnu/lib-names.h.
30897         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30898         abi-variants] (install-others-nosubdir): Depend on
30899         $(inst_includedir)/$(lib-names-h-abi).
30900         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30901         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
30902         [$(build-shared) = yes && $(soversions.mk-done) = t]
30903         ($(common-objpfx)$(lib-names-h-abi)): New rule.
30904         [$(build-shared) = yes && $(soversions.mk-done) = t]
30905         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
30906         [$(build-shared) = yes && $(soversions.mk-done) = t]
30907         (common-generated): Append $(lib-names-h-abi) and
30908         $(lib-names-stmp-abi).
30909         * scripts/lib-names.awk: Do not handle multi being set.
30910         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
30911         Remove variable.
30912         (abi-lp64_be-ld-soname): Likewise.
30913         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
30914         Likewise.
30915         (abi-hard-ld-soname): Likewise.
30916         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
30917         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
30918         Remove variable.
30919         (abi-o32_hard-ld-soname): Likewise.
30920         (abi-o32_soft_2008-ld-soname): Likewise.
30921         (abi-o32_hard_2008-ld-soname): Likewise.
30922         (abi-n32_soft-ld-soname): Likewise.
30923         (abi-n32_hard-ld-soname): Likewise.
30924         (abi-n32_soft_2008-ld-soname): Likewise.
30925         (abi-n32_hard_2008-ld-soname): Likewise.
30926         (abi-n64_soft-ld-soname): Likewise.
30927         (abi-n64_hard-ld-soname): Likewise.
30928         (abi-n64_soft_2008-ld-soname): Likewise.
30929         (abi-n64_hard_2008-ld-soname): Likewise.
30930         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
30931         Likewise.
30932         (abi-64-v2-ld-soname): Likewise.
30933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
30934         ld.so entries.
30935         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
30936         variable.
30937         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
30938         entry.
30939         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
30940         variable.
30941         (abi-64-ld-soname): Likewise.
30942         (abi-x32-ld-soname): Likewise.
30943         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
30944         entry.
30945         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30947 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
30949         [BZ #14138]
30950         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
30951         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
30952         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
30953         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
30954         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
30955         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
30956         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
30957         syscall entry for GLIBC_2.2 symbol version.
30958         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
30959         Likewise.
30960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30961         (setrlimit): Likewise.
30962         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
30963         Likewise.
30965 2014-09-23  Will Newton  <will.newton@linaro.org>
30967         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
30968         _LINUX_ARM_SYSDEP_H include guard too.
30969         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
30970         define.
30972 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30974         * sysdeps/unix/sysv/linux/eventfd.c:
30975         Make first argument unsigned.
30976         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
30977         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
30979 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
30981         [BZ #16852]
30982         * socket/recvmmsg.c (recvmmsg): Drop const argument.
30983         * socket/sys/socket.h: Likewise.
30984         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
30986 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30988         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
30990 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
30992         * time/tst-ftime.c: New test.
30993         * time/Makefile (tests): Add tst-ftime.
30995 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
30997         * soft-fp/extended.h: Fix comment formatting.
30998         * soft-fp/op-1.h: Likewise.
30999         * soft-fp/op-2.h: Likewise.
31000         * soft-fp/op-4.h: Likewise.
31001         * soft-fp/op-8.h: Likewise.
31002         * soft-fp/op-common.h: Likewise.
31003         * soft-fp/soft-fp.h: Likewise.
31005         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
31007 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
31009         [BZ #6652]
31010         * Makeconfig (soversions-default-setname): Remove variable.
31011         ($(common-objpfx)soversions.i): Don't pass default_setname to
31012         soversions.awk.
31013         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
31014         oldest_abi to abi-versions.awk.
31015         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
31016         * config.make.in (oldest-abi): Remove variable.
31017         * configure.ac (--enable-oldest-abi): Remove configure option.
31018         * configure: Regenerated.
31019         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
31020         text.
31021         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
31022         * scripts/soversions.awk: Do not handle default_setname variable.
31023         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
31024         variable.
31025         * sysdeps/mach/hurd/configure: Regenerated.
31026         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
31027         variable.
31028         * sysdeps/unix/sysv/linux/configure: Regenerated.
31030 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31032         * elf/Makefile (CFLAGS-interp.c): Remove.
31033         ($(elf-objpfx)runtime-linker.h): Generate header with linker
31034         path string.
31035         * elf/interp.c: Include generated runtime-linker.h
31037         * Makerules (lib%.so): Don't include $(+interp) in
31038         prerequisites.
31039         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
31040         * dlfcn/eval.c: Remove file.
31042         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
31043         macros.
31045         [BZ #17266]
31046         * misc/sys/cdefs.h: Define __extern_always_inline for clang
31047         4.2 and newer.
31049         [BZ #17370]
31050         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
31052 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31053             Jakub Jelinek  <jakub@redhat.com>
31055         [BZ #17266]
31056         * libio/stdio.h: Check definition of __fortify_function
31057         instead of __extern_always_inline to include bits/stdio2.h.
31058         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
31059         check if __extern_always_inline is defined.
31060         [__USE_MISC || __USE_XOPEN]: Likewise.
31061         [__USE_ISOC99] Likewise.
31062         * misc/sys/cdefs.h (__fortify_function): Define only if
31063         __extern_always_inline is defined.
31064         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
31065         __extern_always_inline and __extern_inline only for g++-4.3
31066         and newer or a compatible gcc.
31068 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
31070         [BZ #17371]
31071         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31072         last change to handle zero prefix length.
31074 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31076         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
31077         _SC_REGEX_VERSION.
31079         * posix/getconf.c (vars): Add _POSIX_IPV6 and
31080         _POSIX_RAW_SOCKETS.
31082 2014-09-13  Allan McRae  <allan@archlinux.org>
31084         * po/ru.po: Update Russian translation from translation project.
31086 2014-09-12  Roland McGrath  <roland@hack.frob.com>
31088         * locale/programs/locale.c (show_locale_vars): Inline local function
31089         into its sole call site.  Clean up some style nits.
31090         (print_item): New function, broken out of ...
31091         (show_info): ... local function here.  Clean up style nits.
31093         * locale/programs/ld-ctype.c (set_one_default): New function, broken
31094         out of ...
31095         (set_class_defaults): ... local function set_default here.
31096         Define set_default as a macro locally to pass constant parameters.
31097         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
31098         rather than a shared local.
31100         * stdlib/rpmatch.c (try): New function, broken out of ...
31101         (rpmatch): ... local function here.  Also, prototypify definition.
31103 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
31105         * scripts/soversions.awk: Do not handle configuration names.
31106         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
31107         vendor and os variables to soversions.awk.
31108         * configure.ac: Do not modify gnu-* host_os.
31109         * configure: Regenerated
31110         * shlib-versions: Remove first column with configuration names.
31111         * nptl/shlib-versions: Likewise.
31112         * nptl_db/shlib-versions: Likewise.
31113         * sysdeps/hppa/shlib-versions: Likewise.
31114         * sysdeps/m68k/shlib-versions: Likewise.
31115         * sysdeps/mach/hurd/shlib-versions: Likewise.
31116         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
31117         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
31118         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
31119         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
31120         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
31121         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
31122         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
31123         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
31124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31125         Likewise.
31126         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31127         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31128         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31129         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31130         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31131         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
31132         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31133         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
31136         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
31137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31138         Regenerated.
31139         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
31140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31141         Condition symbol version definitions on [HAVE_ELFV2_ABI].
31143         * shlib-versions: Remove OS-specific entries.  Moved to files in
31144         sysdeps.
31145         * sysdeps/mach/hurd/shlib-versions: New file.
31146         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31148         * nptl/shlib-versions: Remove architecture-specific entries.
31149         Moved to files in sysdeps.
31150         * shlib-versions: Likewise.
31151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
31152         file.
31153         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31154         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31155         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31156         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31158         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
31159         (UDP_NO_CHECK6_RX): Likewise.
31161 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31163         * sysdeps/posix/sysconf.c (__sysconf): Spell
31164         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
31166 2014-08-12  Florian Weimer  <fweimer@redhat.com>
31168         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
31169         loading.
31170         * iconv/Versions (__gconv_transliterate): Export for use from
31171         gconv modules.
31172         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
31173         (struct __gconv_trans_data, __gconv_trans_fct,
31174         __gconv_trans_context_fct, __gconv_trans_query_fct,
31175         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
31176         definitions.
31177         (struct __gconv_step_data): Remove __trans member.
31178         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
31179         longer hidden.  Remove unused trans_data argument.
31180         * iconv/gconv_int.h (struct trans_struct): Remove definition.
31181         (__gconv_translit_find): Remove declaration.
31182         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
31183         prototype.
31184         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
31185         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
31186         trans_data argument.  Add hidden definition.
31187         (__gconv_translit_find): Remove.
31188         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
31189         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
31190         * iconv/skeleton.c: Remove transliteration initialization.
31191         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
31192         __gconv_step_data initialization.
31193         * libio/iofwide.c (__libio_translit_): Remove.
31194         (_IO_fwide): Adjust struct __gconv_step_data initialization.
31195         * wcsmbs/btowc.c (__btowc): Likewise.
31196         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31197         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31198         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
31199         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
31200         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
31201         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
31202         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
31203         * wcsmbs/wctob.c (wctob): Likewise.
31205 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31207         [BZ #16194]
31208         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
31209         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
31210         register usage.
31211         * sysdeps/x86/Makefile: Adjust.
31213 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31214             Roland McGrath  <roland@hack.frob.com>
31216         * locale/weight.h: Add include guard.
31217         (findidx): Make static rather than auto; take new parameters
31218         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
31219         * locale/weightwc.h: Likewise.
31220         * posix/fnmatch_loop.c
31221         (FCT): Change type of EXTRA from int32_t to wint_t.
31222         Don't include either header inside the function.
31223         Call FINDIDX rather than findidx, and pass new arguments.
31224         #undef FINDIDX at the end of the file.
31225         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
31226         FINDIDX before including fnmatch_loop.c for the non-wide version.
31227         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
31228         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
31229         for the wide version.
31230         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
31231         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
31232         Pass new arguments to findidx.
31233         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
31234         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
31235         Don't #include it inside the function.  Pass new arguments to findidx.
31236         * posix/regex_internal.h
31237         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
31238         (re_string_elem_size_at): Don't #include it inside the function.
31239         Pass new arguments to findidx.
31240         * string/strcoll_l.c: #include WEIGHT_H at top level.
31241         (get_next_seq): Don't #include it inside the function.
31242         Pass new arguments to findidx.
31243         (get_next_seq_nocache): Likewise.
31244         * string/strxfrm_l.c: #include WEIGHT_H at top level.
31245         (STRXFRM): Don't #include it inside the function.
31246         Pass new arguments to findidx.
31248 2014-09-11  Florian Weimer  <fweimer@redhat.com>
31250         [BZ #17344]
31251         * malloc/malloc.c (unlink): Turn asserts into a call to
31252         malloc_printerr.
31254 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
31256         [BZ #17370]
31257         * libio/wfileops (do_ftell_wide): Free OUT.
31259 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
31261         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
31263 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31265         [BZ #17363]
31266         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
31267         group if the current group is empty.
31269 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31271         * benchtests/bench-memset.c (test_main): Add more test from size
31272         from 32 to 512 bytes.
31273         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31274         Add POWER8 memset object.
31275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31276         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
31277         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
31278         implementation.
31279         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
31280         Likewise.
31281         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
31282         multiarch POWER8 memset optimization.
31283         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
31284         POWER8 memset optimization.
31286         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31287         Remove bzero multiarch objects.
31288         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
31289         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
31290         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
31291         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
31292         Remove define.
31293         [__bzero]: Redefine to specific name.
31294         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
31295         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
31296         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
31297         define.
31298         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31299         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31301 2014-09-10  Florian Weimer  <fweimer@redhat.com>
31303         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
31304         warnings into errors.
31306         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
31307         __cxa_thread_atexit_impl prototype.
31309 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31311         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
31312         Fix capitalization of error message.
31314 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31316         * sysdeps/mips/preconfigure: Modify ABI tests.
31318 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
31320         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
31322 2014-09-07  Roland McGrath  <roland@hack.frob.com>
31323             Carlos O'Donell  <carlos@systemhalted.org>
31325         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
31326         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
31327         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
31328         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
31329         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
31330         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
31331         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
31332         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
31333         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
31334         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
31335         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
31336         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
31337         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
31338         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
31339         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
31340         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
31341         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
31342         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
31343         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
31344         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
31345         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
31346         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
31347         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
31348         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
31349         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
31350         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
31351         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
31352         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
31353         Deconditionalize the code that was previously under [RESET_PID].
31354         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
31355         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
31356         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
31357         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
31358         include sysdep.h.
31360 2014-09-08  Allan McRae  <allan@archlinux.org>
31362         * version.h (RELEASE): Set to "development".
31363         (VERSION): Set to "2.20.90"
31365 2014-09-07  Allan McRae  <allan@archlinux.org
31367         * version.h (RELEASE): Set to "stable".
31368         (VERSION): Set to "2.20"
31369         * include/features.h (__GLIBC_MINOR__): Set to 20.
31371         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
31372         Liebler.
31374         * po/ko.po: Update Korean translation from translation project.
31376 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
31378         [BZ #17354]
31379         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
31380         macro for handling signed relocations.
31382 2014-09-03  Florian Weimer  <fweimer@redhat.com>
31384         [BZ #17325]
31385         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
31386         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
31387         assert.
31388         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
31389         * iconvdata/ibm935.c (BODY): Likewise.
31390         * iconvdata/ibm937.c (BODY): Likewise.
31391         * iconvdata/ibm939.c (BODY): Likewise.
31392         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
31393         assert.
31394         * iconvdata/Makefile (iconv-test.out): Pass module list to test
31395         script.
31396         * iconvdata/run-iconv-test.sh: New test loop for checking for
31397         decoder crashers.
31399 2014-09-02  Khem Raj  <raj.khem@gmail.com>
31401         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
31402         libm_hidden_ver.
31404 2014-09-01  Allan McRae  <allan@archlinux.org>
31406         * po/eo.po: Update Esperanto translation from translation project.
31408         * po/ca.po: Update Catalan translation from translation project.
31410 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31412         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
31413         __proc_dostop call.
31415 2014-08-27  Mark Wielaard  <mjw@redhat.com>
31417         [BZ #17319]
31418         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
31419         to call set_thread_area instead of hand written asm.
31420         (__NR_set_thread_area): Removed define.
31421         (TLS_FLAG_WRITABLE): Likewise.
31422         (__ASSUME_SET_THREAD_AREA): Remove check.
31423         (TLS_EBX_ARG): Remove define.
31424         (TLS_LOAD_EBX): Likewise.
31426 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31428         Simplify atomicity of socket creation in bind.
31430         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
31431         looking up the name after linking the file.
31433 2014-08-27  Allan McRae  <allan@archlinux.org>
31435         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31437 2014-08-26  Florian Weimer  <fweimer@redhat.com>
31439         [BZ #17187]
31440         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
31441         trans_compare, open_translit, __gconv_translit_find):
31442         Remove module loading code.
31444 2014-08-26  Allan McRae  <allan@archlinux.org>
31446         * po/vi.po: Update Vietnamese translation from translation project.
31448         * po/uk.po: Update Ukrainian translation from translation project.
31450         * po/fr.po: Update French translation from translation project.
31452         * po/ru.po: Update Russian translation from translation project.
31454         * po/pl.po: Update Polish translation from translation project.
31456         * po/cs.po: Update Czech translation from translation project.
31458         * po/de.po: Update German translation from translation project.
31460         * po/bg.po: Update Bulgarian translation from translation project.
31462         * po/sv.po: Update Sweedish translation from translation project.
31464         * po/nl.po: Update Dutch translation from translation project.
31466         * po/es.po: Update Spanish translation from translation project.
31468 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31470         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
31472         * catgets/Makefile (CPPFLAGS-gencat): Remove.
31473         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
31474         (CPPFLAGS-iconvconfig): Likewise.
31475         * timezone/Makefile (CPPFLAGS-zic): Likewise.
31477         * include/libc-symbols.h: Remove unnecessary check for
31478         NOT_IN_libc.
31479         * nptl/pthreadP.h: Likewise.
31480         * sysdeps/aarch64/setjmp.S: Likewise.
31481         * sysdeps/alpha/setjmp.S: Likewise.
31482         * sysdeps/arm/sysdep.h: Likewise.
31483         * sysdeps/i386/setjmp.S: Likewise.
31484         * sysdeps/m68k/setjmp.c: Likewise.
31485         * sysdeps/posix/getcwd.c: Likewise.
31486         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31487         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31488         * sysdeps/s390/s390-32/setjmp.S: Likewise.
31489         * sysdeps/s390/s390-64/setjmp.S: Likewise.
31490         * sysdeps/sh/sh3/setjmp.S: Likewise.
31491         * sysdeps/sh/sh4/setjmp.S: Likewise.
31492         * sysdeps/unix/alpha/sysdep.h: Likewise.
31493         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31494         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31495         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31496         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31499         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31500         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31501         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31502         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31503         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31504         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31505         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31506         * sysdeps/x86_64/setjmp.S: Likewise.
31508 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
31510         [BZ #17263]
31511         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
31512         <stdint.h>.
31513         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
31514         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
31516 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31518         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
31520         [BZ #17262]
31521         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
31522         and __x86_64__ when disabling x87 inline functions.
31524 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31526         [BZ #17259]
31527         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
31528         asm statement with __cpuid_count.
31530 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
31532         * configure.ac: Change __ehdr_start code to dereference the struct.
31533         Run readelf on the output to look for relocations.
31534         * configure: Regenerated.
31536 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
31538         [BZ #17261]
31539         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
31540         value to 0.
31541         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
31543 2014-08-12  Roland McGrath  <roland@hack.frob.com>
31545         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
31547 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
31549         [BZ #16892]
31550         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
31551         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
31553 2014-08-12  Sean Anderson  <seanga2@gmail.com>
31555         * malloc/malloc.c: Fix typo in comment.
31557 2014-08-09  Allan McRae  <allan@archlinux.org>
31559         * Regenerate libc.po.
31561 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
31563         * intl/tst-gettext2.sh: Check every lang file for creation.
31565 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31567         * sysdeps/aarch64/fpu/math_private.h
31568         (libc_feholdsetround_noex_aarch64_ctx): New function.
31570 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31572         * sysdeps/arm/armv6/strcpy.S (strcpy):
31573         Fix performance issue in misaligned cases.
31575 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31577         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
31578         Move definition from termios.h.
31579         (struct termio): Likewise.
31580         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31581         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31582         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31583         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31584         Likewise.
31585         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
31586         Move definition to ioctl-types.h
31587         (struct termio): Likewise.
31588         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31589         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31590         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31591         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31592         Likewise.
31594 2014-08-05  Richard Henderson  <rth@redhat.com>
31596         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
31597         exceptions.
31598         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
31599         Add fraiseexcpt.
31600         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
31601         Use __feraiseexcept.
31602         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
31603         Protect libm symbols with IS_IN_libm.
31605         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
31607 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
31609         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
31611 2014-08-04  Will Newton  <will.newton@linaro.org>
31613         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
31614         file.
31616 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
31618         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
31619         variants for each function.
31621 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31623         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
31624         appended ...
31625         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
31626         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
31627         appended ...
31628         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
31629         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
31630         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
31631         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
31632         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
31633         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
31634         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
31635         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
31636         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
31637         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
31638         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
31639         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
31640         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
31641         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
31642         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
31643         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
31644         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
31645         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
31646         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
31647         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
31648         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
31649         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
31650         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
31651         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
31652         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
31653         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
31654         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
31655         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
31656         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
31657         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
31658         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
31659         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
31660         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
31661         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
31662         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
31663         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
31664         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
31665         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
31666         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
31667         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
31668         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
31669         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
31670         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
31671         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
31672         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
31673         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
31674         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
31675         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
31676         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
31677         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
31678         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
31679         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
31680         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
31681         Update #include.
31682         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
31683         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
31685 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31687         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
31688         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
31689         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
31690         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
31691         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
31692         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
31694 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31696         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
31697         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
31698         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31699         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
31701 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31703         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
31704         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
31705         (__libc_vfork): Define function under this name.
31706         (__vfork): Define as an alias.
31707         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
31708         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
31710 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31712         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
31713         that was previously under [RESET_PID].
31714         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
31716 2014-08-04  Andreas Schwab  <schwab@suse.de>
31718         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
31720 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
31722         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
31723         (main): Likewise.
31725 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31727         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
31729 2014-08-01  Richard Henderon  <rth@redhat.com>
31731         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
31732         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
31733         typo in exact zero test.
31734         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31735         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31736         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31738 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31740         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
31741         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
31742         * sysdeps/arm/sysdep.h: ... here.
31743         [!__ASSEMBLER__]: Include <stdint.h>.
31745 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31747         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
31748         (HAVE_WCTYPE_H): Likewise.
31749         (HAVE_ISWCTYPE): Likewise.
31750         (ENABLE_NLS): Likewise.
31751         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
31752         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
31754         * posix/regex_internal.c: Check if DEBUG is defined and is
31755         set.
31757         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
31758         (HAVE_MBSRTOWCS): Likewise.
31759         * posix/fnmatch.c: Include string.h unconditionally.
31761 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31763         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
31764         reversal.
31766 2014-07-31  Roland McGrath  <roland@hack.frob.com>
31768         * sysdeps/generic/safe-fatal.h: New file.
31769         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
31770         * nptl/forward.c: Include it.
31771         (__pthread_unwind): Use __safe_fatal as default action, rather
31772         than a bogus use of INTERNAL_SYSCALL that could never work.
31774         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
31775         * configure.ac (libc_cv_builtin_trap): New test.
31776         * configure: Regenerated.
31777         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
31778         (ABORT_INSTRUCTION): Define using __builtin_trap.
31780         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
31781         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
31782         * sysdeps/nptl/nptl-signals.h: New file.
31783         * nptl/pthreadP.h: Include <nptl-signals.h>.
31785 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31787         * sysdeps/s390/s390-64/utf16-utf32-z9.c
31788         (ONE_DIRECTION): Define.
31789         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31790         (ONE_DIRECTION): Define.
31791         * sysdeps/s390/s390-64/utf8-utf32-z9.c
31792         (ONE_DIRECTION): Define.
31794 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31796         * sysdeps/s390/Makefile: Delete file.
31797         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
31798         * sysdeps/s390/__longjmp.c: Delete file.
31799         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
31800         Remove fields __flags and __reserved.
31801         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
31802         and add versioning.
31803         * sysdeps/s390/rtld-__longjmp.c: Delete file.
31804         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
31805         * sysdeps/s390/rtld-setjmp.S: Likewise.
31806         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
31807         * sysdeps/s390/s390-32/__longjmp.c: ... here.
31808         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
31809         * sysdeps/s390/s390-32/setjmp.S: ... here.
31810         Add versioning.
31811         (__sigsetjmp): Remove setting __flags field.
31812         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
31813         * sysdeps/s390/s390-64/__longjmp.c: ... here.
31814         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
31815         * sysdeps/s390/s390-64/setjmp.S: ... here.
31816         Add versioning.
31817         (__sigsetjmp): Remove setting __flags field.
31818         * sysdeps/s390/setjmp.S: Delete file.
31819         * sysdeps/s390/sigjmp.c: Likewise.
31820         * sysdeps/s390/v1-longjmp.c: Likewise.
31821         * sysdeps/s390/v1-setjmp.h: Likewise.
31822         * sysdeps/s390/v1-sigjmp.c: Likewise.
31823         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
31824         Remove v1-longjmp_chk.
31825         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
31826         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
31827         Include debug/longjmp_chk.c and add versioning.
31828         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
31829         Include nptl/pt-longjmp.c and add versioning.
31830         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
31831         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
31832         Include __longjmp.c.
31833         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31834         Move to ...
31835         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
31836         (__getcontext): Remove setting __flags field.
31837         Add versioning.
31838         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31839         Don't restore upper high grps.
31840         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
31841         Likewise.
31842         (__swapcontext): Remove setting uc_flags field.
31843         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
31844         Delete file.
31845         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31846         Include __longjmp.c.
31847         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31848         Move to ...
31849         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
31850         (__getcontext): Remove setting __flags field.
31851         Add versioning.
31852         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
31853         (__swapcontext): Remove setting uc_flags field.
31854         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
31855         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
31856         Remove fields uc_high_gprs and __reserved.
31857         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
31858         New file with reverted content.
31859         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
31860         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
31861         Regenerated.
31862         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
31863         Regenerated.
31865 2014-07-31  Andreas Schwab  <schwab@suse.de>
31867         * config.h.in (HAVE_IFUNC): Define to 0.
31868         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
31869         definedness.
31871 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
31873         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31874         memmove-avx-unaligned, memcpy-avx-unaligned and
31875         mempcpy-avx-unaligned.
31876         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31877         Add tests for AVX memcpy functions.
31878         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31879         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31880         memcpy_chk.
31881         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31882         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31883         memmove_chk.
31884         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31885         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31886         mempcpy_chk.
31887         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31888         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31889         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
31891 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31893         [BZ #17213]
31894         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
31895         powerpc64le.
31897 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
31899         [BZ #16839]
31900         * manual/llio.texi: Add section about open file description locks.
31901         * manual/examples/ofdlocks.c: Example of open file description
31902         lock usage.
31903         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
31904         F_OFD_SETLK, and F_OFD_SETLKW.
31906 2014-07-23  Allan McRae  <allan@archlinux.org>
31908         * po/es.po: Update Spanish translation from translation project.
31910 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
31912         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
31914 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
31916         [BZ #17078]
31917         * sysdeps/arm/dl-machine.h (elf_machine_rela)
31918         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
31919         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
31921 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
31923         [BZ #17088]
31924         * math/fesetenv.c (__fesetenv)
31925         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
31926         * math/feupdateenv.c (__feupdateenv)
31927         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
31929         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
31930         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31931         (__ASSUME_SOCKETCALL): Do not define.
31933         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
31934         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
31935         (__ASSUME_SOCKETCALL): Do not define.
31936         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
31937         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31938         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31939         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31940         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31941         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
31942         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31943         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31945         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
31946         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
31947         (__ASSUME_SOCKETCALL): Do not define.
31948         (__ASSUME_IPC64): Define unconditionally.
31949         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31950         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31951         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31952         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31953         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
31954         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31955         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
31956         Likewise.
31958         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
31959         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
31960         (__ASSUME_SOCKETCALL): Do not define.
31961         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
31962         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31963         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31964         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31965         (__ASSUME_REQUEUE_PI): Define unconditionally.
31966         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
31967         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
31968         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31969         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
31970         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31971         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31973         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
31974         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
31975         (__ASSUME_SOCKETCALL): Do not define.
31976         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
31977         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31978         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31979         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
31980         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31981         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31983         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
31984         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
31985         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31986         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
31987         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31988         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
31989         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31990         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
31991         (__ASSUME_GETCPU_SYSCALL): Likewise.
31993         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
31994         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
31995         cases for individual architectures.
31996         * sysdeps/gnu/configure: Regenerated.
31997         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
31998         LIBC_SLIBDIR_RTLDDIR.
31999         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
32000         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
32001         LIBC_SLIBDIR_RTLDDIR.
32002         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
32003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
32004         LIBC_SLIBDIR_RTLDDIR.
32005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32006         Regenerated.
32007         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
32008         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
32009         file.
32010         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
32011         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
32012         file.
32013         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
32014         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
32015         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
32016         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
32018         * sysdeps/aarch64/shlib-versions: Move to ...
32019         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
32020         * sysdeps/alpha/shlib-versions: Move to ...
32021         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
32022         * sysdeps/arm/shlib-versions: Move to ...
32023         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
32024         * sysdeps/hppa/shlib-versions: Move all contents except for
32025         libgcc_s entry to ...
32026         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
32027         entry from ...
32028         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
32029         * sysdeps/ia64/shlib-versions: Move to ...
32030         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
32031         entry from ...
32032         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
32033         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
32034         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
32035         * sysdeps/microblaze/shlib-versions: Move to ...
32036         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
32037         * sysdeps/mips/shlib-versions: Move to ...
32038         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
32039         entry from ...
32040         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
32041         * sysdeps/tile/shlib-versions: Move to ...
32042         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
32043         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
32044         from ...
32045         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
32046         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
32047         entry from ...
32048         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
32050 2014-07-17  Will Newton  <will.newton@linaro.org>
32052         * sysdeps/arm/bits/atomic.h
32053         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
32054         (__arch_compare_and_exchange_bool_16_int): Likewise.
32055         (__arch_compare_and_exchange_bool_64_int): Likewise.
32057         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
32058         into an #else block.
32060 2014-07-16  Roland McGrath  <roland@hack.frob.com>
32062         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
32063         just Linux configurations.  Test empirically that the compiler sets
32064         __ARM_EABI__, rather than using the tuple to decide.
32065         * sysdeps/arm/preconfigure: Regenerated.
32066         * sysdeps/unix/sysv/linux/arm/configure: File removed.
32067         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
32068         contents appended ...
32069         * sysdeps/arm/configure.ac: ... here.
32070         * sysdeps/arm/configure: Regenerated.
32072 2014-07-15  Roland McGrath  <roland@hack.frob.com>
32074         * nptl/pthread_kill.c: New file.
32075         * nptl/pthread_sigmask.c: New file.
32076         * nptl/pthread_sigqueue.c: New file.
32078         * sysdeps/nptl/lowlevellock.h: New file.
32079         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
32080         * sysdeps/nptl/lowlevellock-futex.h: New file.
32082         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
32083         Remove dead declarations.
32085 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
32087         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
32088         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
32089         config-cflags-avx2.
32090         * sysdeps/x86_64/configure.ac: Likewise.
32091         * sysdeps/i386/configure: Regenerated.
32092         * sysdeps/x86_64/configure: Likewise.
32093         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32094         memset-avx2 only if config-cflags-avx2 is yes.
32095         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32096         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
32097         defined.
32098         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
32099         only if HAVE_AVX2_SUPPORT is defined.
32100         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32102 2014-07-14  Alan Modra  <amodra@gmail.com>
32104         [BZ #17153]
32105         * elf/elf.h (DT_PPC64_NUM): Correct value.
32106         * NEWS: Add to fixed bug list.
32108 2014-07-13  Jim Meyering  <meyering@fb.com>
32110         [BZ 17150]
32111         regex: don't deref NULL upon heap allocation failure
32112         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
32113         failure in one more place.
32114         To trigger the segfault, configure grep -with-included-regex,
32115         build it, and run these commands:
32116         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
32118 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
32120         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32122 2014-07-11  Richard Henderson  <rth@redhat.com>
32124         * sysdeps/aarch64/libm-test-ulps: Update.
32126 2014-07-10  Florian Weimer  <fweimer@redhat.com>
32128         [BZ #17135]
32129         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
32130         * nptl/allocatestack.c (__nptl_setxid_error): New function.
32131         (__nptl_setxid): Initialize error member.  Call
32132         __nptl_setxid_error.
32133         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
32134         * nptl/descr.h (struct xid_command): Add error member.
32135         * nptl/tst-setuid3.c: New file.
32136         * nptl/Makefile (tests): Add it.
32138 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32140         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
32141         New define.
32142         (__lll_trylock): Use __lll_base_trylock.
32143         (__lll_cond_trylock): Likewise.
32145 2014-07-10  Roland McGrath  <roland@hack.frob.com>
32147         * nptl/pthread_create.c (start_thread): Use atomic_or and
32148         lll_futex_wake directly rather than lll_robust_dead.
32149         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32150         (lll_robust_dead): Macro removed.
32151         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
32152         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32153         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32154         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32155         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32156         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32157         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32158         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32159         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32160         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32161         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32162         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32163         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32164         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32165         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32167         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
32168         Use atomic_compare_and_exchange_val_acq directly rather than
32169         lll_robust_trylock.
32170         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32171         (__lll_robust_trylock, lll_robust_trylock): Removed.
32172         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32173         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32174         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32175         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32176         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32177         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32178         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32179         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32180         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32181         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32182         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32183         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32184         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32185         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32187 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32189         * manual/locale.texi (Locale Names): New section documenting
32190         locale name syntax.  Adjust menu and node chaining accordingly.
32191         (Choosing Locale): Reference Locale Names, Locale Categories.
32192         Mention setting LC_ALL=C.  Reflect that name syntax is now
32193         documented.
32194         (Locale Categories): New section title.  Reference Locale Names.
32195         LC_ALL is an environment variable, but not a category.
32196         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
32197         description, now in Locale Name.  Reference that section.  Locale
32198         name syntax is now documented.
32200 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32202         [BZ #17137]
32203         * locale/findlocale.c (name_present, valid_locale_name): New
32204         functions.
32205         (_nl_find_locale): Use the loc_name variable to store name
32206         candidates.  Call name_present and valid_locale_name to check and
32207         validate locale names.  Return an error if the locale is invalid.
32209 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32211         * locale/setlocale.c (setlocale): Use strdup for allocating
32212         composite name copy.
32214 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32216         Sync up with gnulib.
32217         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
32218         [!_LIBC && ENABLE_NLS]: Include gettext.h.
32219         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
32220         and _GL_ARG_NONNULL.
32221         [USE_UNLOCKED_IO]: Include unlocked-io.h.
32222         [!_LIBC]: Include code for Windows and Cygwin.
32223         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
32224         Include prototype for int strerror_r.
32225         [!_LIBC] (is_open): New function.
32226         (flush_stdout): New function.
32227         (print_errno_message): Use it.
32228         (error): Likewise.
32229         (error_at_line): Likewise.
32230         (error_tail) Add function attribute macros.  Use
32231         __builtin_expect.
32233         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
32235         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
32237         * io/ftw.c: Include sys/param.h unconditionally.
32239         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
32241         [BZ #17125]
32242         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
32243         libc_freeres_ptr.
32244         (freecache): New function to free CACHE on exit.
32246         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
32247         initialization.
32249 2014-07-09  David S. Miller  <davem@davemloft.net>
32251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32253         * sysdeps/sparc/nptl/internaltypes.h: Delete.
32254         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
32255         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
32256         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
32257         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
32258         * sysdeps/sparc/nptl/sem_init.c: Likewise.
32259         * sysdeps/sparc/nptl/sem_post.c: Likewise.
32260         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
32261         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
32262         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
32263         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
32264         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
32265         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
32267 2014-07-09  Andreas Schwab  <schwab@suse.de>
32269         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
32270         output.
32271         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
32272         (do_test): Likewise.
32274         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32276 2014-07-09  Will Newton  <will.newton@linaro.org>
32278         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
32279         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
32280         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32281         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32282         * sysdeps/hppa/start.S (_start): Likewise.
32284 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32286         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
32288         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
32289         defined.
32291 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32293         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
32294         after checking that it is non-NULL.
32296         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
32298 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32300         * sysdeps/powerpc/memmove.c: Remove file.
32301         * sysdeps/powerpc/powerpc32/power4/memcopy.h
32302         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
32303         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32304         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
32305         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
32306         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
32307         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
32308         string memmove instead of removed powerpc one.
32310         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32311         [weak_alias]: Fix compiler warning due trailing data.
32312         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
32313         [weak_alias]: Likewise.
32314         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
32315         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
32317         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32318         (__libc_ifunc_impl_list): Add memmove functions.
32320 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32322         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
32323         Remove code.
32324         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
32325         Likewise.
32326         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
32327         Likewise.
32328         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
32329         Likewise.
32330         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
32331         Likewise.
32332         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
32333         Likewise.
32334         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
32335         Likewise.
32336         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
32337         Likewise.
32338         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
32339         Likewise.
32340         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
32341         Likewise.
32342         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
32343         Likewise.
32344         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
32345         Likewise.
32346         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
32347         Likewise.
32348         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
32349         Likewise.
32350         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
32351         Likewise.
32352         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
32353         Likewise.
32354         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
32355         Likewise.
32357 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32359         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
32360         to avoid alignment traps in non-cacheable memory.
32361         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32363         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
32364         multiarch objects.
32365         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
32366         file: multiarch power7 memmove.
32367         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
32368         multiarch default memmove.
32369         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
32370         multiarch memove for powerpc32/power4.
32372         * string/bcopy.c: Use full path to include memmove.c.
32373         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
32374         multiarch objects.
32375         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
32376         bcopy for powerpc64.
32377         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
32378         bcopy for powerpc64.
32379         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
32380         and memmove implementations.
32381         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
32382         optimized multiarch memmove for POWER7/powerpc64.
32383         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
32384         default multiarch memmove for powerpc64.
32385         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
32386         multiarch for powerpc64.
32387         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
32388         for POWER7/powerpc64.
32389         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
32390         memmove for POWER7/powerpc64.
32392         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
32393         glibc default one.
32395         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
32396         __ELF_NATIVE_CLASS equal to 64.
32398 2014-07-07  Roland McGrath  <roland@hack.frob.com>
32400         * sysdeps/nptl/lowlevellock.h: File removed.
32402         * NEWS: NPTL is no longer an add-on!
32403         * nptl/internaltypes.h: Moved ...
32404         * sysdeps/nptl/internaltypes.h: ... here.
32405         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
32406         * sysdeps/nptl/fork.c: Likewise.
32407         * sysdeps/nptl/gai_misc.h: Likewise.
32408         * sysdeps/nptl/librt-cancellation.c: Likewise.
32409         * sysdeps/nptl/jmp-unwind.c: Likewise.
32410         * sysdeps/nptl/setxid.h: Likewise.
32411         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
32412         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
32413         * sysdeps/unix/sysv/linux/arm/Implies: New file.
32414         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
32415         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
32416         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
32417         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
32418         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
32419         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
32420         * sysdeps/unix/sysv/linux/mips/Implies: New file.
32421         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
32422         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
32423         * sysdeps/unix/sysv/linux/sh/Implies: New file.
32424         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
32425         * sysdeps/unix/sysv/linux/tile/Implies: New file.
32426         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
32427         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
32428         * nptl/Makeconfig: Moved ...
32429         * sysdeps/nptl/Makeconfig: ... here.
32430         * nptl/configure: File removed.
32431         * nptl/ANNOUNCE: File removed.
32432         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
32433         * sysdeps/unix/sysv/linux/configure: Regenerated.
32435         * nptl/Makefile (routines): Add libc_pthread_init,
32436         libc_multiple_threads, register-atfork and unregister-atfork.
32437         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
32438         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
32439         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
32440         pthread-pi-defines.sym, structsem.sym.
32441         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
32442         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
32443         [$(subdir) = nptl] (tests): Add tst-setgetname.
32444         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
32445         * sysdeps/unix/sysv/linux/sigaction.c: Just include
32446         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
32447         [!LIBC_SIGACTION]: Remove aliases.
32448         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32449         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32450         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32451         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
32452         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32453         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
32454         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32455         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32456         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32457         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
32458         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
32459         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
32460         __libc_allocate_rtsig_private.
32461         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
32462         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
32463         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
32464         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
32465         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
32466         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
32467         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
32468         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
32469         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
32470         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
32471         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
32472         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
32473         * nptl/internaltypes.h: ... here.
32474         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
32475         * sysdeps/nptl/jmp-unwind.c: ... here.
32476         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
32477         * nptl/libc-lowlevellock.c: ... here.
32478         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
32479         * nptl/libc_multiple_threads.c: ... here.
32480         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
32481         * nptl/libc_pthread_init.c: ... here.
32482         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
32483         * nptl/lowlevelbarrier.sym: ... here.
32484         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
32485         * nptl/lowlevelcond.sym: ... here.
32486         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
32487         * nptl/lowlevellock.c: ... here.
32488         * nptl/lowlevellock.h: Moved ...
32489         * sysdeps/nptl/lowlevellock.h: ... here.
32490         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
32491         * nptl/lowlevelrobustlock.c: ... here.
32492         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
32493         * nptl/lowlevelrobustlock.sym: ... here.
32494         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
32495         * nptl/lowlevelrwlock.sym: ... here.
32496         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
32497         * nptl/pt-fork.c: ... here.
32498         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
32499         * nptl/pthread-pi-defines.sym: ... here.
32500         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
32501         * nptl/pthread_attr_getaffinity.c: ... here.
32502         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
32503         * nptl/pthread_attr_setaffinity.c: ... here.
32504         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
32505         * nptl/pthread_mutex_cond_lock.c: ... here.
32506         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32507         Update #include.
32508         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
32509         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
32510         * nptl/pthread_once.c: ... here, replacing old file.
32511         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
32512         * nptl/pthread_yield.c: ... here.
32513         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
32514         * nptl/register-atfork.c: ... here.
32515         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
32516         * nptl/sem_post.c: ... here.
32517         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
32518         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
32519         * nptl/sem_timedwait.c: ... here.
32520         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
32521         * nptl/sem_trywait.c: ... here.
32522         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
32523         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
32524         * nptl/sem_wait.c: ... here.
32525         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
32526         * nptl/structsem.sym: ... here.
32527         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
32528         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
32529         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
32530         * nptl/unregister-atfork.c: ... here.
32531         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
32532         * nptl/unwindbuf.sym: ... here.
32533         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
32534         * sysdeps/nptl/fork.c: ... here.
32535         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
32536         * sysdeps/nptl/fork.h: ... here.
32537         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
32538         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
32539         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
32540         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
32541         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
32542         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
32543         * sysdeps/unix/sysv/linux/getpid.c: ... here.
32544         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
32545         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
32546         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
32547         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
32548         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
32549         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
32550         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
32551         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
32552         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
32553         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
32554         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
32555         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
32556         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
32557         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
32558         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
32559         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
32560         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
32561         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
32562         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
32563         * sysdeps/unix/sysv/linux/raise.c: ... here.
32564         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
32565         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
32566         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
32567         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
32568         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
32569         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
32570         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
32571         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
32572         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
32573         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
32574         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
32575         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
32576         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
32577         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
32578         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
32580 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32582         * sysdeps/generic/memcopy.h: Add comment for
32583         MEMCPY_OK_FOR_FWD_MEMMOVE.
32585 2014-07-04  Will Newton  <will.newton@linaro.org>
32587         * string/memchr.c: Merge from gnulib.
32588         [_LIBC]: Remove conditionals.
32589         (__ptr_t): Remove define.
32590         (LONG_MAX_32_BITS): Likewise.
32591         (LONG_MAX): Likewise.
32592         (MEMCHR): Use ANSI prototype and optimize algorithm.
32594         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
32596 2014-07-03  Roland McGrath  <roland@hack.frob.com>
32598         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
32599         (lll_futex_timed_wait_bitset): Fix syscall argument count.
32601         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
32602         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
32603         in a bare environment with no <stdlib.h> installed.
32604         * sysdeps/nptl/configure: Regenerated.
32606         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
32608         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
32609         AC_EGREP_CPP for kernel header checks, so they only succeed if
32610         including <linux/version.h> actually works right.
32611         * sysdeps/unix/sysv/linux/configure: Regenerated.
32613         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
32614         value so it's not diagnosed as unused.
32616         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
32617         thing) with "ifeq ($(subdir),rt)".
32619 2014-07-03  Richard Henderson  <rth@redhat.com>
32621         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
32622         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
32623         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
32625         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
32626         (math_force_eval): New.
32628         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
32629         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
32631         * sysdeps/alpha/fpu/s_round.c: Remove file.
32632         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
32634         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
32635         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
32636         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
32637         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
32638         (_dl_start, print_statistics): Likewise.
32639         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
32640         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
32642         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32643         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32644         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32645         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32646         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32647         (HP_SMALL_TIMING_AVAIL): Define.
32648         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32649         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32650         (HP_SMALL_TIMING_AVAIL): Define.
32651         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32652         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32654         * sysdeps/aarch64/hp-timing.h: New file.
32656         * sysdeps/generic/hp-timing.h: Remove dead comment.
32657         * sysdeps/generic/hp-timing-common.h: New file.
32658         * sysdeps/alpha/hp-timing.h: Include it.
32659         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
32660         * sysdeps/i386/i686/hp-timing.h: Likewise.
32661         * sysdeps/ia64/hp-timing.h: Likewise.
32662         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32663         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32664         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32665         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32666         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
32667         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
32668         (hp_timing_t): New.
32670         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
32671         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
32672         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
32673         * elf/rtld.c (_dl_start_final): Likewise.
32674         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
32675         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32676         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32677         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32678         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32679         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32680         (HP_TIMING_DIFF_INIT): Remove.
32681         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32682         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32683         (HP_TIMING_DIFF_INIT): Remove.
32684         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32685         * sysdeps/i386/i686/hp-timing.c: Remove file.
32686         * sysdeps/x86_64/hp-timing.c: Remove file.
32687         * sysdeps/ia64/hp-timing.c: Remove file.
32688         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
32689         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
32690         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
32691         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
32693         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
32694         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
32695         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
32696         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32697         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32698         (HP_TIMING_ACCUM): Remove.
32699         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32700         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
32701         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32703         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
32704         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
32705         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
32706         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
32707         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
32708         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32709         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
32710         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32712         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
32714 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
32716         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
32718 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32720         Sync up with gettext.
32721         * intl/loadmsgcat.c: Define O_BINARY if not defined.
32722         [_MSC_VER]: Include malloc.h
32723         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
32724         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
32725         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
32726         TEMP_FAILURE_RETRY.  Cast return of alloca.
32727         [!_LIBC] Call gl_rwlock_init.
32728         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
32730 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32732         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
32733         before checking its value.
32735 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32737         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
32739         * debug/memcpy_chk.c: Don't include pagecopy.h.
32740         * debug/mempcpy_chk.c: Likewise.
32741         * string/memcpy.c: Likewise.
32742         * string/memmove.c: Likewise.
32743         * sysdeps/powerpc/memmove.c: Likewise.
32744         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
32745         definition of PAGE_COPY_FWD_MAYBE here...
32746         * sysdeps/generic/pagecopy.h: ... from here.
32747         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
32749 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32750             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32752         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
32753         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
32754         optimizations.
32755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32756         (__libc_ifunc_impl_list): Likewise.
32757         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
32758         multiarch strcat for PPC64.
32759         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
32760         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
32762 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32764         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
32766 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32768         * intl/loadmsgcat.c: Remove declaration of
32769         get_sysdep_segment_value.
32770         (get_sysdep_segment_value): Use ISO C style.
32771         (_nl_load_domain): Use ISO C style.  Get rid of redundant
32772         semicolon.  Fix typo and formatting in comment.
32773         (_nl_unload_domain): Use ISO C style.
32775         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
32777 2014-07-02  Will Newton  <will.newton@linaro.org>
32779         * malloc/obstack.c: Merge from gnulib master.
32780         [HAVE_CONFIG_H]: Remove conditional code.
32781         [!_LIBC]: Include config.h.
32782         [!ELIDE_CODE]: Don't include inttypes.h, include
32783         stdint.h unconditionally.
32784         (print_and_abort): Mark as _Noreturn.
32785         (_obstack_allocated_p): Mark as __attribute_pure__.
32786         (obstack_free): Rename to __obstack_free.
32787         [!__attribute__]: Remove conditional code.
32788         * malloc/obstack.h: Merge from gnulib master.
32789         [__cplusplus]: Move conditional down.
32790         [!__attribute_pure__]: Define __attribute_pure__ here
32791         if it is not already defined.
32792         (_obstack_memory_used): Mark as __attribute_pure__.
32793         [!__obstack_free]: Define as obstack_free.
32794         [__GNUC__]: Remove check for ancient NeXT gcc.
32796 2014-07-02  Will Newton  <will.newton@linaro.org>
32797             Paul Eggert  <eggert@cs.ucla.edu>
32799         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
32801 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32803         * resolv/gethnamaddr.c: Add comment warning that the file is
32804         not maintained.
32806 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
32808         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
32809         entries.
32811         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
32812         entry for aio_cancel and aio_cancel64.
32813         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
32814         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
32815         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
32816         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
32817         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
32818         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
32819         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
32820         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
32821         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
32822         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
32823         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
32824         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
32825         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
32827 2014-07-01  Roland McGrath  <roland@hack.frob.com>
32829         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
32830         * nptl/pthread_mutex_lock.c: Likewise.
32831         * nptl/pthread_mutex_timedlock.c: Likewise.
32832         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
32834 2014-07-01  Richard henderson  <rth@redhat.com>
32836         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32837         (__isnan, __isnanl): Remove.
32838         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32840         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32842 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32844         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32846 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32848         * resolv/nss_dns/dns-host.c (getanswer_r)
32849         [MULTI_PTRS_ARE_ALIASES]: Remove code.
32851 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
32853         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32854         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
32855         undefine.
32856         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
32857         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32859 2014-07-01  Roland McGrath <roland@hack.frob.com>
32861         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
32862         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
32864         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
32865         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
32867         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
32868         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32869         ... here.
32870         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
32871         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
32873         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
32874         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
32875         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
32876         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32878         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32879         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32880         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32881         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32882         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32883         Moved ...
32884         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32885         ... here.
32886         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32887         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32888         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32889         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32890         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
32891         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
32892         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
32893         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
32894         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
32895         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
32896         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
32897         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
32898         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
32899         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
32900         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
32901         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
32902         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
32903         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
32904         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
32905         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
32906         ... here.
32907         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
32908         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
32909         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
32910         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
32911         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
32912         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
32913         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
32914         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
32916 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
32918         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
32919         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
32920         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
32921         Add sysdep.
32923 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32927 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32929         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32930         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32932         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32934         * sysdeps/arm/libm-test-ulps: Regenerated.
32936 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32937             Roland McGrath <roland@hack.frob.com>
32939         * test-skeleton.c (signal_handler): Kill the whole process group
32940         before killing the child individually.
32941         (main): Report any failure on `setpgid'.
32943 2014-06-30  Roland McGrath  <roland@hack.frob.com>
32945         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
32946         from _TLS_H to _ARM_NPTL_TLS_H.
32947         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
32948         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
32950 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32952         [BZ #16539]
32953         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
32954         (__expm1l): Return argument unchanged when small but not
32955         subnormal.
32957         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
32958         include macro name.
32959         (_FP_UNPACK_RAW_1_P): Likewise.
32960         (_FP_PACK_RAW_1): Likewise.
32961         (_FP_PACK_RAW_1_P): Likewise.
32962         (_FP_MUL_MEAT_1_wide): Likewise.
32963         (_FP_MUL_MEAT_DW_1_hard): Likewise.
32964         (_FP_MUL_MEAT_1_hard): Likewise.
32965         (_FP_DIV_MEAT_1_imm): Likewise.
32966         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
32967         (_FP_DIV_MEAT_1_udiv): Likewise.
32968         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
32969         (_FP_UNPACK_RAW_2): Likewise.
32970         (_FP_UNPACK_RAW_2_P): Likewise.
32971         (_FP_PACK_RAW_2): Likewise.
32972         (_FP_PACK_RAW_2_P): Likewise.
32973         (_FP_MUL_MEAT_DW_2_wide): Likewise.
32974         (_FP_MUL_MEAT_2_wide): Likewise.
32975         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
32976         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32977         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
32978         (_FP_MUL_MEAT_2_gmp): Likewise.
32979         (_FP_DIV_MEAT_2_udiv): Likewise.
32980         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
32981         (_FP_FRAC_SRL_4): Likewise.
32982         (_FP_FRAC_SRST_4): Likewise.
32983         (_FP_FRAC_SRS_4): Likewise.
32984         (_FP_UNPACK_RAW_4): Likewise.
32985         (_FP_UNPACK_RAW_4_P): Likewise.
32986         (_FP_PACK_RAW_4): Likewise.
32987         (_FP_PACK_RAW_4_P): Likewise.
32988         (_FP_MUL_MEAT_DW_4_wide): Likewise.
32989         (_FP_MUL_MEAT_4_wide): Likewise.
32990         (_FP_MUL_MEAT_4_gmp): Likewise.
32991         (umul_ppppmnnn): Likewise.
32992         (_FP_DIV_MEAT_4_udiv): Likewise.
32993         (__FP_FRAC_ADD_4): Likewise.
32994         (__FP_FRAC_SUB_3): Likewise.
32995         (__FP_FRAC_SUB_4): Likewise.
32996         (__FP_FRAC_DEC_3): Likewise.
32997         (__FP_FRAC_DEC_4): Likewise.
32998         (__FP_FRAC_ADDI_4): Likewise.
32999         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
33000         (_FP_FRAC_SRL_8): Likewise.
33001         (_FP_FRAC_SRS_8): Likewise.
33003         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
33004         include macro name.
33005         (FP_UNPACK_RAW_EP): Likewise.
33006         (FP_PACK_RAW_E): Likewise.
33007         (FP_PACK_RAW_EP): Likewise.
33008         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
33009         (_FP_ISSIGNAN): Likewise.
33010         (_FP_ADD_INTERNAL): Likewise.
33011         (_FP_FMA): Likewise.
33012         (_FP_CMP): Likewise.
33013         (_FP_SQRT): Likewise.
33014         (_FP_TO_INT): Likewise.
33015         (_FP_FROM_INT): Likewise.
33016         (FP_EXTEND): Likewise.
33017         (_FP_DIV_MEAT_N_loop): Likewise.
33019 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33021         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
33022         throughout.
33024 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
33026         [BZ #17097]
33027         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
33028         result with correct sign in case of exponents that produce
33029         overflow except for X very close to 1.
33031 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
33033         mktime: merge #if/#ifdef usage from glibc
33034         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
33035         as that works with both Glibc's and Gnulib's style.
33036         See thread starting at Siddhesh Poyarekar's bug report at:
33037         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
33039 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33041         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
33042         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
33043         * sysdeps/tile/tilegx/memmove.c: Remove file.
33045 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33047         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
33048         abi-name definition.
33049         * scripts/soversions.awk: Do not handle or generate ABI lines.
33050         * shlib-versions: Remove ABI entries.
33051         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
33052         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
33054 2014-06-27  Roland McGrath  <roland@hack.frob.com>
33056         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
33057         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
33058         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
33059         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
33060         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
33061         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
33062         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
33063         Moved ...
33064         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
33065         ... here.
33066         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
33067         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
33068         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
33069         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
33070         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
33071         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
33072         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
33073         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
33074         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
33075         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
33076         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
33077         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
33078         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
33079         Moved ...
33080         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
33081         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
33082         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
33083         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
33084         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
33085         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
33086         Moved ...
33087         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
33088         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
33089         Moved ...
33090         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
33091         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
33092         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
33093         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
33094         Moved ...
33095         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
33096         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
33097         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
33098         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
33099         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
33100         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
33101         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
33102         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
33103         Moved ...
33104         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
33105         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
33106         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
33107         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
33108         Moved ...
33109         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
33110         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
33111         Moved ...
33112         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
33113         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
33114         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
33115         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
33116         Moved ...
33117         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
33118         ... here.
33119         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
33120         Identical file removed.
33121         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
33122         Moved ...
33123         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
33124         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
33125         Identical file removed.
33126         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
33127         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
33128         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
33129         Moved ...
33130         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
33131         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
33132         Identical file removed.
33133         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
33134         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
33135         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
33136         Identical file removed.
33137         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
33138         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
33139         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
33140         Identical file removed.
33141         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
33142         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
33143         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
33144         Identical file removed.
33145         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
33146         Moved ...
33147         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
33148         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
33149         Identical file removed.
33150         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
33151         Moved ...
33152         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
33153         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
33154         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
33155         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
33156         Identical file removed.
33157         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
33158         Moved ...
33159         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
33160         ... here.
33161         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
33162         Identical file removed.
33163         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
33164         Moved ...
33165         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
33166         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
33167         Identical file removed.
33168         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
33169         Moved ...
33170         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
33171         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
33172         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
33173         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
33174         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
33175         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
33176         Moved ...
33177         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
33178         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
33179         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
33181         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
33182         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
33183         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
33184         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
33185         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
33187 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
33189         [BZ #17092]
33190         * nscd/nscd.c (monitor_child): Return exit status of child
33191         instead of return value from wait syscall.
33193 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33195         * configure.ac (libc_commonpagesize): Remove variable.
33196         (libc_relro_required): Likewise.
33197         (libc_cv_z_relro): Remove configure test.
33198         * configure: Regenerated.
33199         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
33200         variable.
33201         (libc_relro_required): Likewise.
33202         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
33203         (libc_relro_required): Likewise.
33204         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
33205         (libc_relro_required): Likewise.
33206         * sysdeps/arm/preconfigure: Regenerated.
33207         * sysdeps/ia64/preconfigure: Remove file.
33208         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
33209         variable.
33210         (libc_relro_required): Likewise.
33212         [BZ #16561]
33213         [BZ #16562]
33214         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
33215         (__ieee754_yn): Set FE_TONEAREST mode internally and then
33216         recompute overflowing results in original rounding mode.
33217         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
33218         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
33219         recompute overflowing results in original rounding mode.
33220         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
33221         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33222         recompute overflowing results in original rounding mode.
33223         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
33224         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33225         recompute overflowing results in original rounding mode.
33226         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
33227         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33228         recompute overflowing results in original rounding mode.
33229         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
33230         (libc_feholdsetround_ctx): New macro.
33231         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
33232         * sysdeps/i386/fpu/libm-test-ulps: Update.
33233         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
33235 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33237         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
33238         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
33239         corresponding .cpsetup call.
33241 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33243         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
33244         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
33245         * sysdeps/arm/Makefile [$(subdir) = csu]
33246         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
33247         (static-only-routines): Add aeabi_read_tp here.
33248         (shared-only-routines): Add libc-aeabi_read_tp here.
33249         (CFLAGS-libc-start.c): Add -fexceptions here.
33250         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
33251         (sysdep_routines, static-only-routines, shared-only-routines):
33252         Don't add to these here.
33253         (CFLAGS-libc-start.c): Likewise.
33255         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
33256         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33257         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
33258         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33259         * sysdeps/arm/Makefile [$(subdir) = rt]
33260         (librt-sysdep_routines, librt-shared-only-routines):
33261         Append rt-aeabi_unwind_cpp_pr1 here.
33262         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
33263         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
33264         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
33265         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33266         Append nptl-aeabi_unwind_cpp_pr1 here.
33267         (tests): Filter out tst-cleanupx4 here.
33268         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
33269         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
33270         Don't do those here.
33272 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33274         * scripts/list-sources.sh: Do not handle ports specially.
33276 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33278         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
33279         * sysdeps/arm/feupdateenv.c: Likewise.
33281         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
33283 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33285         * manual/texinfo.tex: Update to version 2014-05-05.10 with
33286         trailing whitespace removed.
33287         * scripts/config.guess: Update to version 2014-03-23.
33288         * scripts/config.sub: Update to version 2014-05-01
33289         * scripts/install-sh: Update to version 2013-12-25.23.
33290         * scripts/move-if-change: Update from gnulib.
33292 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33294         * debug/memmove_chk.c: Remove pagecopy.h include.
33296 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
33298         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
33299         identical to gnulib mktime.
33301 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33303         * configure.ac: Do not test for machine being rs6000.  Do not test
33304         for powerpc*-*soft.
33305         * configure: Regenerated.
33307         [BZ #11505]
33308         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
33309         test.
33310         * configure: Regenerated.
33311         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
33312         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
33313         Remove configure test.
33314         * sysdeps/arm/configure: Regenerated.
33315         * sysdeps/nptl/configure.ac: Do not check
33316         libc_cv_asm_cfi_directives.
33317         * sysdeps/nptl/configure: Regenerated.
33318         * sysdeps/x86_64/nptl/configure.ac: Remove file.
33319         * sysdeps/x86_64/nptl/configure: Remove generated file.
33320         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
33321         unconditional.
33322         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
33324 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33326         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
33327         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
33328         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
33329         it is defined.
33331         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
33332         instead of whether it is defined.
33333         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
33334         * sysdeps/hppa/dl-machine.h: Likewise.
33335         * sysdeps/ia64/dl-machine.h: Likewise.
33336         * sysdeps/m68k/dl-machine.h: Likewise.
33337         * sysdeps/microblaze/dl-machine.h: Likewise.
33338         * sysdeps/mips/dl-machine.: Likewise.
33339         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33340         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33341         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33342         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33343         * sysdeps/sh/dl-machine.h: Likewise.
33344         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33345         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33346         * sysdeps/tile/dl-machine.h: Likewise.
33347         * sysdeps/x86_64/dl-machine.h: Likewise.
33349         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
33350         code.
33351         (verify_persistent_db): Likewise.
33353 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
33356         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
33357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
33358         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
33359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33360         Moved ...
33361         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
33362         ... here.
33363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
33364         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
33365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
33366         Identical file removed.
33367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
33368         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
33369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
33370         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
33371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
33372         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
33373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
33374         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
33375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
33376         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
33377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33378         Moved ...
33379         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
33380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
33381         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
33382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
33383         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
33384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33385         Moved ...
33386         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
33387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
33388         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
33389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
33390         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
33391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33392         Identical file removed.
33393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
33394         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
33395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
33396         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
33397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33398         Moved ...
33399         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
33400         ... here.
33401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
33402         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
33403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
33404         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
33405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
33406         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
33407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
33408         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
33409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
33410         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
33411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33412         Moved ...
33413         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
33414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
33415         Moved ...
33416         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
33417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
33418         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
33419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33420         Moved ...
33421         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
33422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
33423         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
33425         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
33426         folded into ...
33427         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
33428         * sysdeps/unix/sysv/linux/s390/Versions
33429         (libpthread: GLIBC_2.19): New version set.
33430         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
33431         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
33432         (librt: GLIBC_2.3.3): New version set.
33433         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
33434         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
33435         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
33436         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
33437         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
33438         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
33439         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
33440         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
33441         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
33442         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
33443         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
33444         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
33445         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
33446         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
33447         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
33448         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
33449         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
33450         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
33451         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
33452         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
33453         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
33454         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
33455         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
33456         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
33457         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
33458         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
33459         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
33460         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
33461         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
33462         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
33463         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
33464         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
33465         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
33466         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
33467         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
33468         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
33469         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
33470         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
33471         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
33472         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
33473         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
33474         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
33475         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
33476         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
33477         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
33479         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
33480         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
33481         (__libc_vfork): Define the function under this name.
33482         [!NOT_IN_libc] (__vfork): Make this an alias.
33483         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33484         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
33485         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
33486         (__libc_vfork): Define the function under this name.
33487         [!NOT_IN_libc] (__vfork): Make this an alias.
33488         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33489         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
33490         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
33491         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
33492         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
33493         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33495         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
33496         code that was previously under [RESET_PID].
33497         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
33498         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
33499         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
33501         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
33502         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
33503         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
33504         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
33505         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
33506         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
33507         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
33508         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
33509         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
33510         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
33511         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
33512         Moved ...
33513         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
33514         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
33515         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
33516         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
33517         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
33518         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
33519         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
33520         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
33521         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
33522         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
33523         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
33524         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
33525         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
33526         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
33527         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
33528         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
33529         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
33530         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
33531         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
33532         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
33533         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
33534         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
33535         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
33536         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
33537         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
33538         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
33539         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
33540         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
33541         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
33543 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33545         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
33546         that was previously under [RESET_PID].
33547         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
33549 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33551         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
33552         not undefine and redefine.
33553         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
33554         [O_CLOEXEC]: Make code unconditional.
33555         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
33556         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
33557         <kernel-features.h>.
33558         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
33559         conditional variable definition.
33560         (shm_open) [O_CLOEXEC]: Make code unconditional.
33561         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
33562         code.
33564         * configure.ac (USE_REGPARMS): Don't define here.
33565         * configure: Regenerated.
33566         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
33567         * sysdeps/i386/configure: Regenerated.
33569         * nptl/createthread.c: Don't include kernel-features.h.
33570         * nptl/pthread_cancel.c: Likewise.
33571         * nptl/pthread_condattr_setclock.c: Likewise.
33572         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
33573         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
33574         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
33575         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
33576         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
33577         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
33578         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33579         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
33580         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33581         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
33582         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
33583         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
33584         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
33585         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
33586         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
33587         * nscd/gai.c: Likewise.
33588         * nss/nss_db/db-open.c: Likewise.
33589         * sysdeps/generic/ldsodefs.h: Likewise.
33590         * sysdeps/sh/nptl/tls.h: Likewise.
33591         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33592         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
33593         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
33594         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
33595         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
33596         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33597         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
33598         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33599         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33600         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33601         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33602         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33603         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
33604         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
33605         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
33606         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
33607         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
33608         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
33609         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
33610         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
33611         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
33612         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
33613         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
33614         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
33615         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
33616         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
33617         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
33618         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
33619         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33620         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
33621         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
33622         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
33623         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
33624         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33625         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33626         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33627         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33628         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
33629         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
33630         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
33631         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33632         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
33633         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
33634         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33635         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
33636         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
33637         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
33638         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
33639         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
33640         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
33641         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
33642         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
33643         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
33644         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33645         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
33646         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33647         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33648         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
33649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
33651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
33652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
33653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
33654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
33655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
33656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
33657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
33660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
33661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
33662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
33663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
33669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
33670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
33671         * sysdeps/unix/sysv/linux/pread.c: Likewise.
33672         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
33673         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
33674         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
33675         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
33676         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
33677         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
33678         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
33679         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
33680         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
33681         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
33682         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
33683         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
33684         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
33685         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
33686         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
33687         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33688         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
33689         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
33690         * sysdeps/unix/sysv/linux/system.c: Likewise.
33691         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
33692         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33693         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33694         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33695         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33696         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33697         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33699         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
33700         * configure: Regenerated.
33701         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
33703         * configure.ac (base_machine): Do not set specially for particular
33704         machines here.
33705         * configure: Regenerated.
33706         * sysdeps/powerpc/preconfigure: Move machine and base_machine
33707         settings from configure.ac.
33708         * sysdeps/i386/preconfigure: New file.
33709         * sysdeps/s390/preconfigure: Likewise.
33710         * sysdeps/sh/preconfigure: Likewise.
33711         * sysdeps/sparc/preconfigure: Likewise.
33713 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33715         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
33716         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
33717         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
33718         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
33719         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
33720         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
33721         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
33722         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
33723         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
33724         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
33725         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
33726         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
33727         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
33728         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
33729         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
33730         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
33731         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
33732         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
33733         * sysdeps/sparc/sparc64/Makefile: ... appended here.
33735         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
33736         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
33737         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
33738         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
33739         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
33740         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
33741         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
33742         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
33743         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
33744         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
33745         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
33746         * sysdeps/sparc/sparc32/sem_post.c: ... here.
33747         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
33748         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
33749         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
33750         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
33751         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
33752         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
33753         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
33754         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
33755         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
33756         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
33757         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
33758         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
33759         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
33760         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
33761         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
33762         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
33763         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
33764         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
33765         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
33766         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
33767         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
33768         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
33769         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
33770         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
33771         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
33772         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
33774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
33775         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
33776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
33777         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
33778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33779         Moved ...
33780         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
33781         ... here.
33782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
33783         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
33784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
33785         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
33786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
33787         Moved ...
33788         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
33789         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
33790         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
33791         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
33792         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
33793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
33794         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
33795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33796         Moved ...
33797         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
33798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33799         Moved ...
33800         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
33801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
33802         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
33803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33804         Moved ...
33805         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
33806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
33807         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
33808         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
33809         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
33810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
33811         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
33812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
33813         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
33814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33815         Moved ...
33816         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
33817         ... here.
33818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
33819         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
33820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
33821         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
33822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
33823         Moved ...
33824         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
33825         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
33826         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
33827         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
33828         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
33829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
33830         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
33831         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33832         Moved ...
33833         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
33834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33835         Moved ...
33836         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
33837         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
33838         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
33839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33840         Moved ...
33841         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
33842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
33843         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
33844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
33845         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
33847 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33849         * timezone/checktab.awk: Update from tzcode 2014e.
33850         * timezone/private.h: Likewise.
33851         * timezone/tzfile.h: Likewise.
33852         * timezone/zdump.c: Likewise.
33853         * timezone/zic.c: Likewise.
33855         * sysdeps/unix/sysv/linux/kernel-features.h
33856         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
33857         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
33858         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
33859         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33860         Remove conditional code.
33862 2014-06-25  Will Newton  <will.newton@linaro.org>
33864         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
33865         (_dl_arm_cap_flags): Add HWCAP2 values.
33866         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
33867         (_DL_HWCAP_COUNT): Increase to 37.
33868         (_DL_HWCAP_LAST): New define.
33869         (_DL_HWCAP2_LAST): New define.
33870         (_dl_procinfo): Add support for printing
33871         AT_HWCAP2 entries.
33872         (_dl_string_hwcap): Use _dl_hwcap_string.
33874 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33878 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33880         * README: Do not mention ports directory.
33882         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33883         Remove macro.
33884         * sysdeps/unix/sysv/linux/futimes.c: Do not include
33885         <kernel-features.h>.
33886         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33887         conditional variable definition.
33888         (__futimes): Update comment.
33889         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
33890         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
33892         [BZ #16560]
33893         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33894         arguments close to 0.
33895         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
33896         Likewise.
33897         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
33898         Likewise.
33899         * math/auto-libm-test-in: Add more tests of exp10.
33900         * math/auto-libm-test-out: Regenerated.
33901         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33903         * sysdeps/unix/sysv/linux/kernel-features.h
33904         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
33905         * sysdeps/unix/sysv/linux/readv.c: Do not include
33906         <kernel-features.h>.
33907         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33908         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33909         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33910         unconditional.
33911         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33912         conditional code.
33913         * sysdeps/unix/sysv/linux/writev.c: Do not include
33914         <kernel-features.h>.
33915         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33916         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33917         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33918         unconditional.
33919         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33920         conditional code.
33922 2014-06-25  Will Newton  <will.newton@linaro.org>
33924         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
33925         comment changes throughout the file.  Remove checks
33926         for HAVE_*_H definitions that are not required.
33927         (__gen_tempname): Call abort if an unknown kind value is
33928         passed.
33930 2014-06-25  Andreas Schwab  <schwab@suse.de>
33932         [BZ #17086]
33933         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
33934         scalbln, scalblnf, scalblnl in libc.
33936 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33938         [BZ #17086]
33939         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
33940         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33941         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33943 2014-06-24  Roland McGrath  <roland@hack.frob.com>
33945         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
33946         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
33947         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
33948         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
33949         Update #include.
33950         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
33951         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
33952         Update #include.
33953         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
33954         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
33955         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
33956         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
33957         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
33958         * sysdeps/x86/bits/pthreadtypes.h: ... here.
33959         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
33960         * sysdeps/x86/bits/semaphore.h: ... here.
33961         * sysdeps/x86/nptl/elide.h: Moved ...
33962         * sysdeps/x86/elide.h: ... here.
33963         * sysdeps/x86_64/nptl/Implies: File removed.
33964         * sysdeps/i386/nptl/Implies: File removed.
33966 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
33968         [BZ #16539]
33969         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
33970         return the argument for normal arguments with exponent below -64.
33971         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33972         Likewise.
33973         * math/auto-libm-test-in: Add another test of expm1.
33974         * math/auto-libm-test-out: Regenerated.
33976         [BZ #16287]
33977         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
33978         calling __erfcl for arguments at least 16.
33979         * math/auto-libm-test-in: Add more tests of erf.
33980         * math/auto-libm-test-out: Regenerated.
33982         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
33983         individual architectures.
33984         * sysdeps/unix/sysv/linux/configure: Regenerated.
33985         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
33986         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
33987         * sysdeps/unix/sysv/linux/powerpc/configure.ac
33988         (ldd_rewrite_script): Define variable.
33989         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
33991         file.
33992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
33993         generated file.
33994         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
33995         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
33996         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
33997         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33998         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
33999         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
34000         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
34001         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
34003 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34005         [BZ #17084]
34006         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
34007         Rename member __data.d to __data.__elision_data.
34009 2014-06-24  Wilco  <wdijkstr@arm.com>
34011         * NEWS: Add 16918 to fixed bug list.
34013 2014-06-24  Wilco  <wdijkstr@arm.com>
34015         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
34017 2014-06-24  Wilco  <wdijkstr@arm.com>
34019         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
34020         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
34021         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
34022         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
34023         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
34024         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
34025         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
34026         Use _FPU_MASK_RM.
34028 2014-06-24  Wilco  <wdijkstr@arm.com>
34030         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
34032 2014-06-24  Wilco  <wdijkstr@arm.com>
34034         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
34035         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
34036         * sysdeps/arm/fesetround.c (fesetround): Remove space.
34037         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
34039 2014-06-24  Wilco  <wdijkstr@arm.com>
34041         [BZ #16918]
34042         * sysdeps/arm/feupdateenv.c (feupdateenv):
34043         Rewrite to reduce FPSCR accesses and fix return value.
34045 2014-06-24  Wilco  <wdijkstr@arm.com>
34047         * sysdeps/arm/fclrexcpt.c (feclearexcept):
34048         Optimize to avoid unnecessary FPSCR writes.
34049         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
34050         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
34051         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
34052         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
34054 2014-06-24  Wilco  <wdijkstr@arm.com>
34056         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
34057         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
34058         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
34059         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
34060         Call libc_fetestexcept_vfp.
34061         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
34062         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
34063         __SOFTFP__ ifdef so that they can be built for softfp.
34065 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34067         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
34068         argument type signed char.
34070         * Makerules (check-abi): Dump diff of symlist if the test
34071         fails.
34073 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34075         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
34076         using abort.
34078         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34079         Remove unused variable ST.
34081 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34083         [BZ #16354]
34084         [BZ #17061]
34085         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
34086         small arguments before calling __expm1.
34087         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
34088         small arguments before calling __expm1f.
34089         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
34090         small arguments before calling __expm1l.
34091         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34092         Likewise.
34093         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34094         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
34095         spurious underflow for some cosh tests.
34096         * math/auto-libm-test-out: Regenerated.
34097         * sysdeps/i386/fpu/libm-test-ulps: Update.
34099         [BZ #17050]
34100         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
34101         (__ieee754_y1): Set errno if return value overflows.
34102         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
34103         (__ieee754_y1f): Set errno if return value overflows.
34104         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
34105         (__ieee754_y1l): Set errno if return value overflows.
34106         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
34107         (__ieee754_y1l): Set errno if return value overflows.
34108         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
34109         * math/auto-libm-test-out: Regenerated.
34111         * math/gen-auto-libm-tests.c: Document use of
34112         ignore-zero-inf-sign.
34113         (input_flag_type): Add value flag_ignore_zero_inf_sign.
34114         (input_flags): Add ignore-zero-inf-sign.
34115         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
34116         * math/gen-libm-test.pl (generate_testfile): Handle
34117         ignore-zero-inf-sign.
34118         * math/auto-libm-test-in: Mark some cpow tests with
34119         ignore-zero-inf-sign and some with xfail-rounding.
34120         * math/auto-libm-test-out: Regenerated.
34121         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
34122         * sysdeps/i386/fpu/libm-test-ulps: Update.
34123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34125         [BZ #16315]
34126         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
34127         overflowing or underflowing operations take place with sign of
34128         result.
34129         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34130         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
34131         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
34132         (__ieee754_pow): Recompute overflowing and underflowing results in
34133         original rounding mode.
34134         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
34135         (__powl_helper): Allow negative argument X and scale negated value
34136         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
34137         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
34138         overflowing or underflowing operations take place with sign of
34139         result.
34140         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
34141         Include <math.h>.
34142         * math/auto-libm-test-in: Add more tests of pow.
34143         * math/auto-libm-test-out: Regenerated.
34144         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
34145         (pow_tonearest_test_data): Remove.
34146         (pow_test_tonearest): Likewise.
34147         (pow_towardzero_test_data): Likewise.
34148         (pow_test_towardzero): Likewise.
34149         (pow_downward_test_data): Likewise.
34150         (pow_test_downward): Likewise.
34151         (pow_upward_test_data): Likewise.
34152         (pow_test_upward): Likewise.
34153         (main): Don't call removed functions.
34154         * sysdeps/i386/fpu/libm-test-ulps: Update.
34155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34157 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
34160         Moved ...
34161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
34162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34163         Moved ...
34164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
34165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34166         Moved ...
34167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
34168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34169         Moved ...
34170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
34171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34172         File removed.
34173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34174         File removed.
34175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
34176         File removed.
34177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
34178         File removed.
34179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
34180         File removed.
34181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
34182         File removed.
34183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
34184         File removed.
34185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34186         File removed.
34187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
34188         File removed.
34189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34190         File removed.
34191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
34192         File removed.
34193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
34194         File removed.
34195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
34196         Moved ...
34197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
34198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
34199         Moved ...
34200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
34201         ... here.
34202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
34203         Moved ...
34204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
34205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
34206         Moved ...
34207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
34208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
34209         Moved ...
34210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
34211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
34212         Moved ...
34213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
34214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
34215         Moved ...
34216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
34217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
34218         Moved ...
34219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
34220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
34221         Moved ...
34222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
34223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
34224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
34225         ... here.
34226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
34227         Moved ...
34228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
34229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34230         Moved ...
34231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
34232         ... here.
34233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
34234         Moved ...
34235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
34236         ... here.
34237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34238         Moved ...
34239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34240         ... here.
34241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34242         Moved ...
34243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
34244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34245         Moved ...
34246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
34247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
34248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
34249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34250         Moved ...
34251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
34252         ... here.
34253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34254         Moved ...
34255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
34256         ... here.
34257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34258         Moved ...
34259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
34260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34261         Moved ...
34262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
34263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34264         Moved ...
34265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
34266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34267         Moved ...
34268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
34269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34270         Moved ...
34271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
34272         ... here.
34273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34274         Moved ...
34275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
34276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34277         Moved ...
34278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
34279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34280         Moved ...
34281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
34282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34283         Moved ...
34284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
34285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
34286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
34287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34288         Moved ...
34289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
34290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34291         Moved ...
34292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
34293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34294         Moved ...
34295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
34296         ... here.
34297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34298         Moved ...
34299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
34300         ... here.
34301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34302         Moved ...
34303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
34304         ... here.
34305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34306         Moved ...
34307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
34308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34309         Moved ...
34310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
34311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34312         Moved ...
34313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
34314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34315         Moved ...
34316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
34317         ... here.
34318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34319         Moved ...
34320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
34321         ... here.
34322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34323         Moved ...
34324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
34325         ... here.
34326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34327         Moved ...
34328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
34329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34330         Moved ...
34331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
34333 2014-06-23  Will Newton  <will.newton@linaro.org>
34334             Wilco  <wdijkstr@arm.com>
34336         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
34337         implementation.  Include get-rounding-mode.h.
34338         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
34339         [!libc_feholdsetround_noex_ctx]: Define
34340         libc_feholdsetround_noex_ctx.
34341         [!libc_feholdsetround_noexf_ctx]: Define
34342         libc_feholdsetround_noexf_ctx.
34343         [!libc_feholdsetround_noexl_ctx]: Define
34344         libc_feholdsetround_noexl_ctx.
34345         (libc_feholdsetround_ctx): New function.
34346         (libc_feresetround_ctx): New function.
34347         (libc_feholdsetround_noex_ctx): New function.
34348         (libc_feresetround_noex_ctx): New function.
34350 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34352         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
34353         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
34354         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
34355         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
34356         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
34357         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
34359         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
34360         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
34361         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
34362         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
34363         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
34364         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
34365         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
34366         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
34367         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
34368         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
34369         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
34370         Moved ...
34371         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
34372         ... here.
34373         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
34374         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
34375         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
34376         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
34377         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
34378         Moved ...
34379         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
34380         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
34381         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
34382         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
34383         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
34384         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
34385         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
34386         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
34387         Moved ...
34388         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
34389         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
34390         Moved ...
34391         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
34392         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
34393         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
34394         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
34395         Moved ...
34396         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
34397         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
34398         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
34399         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
34400         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
34401         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
34402         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
34403         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
34404         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
34405         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
34406         Moved ...
34407         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
34408         ... here.
34409         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
34410         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
34411         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
34412         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
34413         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
34414         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
34415         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
34416         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
34417         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
34418         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
34419         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
34420         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
34421         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
34422         Moved ...
34423         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
34424         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
34425         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
34426         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
34427         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
34428         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
34429         Moved ...
34430         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
34431         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
34432         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
34433         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
34434         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
34436         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
34437         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
34438         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
34439         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
34440         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
34441         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
34442         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
34443         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
34444         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
34445         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
34446         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
34447         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
34448         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
34449         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
34450         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
34451         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
34452         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
34453         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
34454         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
34455         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
34456         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
34457         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
34458         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
34459         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
34460         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
34461         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
34462         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
34463         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
34465 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34467         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34468         (FALLOC_FL_COLLAPSE_RANGE): New macro.
34469         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
34470         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
34471         (IPV6_PMTUDISC_INTERFACE): Likewise.
34472         (IPV6_PMTUDISC_OMIT): Likewise.
34474 2014-06-23  Andreas Schwab  <schwab@suse.de>
34476         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
34477         Remove unused errout label.
34479 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34481         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
34482         macro: hardware supports Vector Crypto instructions.
34484 2014-06-23  Will Newton  <will.newton@linaro.org>
34486         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
34487         rather than __builtin_expect.
34489         * elf/dl-lookup.c (undefined_msg): Remove variable.
34490         (_dl_lookup_symbol_x): Replace undefined_msg with string
34491         literal.
34493         * elf/dl-lookup.c (do_lookup_unique): New function.
34494         (do_lookup_x): Move STB_GNU_UNIQUE handling code
34495         to a separate function.
34497 2014-06-23  Andreas Schwab  <schwab@suse.de>
34499         [BZ #17079]
34500         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
34501         before reading the next line.
34503 2014-06-23  Will Newton  <will.newton@linaro.org>
34505         * test-skeleton.c (signal_handler): Use printf and %m
34506         rather than perror.  Use printf rather than fprintf to
34507         stderr.  Use puts rather than fputs to stderr.
34508         (main): Likewise.
34510 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
34512         * nscd/nscd.c (thread_info_t): Remove typedef.
34513         (thread_info): Remove variable.
34515 2014-06-21  Allan McRae  <allan@archlinux.org>
34517         * NEWS: Mention CVE-2014-4043.
34519 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34521         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
34522         * nptl/smp.h: ... here.
34524         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
34526         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
34527         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
34528         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
34529         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
34531         * nptl/allocatestack.c: Include <stack-aliasing.h>.
34532         * nptl/stack-aliasing.h: New file.
34533         * sysdeps/i386/i686/stack-aliasing.h: New file.
34534         * sysdeps/i386/i686/nptl/Makefile: File removed.
34535         * sysdeps/x86_64/stack-aliasing.h: New file.
34536         * sysdeps/x86_64/nptl/Makefile
34537         (CFLAGS-pthread_create.c): Variable removed.
34539         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
34540         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
34541         old file.
34542         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
34543         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
34544         old file.
34546 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
34548         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34549         (__ASSUME_SIGFRAME_V2): Remove macro.
34550         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
34551         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
34552         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
34553         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
34554         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
34555         Declare as function.  Remove conditional macro definitions.
34556         (__default_rt_sa_restorer): Likewise.
34557         (__default_sa_restorer_v1): Remove declaration.
34558         (__default_sa_restorer_v2): Likewise.
34559         (__default_rt_sa_restorer_v1): Likewise.
34560         (__default_rt_sa_restorer_v2): Likewise.
34561         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
34562         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
34563         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
34565 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34567         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
34568         (libpthread-routines): Add sysdep.
34569         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
34570         * sysdeps/unix/sysv/linux/sparc/Versions
34571         (libpthread: GLIBC_2.3.3): New version set.
34572         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
34573         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
34574         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
34575         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
34576         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
34577         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
34578         Moved ...
34579         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
34580         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
34581         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
34582         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
34583         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
34584         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
34585         * sysdeps/sparc/nptl/sem_init.c: ... here.
34586         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
34587         * sysdeps/sparc/nptl/sem_post.c: ... here.
34588         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
34589         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
34590         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
34591         * sysdeps/sparc/nptl/sem_wait.c: ... here.
34592         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
34593         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
34594         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
34595         (libpthread-routines): Add cpu_relax.
34596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
34597         File removed.
34598         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
34599         (librt: GLIBC_2.3.3): New version set.
34600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
34601         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
34602         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
34603         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
34604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
34605         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
34606         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
34607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
34608         Moved ...
34609         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
34610         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
34611         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
34612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
34613         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
34614         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
34615         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
34616         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
34617         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
34618         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
34619         Moved ...
34620         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
34621         Update #include.
34622         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
34623         Moved ...
34624         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
34625         Update #include.
34626         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
34627         Moved ...
34628         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
34629         Update #include.
34630         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
34631         Moved ...
34632         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
34633         Update #include.
34634         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
34635         Moved ...
34636         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
34637         Update #include.
34638         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
34639         Moved ...
34640         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
34641         Update #include.
34642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
34643         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
34644         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
34645         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
34646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
34647         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
34648         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
34649         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
34650         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
34651         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
34652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34653         Moved ...
34654         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
34655         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
34656         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
34657         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
34658         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
34660 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34662         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
34663         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
34664         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34665         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
34666         * nscd/nscd.c: Likewise.
34667         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
34668         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
34669         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
34670         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
34672         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
34673         <kernel-features.h>.
34674         (init_mq_netlink): Remove conditional have_sock_cloexec
34675         definitions.  Remove code conditional on have_sock_cloexec < 0.
34676         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
34677         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
34678         * sysdeps/unix/sysv/linux/opensock.c: Do not include
34679         <kernel-features.h>.
34680         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
34681         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
34683 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34685         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34686         Add tests for memset_chk and memset.
34688         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
34689         with AVX2_Usable.
34691 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34693         [BZ #16046]
34694         * elf/tst-dl-iter-static.c: New file.
34695         * elf/Makefile (tests-static): Add tst-dl-iter-static.
34697         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
34698         error.
34700 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34702         * sysdeps/unix/sysv/linux/kernel-features.h
34703         (__ASSUME_F_GETOWN_EX): Remove macro.
34704         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
34705         <kernel-features.h>.
34706         (miss_F_GETOWN_EX): Remove variable or macro.
34707         (do_fcntl): Do not check miss_F_GETOWN_EX.
34708         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
34710         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
34711         Remove macro.
34712         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
34713         [!__ASSUME_AT_RANDOM]: Remove conditional code.
34714         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
34716         * sysdeps/unix/sysv/linux/kernel-features.h
34717         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
34718         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
34719         [ADJ_OFFSET_SS_READ]: Make code unconditional.
34720         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
34722 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34724         [BZ #17075]
34725         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
34726         Fix calculation of the symbol's value.
34727         * sysdeps/arm/tst-armtlsdescloc.c: New file.
34728         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
34729         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
34730         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
34731         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
34732         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
34733         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
34734         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
34735         (modules-names): Add `tst-armtlsdescmod',
34736         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
34737         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
34738         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34739         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
34740         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
34741         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34742         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
34743         ($(objpfx)tst-armtlsdescloc): New dependency.
34744         ($(objpfx)tst-armtlsdescextnow): Likewise.
34745         ($(objpfx)tst-armtlsdescextlazy): Likewise.
34746         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
34747         TLS scheme support.
34748         * sysdeps/arm/configure: Regenerate.
34750 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34752         * include/fcntl.h (__atfct_seterrno): Remove prototype.
34753         (__atfct_seterrno_2): Likewise.
34754         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
34755         <kernel-features.h>.
34756         (__ASSUME_ATFCTS): Do not undefine and redefine.
34757         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
34758         (__have_atfcts): Remove conditional definition.
34759         (__fxstatat([__NR_fstatat64]: Make code unconditional.
34760         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
34761         unreachable if [__ASSUME_ATFCTS].
34762         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
34763         not undefine and redefine.
34764         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
34765         <kernel-features.h>.
34766         (faccessat) [__NR_faccessat]: Make code unconditional.
34767         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
34768         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
34769         <kernel-features.h>.
34770         (fchmodat) [__NR_fchmodat]: Make code unconditional.
34771         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34772         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
34773         <kernel-features.h>.
34774         (fchownat) [__NR_fchownat]: Make code unconditional.
34775         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
34776         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
34777         <kernel-features.h>.
34778         (futimesat) [__NR_futimesat]: Make code unconditional.
34779         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
34780         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34781         <kernel-features.h>.
34782         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34783         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34784         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34785         <kernel-features.h>.
34786         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
34787         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34788         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
34789         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34790         <kernel-features.h>.
34791         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
34792         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34793         * sysdeps/unix/sysv/linux/linkat.c: Do not include
34794         <kernel-features.h>.
34795         (linkat) [__NR_linkat]: Make code unconditional.
34796         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34797         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
34798         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
34799         <kernel-features.h>.
34800         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
34801         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34802         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
34803         <kernel-features.h>.
34804         (mkdirat) [__NR_mkdirat]: Make code unconditional.
34805         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
34806         * sysdeps/unix/sysv/linux/openat.c: Do not include
34807         <kernel-features.h>.
34808         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
34809         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
34810         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
34811         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
34812         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
34813         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
34814         <kernel-features.h>.
34815         (readlinkat) [__NR_readlinkat]: Make code unconditional.
34816         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
34817         result of INLINE_SYSCALL directly, not via int variable.
34818         * sysdeps/unix/sysv/linux/renameat.c: Do not include
34819         <kernel-features.h>.
34820         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
34821         (renameat) [__NR_renameat]: Make code unconditional.
34822         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
34823         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
34824         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
34825         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
34826         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
34827         (__ASSUME_ATFCTS): Do not undefine and redefine.
34828         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
34829         <kernel-features.h>.
34830         (symlinkat) [__NR_symlinkat]: Make code unconditional.
34831         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34832         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
34833         <kernel-features.h>.
34834         (unlinkat) [__NR_unlinkat]: Make code unconditional.
34835         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34836         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
34837         (__ASSUME_ATFCTS): Do not undefine and redefine.
34838         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34839         <kernel-features.h>.
34840         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34841         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34842         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34843         <kernel-features.h>.
34844         (__xmknodat) [__NR_mknodat]: Make code unconditional.
34845         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34847 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34849         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
34851 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
34853         [BZ #17069]
34854         * posix/regcomp.c (parse_reg_exp): Deallocate partially
34855         constructed tree before returning error.
34856         * posix/bug-regexp36.c: Expand test case.
34858 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34860         [BZ #6803]
34861         * math/libm-test.inc (scalbln_test_date):
34862         Add errno expectations.
34863         * math/w_scalblnf.c: New File.
34864         Add wrapper which checks for setting errno to ERANGE.
34865         Add weak_alias for corresponding scalbln function.
34866         * math/w_scalbln.c: Likewise.
34867         * math/w_scalblnl.c: Likewise.
34868         * math/Makefile (libm-calls): Add w_scalbln.
34869         * sysdeps/ieee754/flt-32/s_scalblnf.c:
34870         Remove weak_alias for corresponding scalbln function.
34871         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34872         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34873         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34874         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34875         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
34876         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34877         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
34878         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34879         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34880         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34881         Remove long_double_symbol for scalblnl function in libm, libc.
34882         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34883         Add wrapper which checks for setting errno to ERANGE.
34884         Add long_double_symbol for scalblnl function in libm, libc.
34885         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34886         Remove long_double_symbol for scalblnl in libm.
34887         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34888         Add wrapper which checks for setting errno to ERANGE.
34889         Add long_double_symbol for scalblnl function in libm.
34890         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34891         Do not use wrapper because of own implementation.
34893 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
34895         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
34896         3 bytes for __pad1 for x32.
34897         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
34899 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
34900             H.J. Lu  <hongjiu.lu@intel.com>
34902         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
34903         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
34904         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34905         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34906         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
34908 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
34910         [BZ #17069]
34911         * posix/regcomp.c (parse_expression): Deallocate partially
34912         constructed tree before returning error.
34913         * posix/Makefile.c (tests): Add bug-regex36.
34914         (generated): Add bug-regex36.mtrace.
34915         (tests-special): Add $(objpfx)bug-regex36-mem.out
34916         (bug-regex36-ENV): New variable.
34917         ($(objpfx)bug-regex36-mem.out): New rule.
34918         * posix/bug-regex36.c: New file.
34920 2014-06-19  Will Newton  <will.newton@linaro.org>
34922         * malloc/malloc.c (systrim): If extra is zero then return
34923         early.
34925 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34927         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
34929 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
34931         * sysdeps/aarch64/strchr.S: New file.
34933 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34935         [BZ #17022]
34936         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
34937         from arguments -2 or below.
34938         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34939         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
34941 2014-06-18  Andreas Schwab  <schwab@suse.de>
34943         [BZ #17062]
34944         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
34945         of a bracket expr not to run off the end of the string.
34946         * posix/Makefile (tests): Add tst-fnmatch3.
34947         * posix/tst-fnmatch3.c: New file.
34949 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34951         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
34952         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34953         [$(cross-compiling) = no]: Likewise.
34954         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34955         [$(cross-compiling) = no]: Likewise.
34957 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34959         [BZ #17031]
34960         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
34961         double, adjusted for any remainder from the high double.
34962         * math/libm-test.inc (nearbyint): Add tests.
34963         (rint): Likewise.
34965 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34967         * nptl/sysdeps/powerpc/Makefile: Moved ...
34968         * sysdeps/powerpc/nptl/Makefile: ... here.
34969         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
34970         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
34971         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
34972         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
34973         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
34974         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
34975         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
34976         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
34977         * nptl/sysdeps/powerpc/tls.h: Moved ...
34978         * sysdeps/powerpc/nptl/tls.h: ... here.
34980 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
34982         [BZ #16681]
34983         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
34984         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
34985         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
34986         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
34987         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
34988         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
34989         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
34990         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
34991         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
34993 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
34995         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34997 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
34999         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
35000         defined operator.
35002         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
35003         $TIMEOUTFACTOR.
35005 2014-06-16  Florian Weimer  <fweimer@redhat.com>
35007         [BZ #17058]
35008         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
35009         non-executed part of the test.
35011 2014-06-16  Andreas Schwab  <schwab@suse.de>
35013         * string/bits/string2.h (strdup, strndup): Update feature guard.
35015 2014-06-14  David S. Miller  <davem@davemloft.net>
35017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35019 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
35021         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
35022         that was previously under [RESET_PID].
35023         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
35025         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
35026         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
35027         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
35028         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35029         (__libc_vfork): New strong alias.
35030         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
35032 2014-06-14 Andi Kleen  <ak@linux.intel.com>
35034         * sysdeps/generic/elide.h: New file.
35036 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35038         * Makefile (installed-headers): Adjust path of pthread.h header.
35040 2014-06-13  Roland McGrath  <roland@hack.frob.com>
35042         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
35043         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
35044         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
35045         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
35047         * nptl/sysdeps/s390/Makefile: Moved ...
35048         * sysdeps/s390/nptl/Makefile: ... here.
35049         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
35050         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
35051         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
35052         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
35053         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
35054         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
35055         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
35056         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
35057         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
35058         * sysdeps/s390/nptl/pthreaddef.h: ... here.
35059         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
35060         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
35061         * nptl/sysdeps/s390/tls.h: Moved ...
35062         * sysdeps/s390/nptl/tls.h: ... here.
35064         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
35065         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
35067 2014-06-13  David S. Miller  <davem@davemloft.net>
35069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
35070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
35071         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
35072         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
35073         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
35074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
35075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
35076         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
35077         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
35078         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
35079         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
35080         Remove RESET_PID cpp guards.
35081         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
35082         Remove RESET_PID cpp guards.
35083         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
35085 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
35087         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
35088         __sp to uintptr_t.
35090 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35092         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
35093         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
35094         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
35095         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
35096         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
35097         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
35098         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
35099         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
35100         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
35101         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
35102         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
35103         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
35104         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
35105         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
35106         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
35107         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
35108         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
35109         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
35110         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
35111         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
35113         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
35114         (pthread_rwlock_rdlock): Add elision.
35115         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
35116         (pthread_rwlock_wrlock): Add elision.
35117         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
35118         (pthread_rwlock_trywrlock): Add elision.
35119         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
35120         (pthread_rwlock_tryrdlock): Add elision.
35121         * nptl/pthread_rwlock_unlock.c: Include elide.h.
35122         (pthread_rwlock_tryrdlock): Add elision unlock.
35123         * nptl/sysdeps/pthread/pthread.h:
35124         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
35125         (PTHREAD_RWLOCK_INITIALIZER,
35126         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
35127         Handle new elision field.
35128         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
35129         * sysdeps/arm/nptl/bits/pthreadtypes.h
35130         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35131         * sysdeps/sh/nptl/bits/pthreadtypes.h
35132         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35133         * sysdeps/tile/nptl/bits/pthreadtypes.h
35134         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35135         * sysdeps/a/nptl/bits/pthreadtypes.h
35136         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35137         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35138         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35139         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35140         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35141         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
35142         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35143         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35144         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35145         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35146         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35147         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35148         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35149         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35150         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35151         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
35152         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35153         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
35154         (elision_init): Set try_xbegin to zero when no RTM.
35155         * sysdeps/x86/nptl/bits/pthreadtypes.h
35156         (pthread_rwlock_t): Change __pad1 to __rwelision.
35157         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35159 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35161         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
35162         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
35163         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
35164         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
35166 2014-06-13  Meador Inge  <meadori@codesourcery.com>
35168         [BZ #16996]
35169         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
35170         that the cached result has been set before returning it.
35172 2014-06-12  Roland McGrath  <roland@hack.frob.com>
35174         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
35175         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
35176         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
35177         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
35178         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
35179         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
35181         * nptl/sysdeps/sparc/Makefile: Moved ...
35182         * sysdeps/sparc/nptl/Makefile: ... here.
35183         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
35184         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
35185         * nptl/sysdeps/sparc/tls.h: Moved ...
35186         * sysdeps/sparc/nptl/tls.h: ... here.
35187         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
35188         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
35189         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
35190         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
35191         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
35192         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
35193         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
35194         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
35195         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
35196         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
35197         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
35198         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
35199         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
35200         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
35201         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
35202         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
35203         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
35204         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
35205         Update #include.
35206         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
35207         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
35208         Update #include.
35209         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
35210         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
35211         Update #include.
35212         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
35213         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
35214         Update #include.
35216         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35218         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
35219         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
35221         * sysdeps/pthread/posix-timer.h: Include <list.h>.
35222         (struct list_links): Type removed.
35223         (struct thread_node, struct timer_node): Replace struct list_links
35224         with struct list_head.
35225         (list_unlink_ip): Likewise.
35226         * sysdeps/pthread/timer_routines.c
35227         (timer_free_list, thread_free_list, thread_active_list): Likewise.
35228         (list_append, list_insbefore): Likewise.
35229         (list_init): Function removed.
35230         (thread_init, init_module): Use INIT_LIST_HEAD instead.
35231         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
35232         * sysdeps/pthread/Makefile: ... here, new file.
35234         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
35235         * sysdeps/nptl/Implies: ... here.
35236         * sysdeps/unix/sysv/linux/Implies: Add nptl.
35237         * nptl/sysdeps/pthread/list.h: Moved ...
35238         * include/list.h: ... here.
35239         * nptl/sysdeps/pthread/createthread.c: Moved ...
35240         * nptl/createthread.c: ... here.
35241         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
35242         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
35243         * nptl/pt-longjmp.c: ... here.
35244         * nptl/sysdeps/pthread/Makefile: Moved ...
35245         * sysdeps/nptl/Makefile: ... here.
35246         * nptl/sysdeps/pthread/Subdirs: Moved ...
35247         * sysdeps/nptl/Subdirs: ... here.
35248         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
35249         * sysdeps/nptl/aio_misc.h: ... here.
35250         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
35251         * sysdeps/nptl/bits/libc-lock.h: ... here.
35252         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
35253         * sysdeps/nptl/bits/libc-lockP.h: ... here.
35254         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
35255         * sysdeps/nptl/bits/stdio-lock.h: ... here.
35256         * nptl/sysdeps/pthread/configure: Moved ...
35257         * sysdeps/nptl/configure: ... here.
35258         * nptl/sysdeps/pthread/configure.ac: Moved ...
35259         * sysdeps/nptl/configure.ac: ... here.
35260         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
35261         * sysdeps/nptl/gai_misc.h: ... here.
35262         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
35263         * sysdeps/nptl/librt-cancellation.c: ... here.
35264         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
35265         * sysdeps/nptl/malloc-machine.h: ... here.
35266         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
35267         * sysdeps/nptl/pthread-functions.h: ... here.
35268         * nptl/sysdeps/pthread/pthread.h: Moved ...
35269         * sysdeps/nptl/pthread.h: ... here.
35270         * nptl/sysdeps/pthread/setxid.h: Moved ...
35271         * sysdeps/nptl/setxid.h: ... here.
35272         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
35273         * sysdeps/nptl/sigfillset.c: ... here.
35274         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
35275         * sysdeps/nptl/tcb-offsets.h: ... here.
35276         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
35277         * sysdeps/nptl/tst-mqueue8x.c: ... here.
35278         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
35279         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
35280         * nptl/sysdeps/pthread/allocalim.h: Moved ...
35281         * sysdeps/pthread/allocalim.h: ... here.
35282         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
35283         * sysdeps/pthread/bits/sigthread.h: ... here.
35284         * nptl/sysdeps/pthread/flockfile.c: Moved ...
35285         * sysdeps/pthread/flockfile.c: ... here.
35286         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
35287         * sysdeps/pthread/ftrylockfile.c: ... here.
35288         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
35289         * sysdeps/pthread/funlockfile.c: ... here.
35290         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
35291         * sysdeps/pthread/posix-timer.h: ... here.
35292         * nptl/sysdeps/pthread/timer_create.c: Moved ...
35293         * sysdeps/pthread/timer_create.c: ... here.
35294         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
35295         * sysdeps/pthread/timer_delete.c: ... here.
35296         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
35297         * sysdeps/pthread/timer_getoverr.c: ... here.
35298         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
35299         * sysdeps/pthread/timer_gettime.c: ... here.
35300         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
35301         * sysdeps/pthread/timer_routines.c: ... here.
35302         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
35303         * sysdeps/pthread/timer_settime.c: ... here.
35304         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
35305         * sysdeps/pthread/tst-timer.c: ... here.
35306         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
35307         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
35309         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
35310         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
35312         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
35313         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
35314         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
35315         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
35316         Update #include target.
35317         * nptl/sysdeps/i386/i686/Makefile: Moved ...
35318         * sysdeps/i386/i686/nptl/Makefile: ... here.
35319         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
35320         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
35321         Update #include target.
35322         * nptl/sysdeps/i386/i686/tls.h: Moved ...
35323         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
35324         * nptl/sysdeps/i386/Makefile: Moved ...
35325         * sysdeps/i386/nptl/Makefile: ... here.
35326         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
35327         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
35328         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
35329         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
35330         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
35331         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
35332         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
35333         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
35334         * sysdeps/i386/nptl/pthreaddef.h: ... here.
35335         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
35336         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
35337         * nptl/sysdeps/i386/tls.h: Moved ...
35338         * sysdeps/i386/nptl/tls.h: ... here.
35340         * sysdeps/sh/Makefile [$(subdir) = csu]
35341         (gen-as-const-headers): Add tcb-offsets.sym.
35342         * nptl/sysdeps/sh/Makefile: File removed.
35343         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
35344         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
35345         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
35346         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
35347         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
35348         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
35349         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
35350         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
35351         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
35352         * sysdeps/sh/nptl/pthreaddef.h: ... here.
35353         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
35354         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
35355         * nptl/sysdeps/sh/tls.h: Moved ...
35356         * sysdeps/sh/nptl/tls.h: ... here.
35357         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
35358         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
35359         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
35360         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
35361         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
35362         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
35363         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
35364         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
35365         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
35366         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
35367         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
35368         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
35369         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
35370         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
35371         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
35372         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
35373         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
35374         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
35375         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
35376         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
35377         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
35378         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
35379         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
35380         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
35381         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
35382         Moved ...
35383         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
35384         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
35385         Moved ...
35386         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
35387         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
35388         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
35389         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
35390         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
35391         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
35392         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
35393         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
35394         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
35395         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
35396         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
35397         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
35398         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
35399         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
35400         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
35401         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
35402         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
35403         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
35404         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
35406 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35408         * posix/spawn_faction_addopen.c: Include string.h.
35410 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35412         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
35413         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
35414         * nptl/sysdeps/x86_64/Makefile: Moved ...
35415         * sysdeps/x86_64/nptl/Makefile: ... here.
35416         * nptl/sysdeps/x86_64/configure: Moved ...
35417         * sysdeps/x86_64/nptl/configure: ... here.
35418         * nptl/sysdeps/x86_64/configure.ac: Moved ...
35419         * sysdeps/x86_64/nptl/configure.ac: ... here.
35420         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
35421         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
35422         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
35423         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
35424         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
35425         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
35426         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
35427         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
35428         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
35429         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
35430         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
35431         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
35432         * nptl/sysdeps/x86_64/tls.h: Moved ...
35433         * sysdeps/x86_64/nptl/tls.h: ... here.
35434         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
35435         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
35436         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
35437         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
35439         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
35441 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35445 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
35447         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
35448         type.
35449         [POSIX] (off_t): Likewise.
35450         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
35451         [POSIX] (S_ISBLK): Require macro.
35452         [POSIX] (S_ISCHR): Likewise.
35453         [POSIX] (S_ISDIR): Likewise.
35454         [POSIX] (S_ISFIFO): Likewise.
35455         [POSIX] (S_ISREG): Likewise.
35456         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
35457         optional-macro.
35458         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
35459         type.
35460         [POSIX] (time_t): Likewise.
35461         [POSIX] (timer_t): Likewise.
35463 2014-06-11  Florian Weimer  <fweimer@redhat.com>
35465         [BZ #17048]
35466         * posix/spawn_int.h (struct __spawn_action): Make the path string
35467         non-const to support deallocation.
35468         * posix/spawn_faction_addopen.c
35469         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
35470         * posix/spawn_faction_destroy.c
35471         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
35472         path in all spawn_do_open actions.
35473         * posix/tst-spawn.c (do_test): Exercise the copy operation in
35474         posix_spawn_file_actions_addopen.
35476 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
35478         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
35479         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
35480         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
35481         conditional code always true.
35482         (__libc_vfork): New alias.
35484 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35486         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35487         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
35489         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
35491         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35492         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
35494         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35495         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
35497         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35498         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
35500 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35502         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
35503         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
35504         multiarch strcmp for PPC64.
35505         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
35506         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
35507         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
35508         multiarch optimizations.
35509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35510         (__libc_ifunc_impl_list): Likewise.
35512 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35514         * benchtests/scripts/validate_benchout.py: New script.
35515         * benchtests/Makefile (bench-func): Call it.
35516         * benchtests/scripts/benchout.schema.json: New file.
35518 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
35520         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
35521         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
35522         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
35523         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
35524         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
35525         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
35526         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
35527         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
35528         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
35529         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
35530         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
35531         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
35532         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
35533         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
35534         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
35535         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
35536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
35537         Moved ...
35538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
35539         ... here.
35540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
35541         Moved ...
35542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
35543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
35544         Moved ...
35545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
35546         ... here.
35547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
35548         Moved ...
35549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
35550         ... here.
35551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
35552         Moved ...
35553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
35554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
35555         Moved ...
35556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
35557         ... here.
35558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
35559         Moved ...
35560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
35561         ... here.
35562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
35563         Moved ...
35564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
35565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
35566         Moved ...
35567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
35568         ... here.
35569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
35570         Moved ...
35571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
35572         ... here.
35573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
35574         Moved ...
35575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
35576         ... here.
35577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
35578         Moved ...
35579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
35580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
35581         Moved ...
35582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
35583         ... here.
35584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
35585         Moved ...
35586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
35587         ... here.
35588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
35589         Moved ...
35590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
35591         ... here.
35592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
35593         Moved ...
35594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
35595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
35596         Moved ...
35597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
35598         ... here.
35599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
35600         Moved ...
35601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
35602         ... here.
35603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
35604         Moved ...
35605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
35606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
35607         Moved ...
35608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
35609         ... here.
35610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
35611         Moved ...
35612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
35613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
35614         Moved ...
35615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
35616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
35617         Moved ...
35618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
35619         ... here.
35620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
35621         Moved ...
35622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
35623         ... here.
35624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
35625         Moved ...
35626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
35627         ... here.
35628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
35629         Moved ...
35630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
35631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
35632         Moved ...
35633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
35634         ... here.
35635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
35636         Moved ...
35637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
35638         ... here.
35639         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
35640         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
35641         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
35642         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
35643         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
35644         Moved ...
35645         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
35646         ... here.
35647         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
35648         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
35649         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
35650         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
35651         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
35652         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
35653         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
35654         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
35655         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
35656         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
35657         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
35658         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
35659         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
35660         Moved ...
35661         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
35662         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
35663         Moved ...
35664         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
35665         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
35666         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
35667         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
35668         Moved ...
35669         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
35670         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
35671         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
35672         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
35673         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
35674         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
35675         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
35677 2014-06-10  Wilco  <wdijkstr@arm.com>
35679         * math/test-fenv-return.c: New file.
35680         * math/Makefile: Add new test test-fenv-return.
35682 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
35684         [BZ #17042]
35685         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
35686         when x - 1 is zero.
35687         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
35688         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
35689         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
35690         0.0L for an argument of 1.0L.
35691         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
35692         Likewise.
35693         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
35694         value when x - 1 is zero.
35695         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
35696         * sysdeps/i386/fpu/libm-test-ulps: Update.
35697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35699 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
35701         [BZ #15119]
35702         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
35704 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35706         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
35707         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
35709 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35711         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35712         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
35714         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35715         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
35717         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35718         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
35720         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35721         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
35723         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
35724         if not already defined.
35725         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
35726         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
35727         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
35728         (TLS_INIT_TP): Use it.
35729         (TLS_DEFINE_INIT_TP): New macro.
35730         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
35732 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
35734         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
35735         constant.
35736         [POSIX] (IXANY): Likewise.
35737         [POSIX] (OLCUC): Likewise.
35738         [POSIX || POSIX2008] (CBAUD): Do not allow.
35739         [POSIX || POSIX2008] (DEFECHO): Likewise.
35740         [POSIX || POSIX2008] (ECHOCTL): Likewise.
35741         [POSIX || POSIX2008] (ECHOKE): Likewise.
35742         [POSIX || POSIX2008] (ECHOPRT): Likewise.
35743         [POSIX || POSIX2008] (EXTA): Likewise.
35744         [POSIX || POSIX2008] (EXTB): Likewise.
35745         [POSIX || POSIX2008] (FLUSHO): Likewise.
35746         [POSIX || POSIX2008] (LOBLK): Likewise.
35747         [POSIX || POSIX2008] (PENDIN): Likewise.
35748         [POSIX || POSIX2008] (SWTCH): Likewise.
35749         [POSIX || POSIX2008] (VDISCARD): Likewise.
35750         [POSIX || POSIX2008] (VDSUSP): Likewise.
35751         [POSIX || POSIX2008] (VLNEXT): Likewise.
35752         [POSIX || POSIX2008] (VREPRINT): Likewise.
35753         [POSIX || POSIX2008] (VSTATUS): Likewise.
35754         [POSIX || POSIX2008] (VWERASE): Likewise.
35755         (B*): Change to B[0123456789]*.
35756         * conform/data/time.h-data [POSIX || UNIX98]
35757         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
35758         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35759         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
35760         [POSIX] (tm_*): Do not allow.
35762 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
35764         * Makefile (install): Don't set LANGUAGE.
35765         * Makefile.in (install): Likewise.
35766         * assert/Makefile (test-assert-ENV): Remove variable.
35767         (test-assert-perr-ENV): Likewise.
35768         * elf/Makefile (neededtest4-ENV): Likewise.
35769         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35770         [$(cross-compiling) = no]: Don't set LANGUAGE.
35771         * io/ftwtest-sh (LANG): Remove variable.
35772         * libio/Makefile (tst-widetext-ENV): Likewise.
35773         * manual/install.texi (Running make install): Don't refer to
35774         environment settings for make install.
35775         * INSTALL: Regenerated.
35776         * nptl/tst-tls6.sh: Don't set LANG.
35777         * posix/globtest.sh (LANG): Remove variable.
35778         * string/Makefile (tester-ENV): Likewise.
35779         (inl-tester-ENV): Likewise.
35780         (noinl-tester-ENV): Likewise.
35781         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35782         [$(cross-compiling) = no]: Don't set LANGUAGE.
35783         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
35784         without explicit environment settings.
35786 2014-06-06  Roland McGrath  <roland@hack.frob.com>
35788         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
35789         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
35790         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
35791         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
35793 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
35795         * crypt/crypt-private.h [DOS]: Add some includes taken from the
35796         other files in the crypt directory.
35797         * crypt/crypt.c: Remove duplicate includes.
35798         * crypt/crypt-entry.c: Likewise.
35799         * crypt/crypt_util.c: Likewise.
35801 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
35803         * Makeconfig (run-program-env): New variable.
35804         (run-program-prefix-before-env): Likewise.
35805         (run-program-prefix-after-env): Likewise.
35806         (run-program-prefix): Define in terms of new variables.
35807         (built-program-cmd-before-env): New variable.
35808         (built-program-cmd-after-env): Likewise.
35809         (built-program-cmd): Define in terms of new variables.
35810         (test-program-prefix-before-env): New variable.
35811         (test-program-prefix-after-env): Likewise.
35812         (test-program-prefix): Define in terms of new variables.
35813         (test-program-cmd-before-env): New variable.
35814         (test-program-cmd-after-env): Likewise.
35815         (test-program-cmd): Define in terms of new variables.
35816         * Rules (make-test-out): Use $(run-program-env).
35817         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
35818         (help): Do not mention environment variables.  Mention
35819         --timeoutfactor option.
35820         (timeoutfactor): New variable.
35821         (blacklist_exports): Remove function.
35822         (exports): Remove variable.
35823         (command): Do not include ${exports}.
35824         * manual/install.texi (Configuring and compiling): Do not mention
35825         test wrappers preserving environment variables.  Mention that last
35826         assignment to a variable must take precedence.
35827         * INSTALL: Regenerated.
35828         * benchtests/Makefile (run-bench): Use $(run-program-env).
35829         * catgets/Makefile ($(objpfx)test1.cat): Use
35830         $(built-program-cmd-before-env), $(run-program-env) and
35831         $(built-program-cmd-after-env).
35832         ($(objpfx)test2.cat): Do not specify environment variables
35833         explicitly.
35834         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35835         $(run-program-env) and $(built-program-cmd-after-env).
35836         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
35837         $(run-program-env) and $(test-program-cmd-after-env).
35838         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
35839         explicitly.
35840         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
35841         run_program_env and test_program_cmd_after_env arguments.
35842         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
35843         * elf/tst-pathopt.sh: Use run_program_env argument.
35844         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
35845         $(test-wrapper-env) and $(run-program-env).
35846         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
35847         run_program_env arguments.
35848         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
35849         * intl/Makefile ($(objpfx)tst-gettext.out): Use
35850         $(test-program-prefix-before-env), $(run-program-env) and
35851         $(test-program-prefix-after-env).
35852         ($(objpfx)tst-gettext2.out): Likewise.
35853         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
35854         run_program_env and test_program_prefix_after_env arguments.
35855         * intl/tst-gettext2.sh: Likewise.
35856         * intl/tst-gettext4.sh: Do not set environment variables
35857         explicitly.
35858         * intl/tst-gettext6.sh: Likewise.
35859         * intl/tst-translit.sh: Likewise.
35860         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
35861         $(test-program-prefix-before-env), $(run-program-env) and
35862         $(test-program-prefix-after-env).
35863         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
35864         run_program_env and test_program_prefix_after_env arguments.
35865         * math/Makefile (run-regen-ulps): Use $(run-program-env).
35866         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
35867         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
35868         explicitly with each use of ${test_wrapper_env}.
35869         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
35870         $(test-program-prefix-before-env), $(run-program-env) and
35871         $(test-program-prefix-after-env).
35872         * posix/tst-getconf.sh: Do not set environment variables
35873         explicitly.
35874         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
35875         run_program_env and test_program_prefix_after_env arguments.
35876         * stdio-common/tst-printf.sh: Do not set environment variables
35877         explicitly.
35878         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35879         $(test-program-prefix-before-env), $(run-program-env) and
35880         $(test-program-prefix-after-env).
35881         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35882         run_program_env and test_program_prefix_after_env arguments.
35883         Split $test calls into $test_pre and $test.
35884         * timezone/Makefile (build-testdata): Use
35885         $(built-program-cmd-before-env), $(run-program-env) and
35886         $(built-program-cmd-after-env).
35888 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35890         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
35891         strlen for non SHARED builds.
35893 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35895         * nptl/allocatestack.c (check_list): Inlined function...
35896         (__reclaim_stacks): ... here.
35898 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35900         [BZ #15698]
35901         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35902         memory overrun.
35904 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
35906         * Rules (make-test-out): Include
35907         LOCPATH=$(common-objpfx)localedata in default environment.
35908         * debug/Makefile (tst-chk1-ENV): Remove variable.
35909         (tst-chk2-ENV): Likewise.
35910         (tst-chk3-ENV): Likewise.
35911         (tst-chk4-ENV): Likewise.
35912         (tst-chk5-ENV): Likewise.
35913         (tst-chk6-ENV): Likewise.
35914         (tst-lfschk1-ENV): Likewise.
35915         (tst-lfschk2-ENV): Likewise.
35916         (tst-lfschk3-ENV): Likewise.
35917         (tst-lfschk4-ENV): Likewise.
35918         (tst-lfschk5-ENV): Likewise.
35919         (tst-lfschk6-ENV): Likewise.
35920         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
35921         (tst-iconv7-ENV): Likewise.
35922         * intl/Makefile (LOCPATH-ENV): Likewise.
35923         (tst-codeset-ENV): Likewise.
35924         (tst-gettext3-ENV): Likewise.
35925         (tst-gettext5-ENV): Likewise.
35926         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
35927         (tst-fopenloc-ENV): Likewise.
35928         (tst-fgetws-ENV): Remove variable.
35929         (tst-ungetwc1-ENV): Likewise.
35930         (tst-ungetwc2-ENV): Likewise.
35931         (bug-ungetwc2-ENV): Likewise.
35932         (tst-swscanf-ENV): Likewise.
35933         (bug-ftell-ENV): Likewise.
35934         (tst-fgetwc-ENV): Likewise.
35935         (tst-fseek-ENV): Likewise.
35936         (tst-ftell-partial-wide-ENV): Likewise.
35937         (tst-ftell-active-handler-ENV): Likewise.
35938         (tst-ftell-append-ENV): Likewise.
35939         * posix/Makefile (tst-fnmatch-ENV): Likewise.
35940         (tst-regexloc-ENV): Likewise.
35941         (bug-regex1-ENV): Likewise.
35942         (tst-regex-ENV): Likewise.
35943         (tst-regex2-ENV): Likewise.
35944         (bug-regex5-ENV): Likewise.
35945         (bug-regex6-ENV): Likewise.
35946         (bug-regex17-ENV): Likewise.
35947         (bug-regex18-ENV): Likewise.
35948         (bug-regex19-ENV): Likewise.
35949         (bug-regex20-ENV): Likewise.
35950         (bug-regex22-ENV): Likewise.
35951         (bug-regex23-ENV): Likewise.
35952         (bug-regex25-ENV): Likewise.
35953         (bug-regex26-ENV): Likewise.
35954         (bug-regex30-ENV): Likewise.
35955         (bug-regex32-ENV): Likewise.
35956         (bug-regex33-ENV): Likewise.
35957         (bug-regex34-ENV): Likewise.
35958         (bug-regex35-ENV): Likewise.
35959         (tst-rxspencer-ENV): Likewise.
35960         (tst-rxspencer-no-utf8-ENV): Likewise.
35961         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
35962         (tst-sscanf-ENV): Likewise.
35963         (tst-swprintf-ENV): Likewise.
35964         (tst-swscanf-ENV): Likewise.
35965         (test-vfprintf-ENV): Likewise.
35966         (scanf13-ENV): Likewise.
35967         (bug14-ENV): Likewise.
35968         (tst-grouping-ENV): Likewise.
35969         * stdlib/Makefile (tst-strtod-ENV): Likewise.
35970         (tst-strtod3-ENV): Likewise.
35971         (tst-strtod4-ENV): Likewise.
35972         (tst-strtod5-ENV): Likewise.
35973         (testmb2-ENV): Likewise./
35974         * string/Makefile (tst-strxfrm-ENV): Likewise.
35975         (tst-strxfrm2-ENV): Likewise.
35976         (bug-strcoll1-ENV): Likewise.
35977         (test-strcasecmp-ENV): Likewise.
35978         (test-strncasecmp-ENV): Likewise.
35979         * time/Makefile (tst-strptime-ENV): Likewise.
35980         (tst-ftime_l-ENV): Likewise.
35981         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
35982         (tst-mbrtowc-ENV): Likewise.
35983         (tst-wcrtomb-ENV): Likewise.
35984         (tst-mbrtowc2-ENV): Likewise.
35985         (tst-c16c32-1-ENV): Likewise.
35986         (tst-mbsnrtowcs-ENV): Likewise.
35988 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35990         * manual/resource.texi (How to get information about the memory
35991         subsystem?): Fix typo.
35992         Reported by Peon de la Parra Ivan <peon@keba.com>
35994 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
35996         [BZ #16882]
35997         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
35998         (pthread_spin_lock): Branch out of spin loop to proper location.
35999         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
36000         (pthread_spin_lock): Likewise.
36002         * nptl/tst-spin4.c: New test.
36003         * nptl/Makefile (tests): Add tst-spin4.
36005 2014-06-03  Andreas Schwab  <schwab@suse.de>
36007         [BZ #15946]
36008         * resolv/res_send.c (send_dg): Reload file descriptor after
36009         calling reopen.
36011 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
36013         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36015 2014-06-03  Richard Henderson  <rth@redhat.com>
36017         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
36018         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
36019         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
36020         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
36021         in the SAVE_PID block.
36022         (__libc_vfork): New alias.
36023         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
36025         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
36026         child in registers, not on the stack.  Remove RESET_PID conditionals.
36027         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
36029 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36031         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36033 2014-06-03  Wilco  <wdijkstr@arm.com>
36035         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
36036         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
36037         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36038         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
36039         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
36040         Likewise.
36042 2014-06-03  Wilco  <wdijkstr@arm.com>
36044         * sysdeps/aarch64/fpu/math_private.h
36045         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
36046         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
36047         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
36048         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36049         Fix declarations.
36051 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36053         * crypt/crypt-private.h: Include ufc-crypt.h.
36054         (__b64_from_24bit): Declare extern.
36055         * crypt/crypt_util.c(__b64_from_24bit): New function.
36056         (b64t): New static const variable.
36057         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
36058         (b64t): Remove variable.
36059         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
36060         * crypt/sha256-crypt.c: Include crypt-private.h.
36061         (b64t): Remove variable.
36062         (__sha256_crypt_r): Remove b64_from_24bit and replace
36063         with __b64_from_24bit.
36064         * crypt/sha512-crypt.c: Likewise.
36066 2014-06-02  Roland McGrath  <roland@hack.frob.com>
36068         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
36069         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
36070         Label the code __libc_vfork rather than __vfork.
36071         [!NOT_IN_libc] (vfork): Define as weak alias.
36072         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
36073         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
36074         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
36076 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36078         * malloc/malloc.c (malloc_info): Fix format specifier for
36079         n_mmaps.
36081 2014-06-02  Wilco  <wdijkstr@arm.com>
36083         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
36084         FPCR write.
36086 2014-06-02  Wilco  <wdijkstr@arm.com>
36088         [BZ #17009]
36089         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
36090         Rewrite to reduce FPCR/FPSR accesses.
36092 2014-06-01  David S. Miller  <davem@davemloft.net>
36094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36096 2014-05-31  David S. Miller  <davem@davemloft.net>
36098         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
36099         to occur in round to nearest mode when |x| >= 2.0
36101 2014-05-30  Richard Henderson  <rth@twiddle.net>
36103         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
36104         (PSEUDO_RET_NOERRNO): Remove.
36105         (ret): Don't redefine.
36106         (ret_NOERRNO): Define in terms of ret.
36107         (ret_ERRVAL): Likewise.
36109         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
36110         use of PSEUDO_RET; perform the error check directly.
36112 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
36114         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
36115         with __int128_t.
36117 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36119         * malloc/malloc (malloc_info): Fix formatting.
36121 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36122             Roland McGrath  <roland@hack.frob.com>
36124         * malloc/malloc (malloc_info): Also print mmapped statistics.
36126 2014-05-30  Roland McGrath  <roland@hack.frob.com>
36128         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
36129         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
36131 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
36133         * malloc/malloc.c (malloc_info): Inline mi_arena.
36135 2014-05-29  Richard Henderson  <rth@twiddle.net>
36137         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
36138         Remove comma before expanding ASM_ARGS_##nr.
36139         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
36140         Make _x0 a strict output; make _x8 a strict input; adjust expansion
36141         of ASM_ARGS_##nr.
36142         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
36143         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
36144         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
36145         (ASM_ARGS_1): Add leading comma.
36147         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
36148         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
36149         to __errno_location.
36150         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
36151         Remove the expected plt for __errno_location.
36153         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36154         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
36155         call to __read_tp.
36157         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36158         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
36159         it and break it down.
36160         (DOCARGS_0, DOCARGS_1): Do nothing.
36161         (DOCARGS_2): Update to store into the new stack frame.
36162         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
36163         (UNDOCARGS_1): Update to restore from the new stack frame.
36164         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
36165         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
36167         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36168         (SINGLE_THREAD_P): New parameter for result regno.
36169         (PSEUDO): Update to match; use cbz instead of beq.
36171         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36172         Use ENTRY to define the _nocancel entry point.  Share the syscall
36173         and syscall error check paths with the cancel path.
36174         (PSEUDO_END): New.
36176         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
36177         whitespace; tabs before and after asm mnemonics.
36179 2014-05-29  Eric Wong  <normalperson@yhbt.net>
36181         [BZ #15132]
36182         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36183         Call fstat64 or stat64 internally, depending on arguments passed.
36184         Replace stat buffer argument with file descriptor argument.
36185         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
36186         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36187         Pass fd to __internal_statvfs instead of calling fstat64.
36188         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
36189         Pass fd to __internal_statvfs64 instead of calling fstat64.
36190         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
36191         Pass -1 to __internal_statvfs instead of calling stat64.
36192         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
36193         Pass -1 to __internal_statvfs64 instead of calling stat64.
36195 2014-05-28  Roland McGrath  <roland@hack.frob.com>
36197         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
36198         that was previously under [RESET_PID].
36199         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
36201         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
36202         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
36204 2014-05-27  Roland McGrath  <roland@hack.frob.com>
36206         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
36208         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
36209         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
36211 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
36213         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
36215 2014-05-27  Andreas Schwab  <schwab@suse.de>
36217         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
36218         TLS_INIT_TP macro.
36219         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
36220         * elf/rtld.c (init_tls, dl_main): Likewise.
36221         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
36222         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
36223         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
36224         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
36225         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
36226         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
36227         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
36228         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
36229         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
36230         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
36231         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
36232         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
36233         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
36234         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
36235         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
36236         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
36237         * sysdeps/generic/tls.h: Update description.
36239 2014-05-27  Will Newton  <will.newton@linaro.org>
36241         [BZ #16990]
36242         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
36243         and restore r2 rather than just restoring.
36245 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36247         [BZ #16724]
36248         * libio/tst-ftell-append.c: New test case.
36249         * libio/Makefile (tests): Add test case.
36250         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
36251         append mode.
36252         * libio/wfileops.c (do_ftell_wide): Likewise.
36254 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36258         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
36259         ...
36260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
36261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
36262         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
36263         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
36264         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
36265         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
36266         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
36267         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
36268         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36269         Moved ...
36270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
36271         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36272         Moved ...
36273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
36274         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
36275         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
36276         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
36277         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
36278         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
36279         ...
36280         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
36281         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
36282         Moved ...
36283         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
36284         here.
36285         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
36286         ...
36287         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
36288         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
36289         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
36291         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
36292         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
36293         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
36294         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
36296         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
36297         merge into ...
36298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
36299         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
36300         ...
36301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
36302         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
36303         ...
36304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
36305         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36306         Moved ...
36307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
36308         here.
36309         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36310         Moved ...
36311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
36312         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36313         Moved ...
36314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
36316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
36317         conditional [RESET_PID].
36318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
36319         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
36320         removed.
36321         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
36322         removed.
36324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
36325         <tcb-offsets.h>.
36326         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36327         (__libc_vfork): New strong alias.
36328         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
36329         removed.
36330         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
36331         Removed.
36333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
36334         <tcb-offsets.h>.
36335         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
36336         (__libc_vfork): New strong alias.
36337         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
36338         removed.
36339         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
36340         removed.
36342 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
36344         * malloc/malloc.c (mi_arena): New function.
36345         (malloc_info): Remove nested function mi_arena. Call non-nosted
36346         function mi_arena.
36348 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36350         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
36351         by insrwi.
36352         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36353         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36354         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
36355         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
36356         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
36357         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
36358         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
36360 2014-05-26  Andreas Schwab  <schwab@suse.de>
36362         [BZ #16984]
36363         * locale/programs/repertoire.c (repertoire_read): Add slash
36364         between I18NPATH element and file name.
36365         * locale/programs/locfile.c (locfile_read): Likewise.
36367 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36369         * nptl/pthread_mutexattr_settype.c
36370         (__pthread_mutexattr_settype):
36371         Disable lock elision for PTHREAD_MUTEX_NORMAL.
36373 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36375         * nptl/tst-mutex5 (do_test):
36376         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
36378 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36380         * benchtests/README: Document 'init' directive.
36381         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
36382         BENCH_INIT.
36383         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
36384         (parse_file): Recognize 'init' directive.
36386 2014-05-26  Kyle McMartin  <kyle@redhat.com>
36388         [BZ #16796]
36389         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
36390         alignment of struct pthread.
36392 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36394         [BZ #16878]
36395         * nscd/netgroupcache.c (addgetnetgrentX): Look for
36396         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36397         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
36398         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36400 2014-05-25  Richard Henderson  <rth@twiddle.net>
36402         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36403         (SINGLE_THREAD_P_PIC): Remove.
36404         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
36405         (SINGLE_THREAD_P_PIC): Remove.
36407         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
36408         branch to syscall error ...
36409         (PSEUDO): ... here.
36410         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
36411         from __local_syscall_error to .Lsyscall_error.
36412         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
36413         (SYSCALL_ERROR): Update label name.
36415         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36416         Do not use DOARGS/UNDOARGS.
36417         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
36418         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
36419         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
36420         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
36421         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
36423         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
36424         block comment.
36426         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
36427         define if !NOT_IN_libc.
36428         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
36429         define with non-default symbol versions.
36431 2014-05-23  Richard Henderson  <rth@twiddle.net>
36433         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
36434         (vfork, __vfork): Define via compat_symbol.
36436         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
36437         [!HAVE_IFUNC] (vfork_compat): Remove.
36438         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
36440 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36442         [BZ #16978]
36443         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
36444         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
36445         variable.
36447 2014-05-23  Richard Henderson  <rth@twiddle.net>
36449         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
36450         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
36451         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
36452         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
36454         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
36455         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
36456         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
36457         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
36458         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
36459         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
36460         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
36461         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
36462         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
36463         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
36464         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
36465         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
36466         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
36467         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
36468         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
36469         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
36470         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
36471         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
36472         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
36473         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
36474         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
36475         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
36476         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
36477         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
36478         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
36479         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
36480         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
36481         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
36482         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
36483         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
36484         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
36485         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
36486         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
36487         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
36488         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
36489         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
36490         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
36491         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
36492         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
36493         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
36494         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
36495         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
36496         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
36497         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
36498         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
36499         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
36500         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
36501         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
36502         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
36503         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
36504         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
36505         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
36506         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
36507         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
36508         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
36509         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
36511         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
36512         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
36513         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
36514         before exiting on error.
36515         (__libc_vfork): New strong alias.
36516         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
36517         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
36519         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
36520         that was previously under [RESET_PID].
36521         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
36523         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
36525 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36527         [BZ #16977]
36528         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
36529         value when x - 1 is zero.
36530         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
36531         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
36532         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
36533         0.0L for an argument of 1.0L.
36534         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
36535         Likewise.
36536         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
36537         value when x - 1 is zero.
36538         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
36539         * sysdeps/i386/fpu/libm-test-ulps: Update.
36540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36542 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
36544         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
36545         alphasort and versionsort.
36547 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36549         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
36550         macro.
36551         [copysignf]: Likewise.
36553 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36555         * crypt/md5-crypt.c: Fix formatting.
36557 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36559         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
36560         (b64_from_24bit): New function.
36562 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36564         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
36565         libc_hidden_builtin_def to ifunc.
36566         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36567         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
36569 2014-05-21  Roland McGrath  <roland@hack.frob.com>
36571         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
36572         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
36574 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
36576         * nscd/Depend (linuxthreads): Remove.
36577         (nptl): Add.
36578         * resolv/Depend (linuxthreads): Remove.
36579         * rt/Depend (linuxthreads): Remove.
36581         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
36582         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
36583         $(common-objpfx)elf/.
36584         (link-libc-before-gnulib): Likewise.
36585         (elfobjdir): Remove variable.
36586         * Makefile (install): Use $(elf-objpfx) instead of
36587         $(common-objpfx)elf/.
36588         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
36589         $(elfobjdir)/.
36590         (link-libc-deps): Likewise.
36591         ($(common-objpfx)libc.so): Likewise.
36592         ($(common-objpfx)linkobj/libc.so): Likewise.
36593         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
36594         instead of $(common-objpfx)elf/.
36595         (symbolic-link-list): Likewise.
36596         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36597         [$(cross-compiling) = no]: Likewise.
36598         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
36599         $(elfobjdir)/.
36600         (static-gnulib-arch): Likewise.
36601         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36602         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
36603         $(common-objpfx)elf/.
36605 2014-05-21  Richard Henderson  <rth@redhat.com>
36607         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36608         (SINGLE_THREAD_P): Use the correct width load.  Fold
36609         into the ldr offset.
36611         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
36612         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
36614 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
36616         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
36617         (libgcc_s_resume): Use __attribute_used__.
36618         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
36619         Likewise.
36621 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36623         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
36624         optimization when used with float constants.
36626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36628 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
36630         [BZ #16915]
36631         * locale/nl_langinfo_l.c: Make direct reference to every
36632         _nl_current_CATEGORY symbol.
36633         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
36634         (tests-static): Add tst-langinfo-static.
36635         (tests-special): Add tst-langinfo-static.out.
36636         ($(objpfx)tst-langinfo.out): Redirect output.
36637         ($(objpfx)tst-langinfo-static.out): New.
36638         * localedata/tst-langinfo.sh: Send output to stdout.
36639         * localedata/tst-langinfo-static.c: New file.
36641         [BZ #16965]
36642         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
36643         when the shift amount is modulo the limb size.
36645 2014-05-20  Richard Henderson  <rth@redhat.com>
36647         [BZ #16967]
36648         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
36649         Change type of sa_flags from unsigned int to int.
36651         [BZ #16966]
36652         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
36654         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
36656 2014-05-20  Will Newton  <will.newton@linaro.org>
36658         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36659         Test the return value of the system call in the nocancel case.
36661 2014-05-20  Will Newton  <will.newton@linaro.org>
36662             Yvan Roux  <yvan.roux@linaro.org>
36664         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
36665         #include of asm/ptrace.h.
36666         (PTRACE_GET_THREAD_AREA): Remove #undef.
36667         (PTRACE_GETHBPREGS): Likewise.
36668         (PTRACE_SETHBPREGS): Likewise.
36669         (struct user_regs_struct): New structure.
36670         (struct user_fpsimd_struct): New structure.
36671         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
36672         #include of asm/ptrace.h and second #include of sys/user.h.
36673         (PTRACE_GET_THREAD_AREA): Remove #undef.
36674         (PTRACE_GETHBPREGS): Likewise.
36675         (PTRACE_SETHBPREGS): Likewise.
36676         (ELF_NGREG): Use new struct user_regs_struct.
36677         (elf_fpregset_t): Use new struct user_fpsimd_struct.
36679 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36681         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
36682         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
36684 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
36686         [BZ #16958]
36687         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
36688         membar to avoid block loads/stores to overlap previous stores.
36690 2014-05-17  Richard Henderson  <rth@redhat.com>
36692         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
36693         Create the __##syscall_name##_nocancel entry point.
36694         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
36695         Remove; let the sysdep-cancel.h code create it.
36697 2014-05-17  David S. Miller  <davem@davemloft.net>
36699         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
36700         Protect with __USE_GNU.
36701         (TIOCSET_TEMPT): Likewise.
36702         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36703         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
36704         these are already provided in bits/ioctl-types.h
36706 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36708         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
36709         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
36711         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
36712         Use wait4 regardless of [__NR_waitpid].
36714 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
36716         PR libgcc/60166
36717         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36718         (_FP_NANSIGN_Q): Set the quiet bit.
36720 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
36722         * benchtests/Makefile
36723         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
36724         not $(common-objpfx)math/libm.so.
36725         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
36726         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
36727         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
36728         $(common-objpfx)dlfcn/libdl.so.
36729         ($(objpfx)tst-audit8): Depend on $(libm), not
36730         $(common-objpfx)math/libm.so.
36731         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
36732         not $(common-objpfx)dlfcn/libdl.so.
36733         * math/Makefile
36734         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36735         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
36736         [$(build-shared) = yes].
36737         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
36738         $(common-objpfx)nptl/libpthread.so.
36739         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
36740         $(common-objpfx)math/libm.so$(libm.so-version) or
36741         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
36742         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
36743         $(common-objpfx)dlfcn/libdl.so.
36744         * setjmp/Makefile (link-libm): Remove variable.
36745         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
36746         * stdio-common/Makefile (link-libm): Remove variable.
36747         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
36748         * stdlib/Makefile (link-libm): Remove variable.
36749         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
36750         ($(objpfx)tst-strtod-round): Likewise.
36751         ($(objpfx)tst-tininess): Likewise.
36752         ($(objpfx)tst-strtod-underflow): Likewise.
36753         ($(objpfx)tst-strtod6): Likewise.
36754         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
36755         $(libdl), not $(common-objpfx)nptl/libpthread.so and
36756         $(common-objpfx)dlfcn/libdl.so.
36758 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36760         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
36761         BSD terminal modes definitions.
36763 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36765         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
36766         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
36768         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
36769         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
36770         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
36771         Don't do #include_next.
36772         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
36773         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
36774         Don't do #include_next.
36775         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
36776         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
36777         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
36778         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
36780 2014-05-16  Allan McRae  <allan@archlinux.org>
36782         * po/sv.po: Update Swedish translation from translation project.
36784         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
36785         in sed expression.
36787 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
36789         [BZ #16917]
36790         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
36791         errno if the TIOCGPTN ioctl fails with an error different than
36792         EINVAL.
36793         * login/tst-ptsname.c: New file.
36794         * login/Makefile (tests): Add tst-ptsname.
36796         [BZ #16943]
36797         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
36798         and prlimit64.
36800 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36802         [BZ #16849]
36803         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
36804         herrno to return EAI_AGAIN.
36806 2014-05-14  Roland McGrath  <roland@hack.frob.com>
36808         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
36809         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
36810         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
36811         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
36812         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
36813         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
36814         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
36815         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
36816         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
36817         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
36818         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
36819         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
36820         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
36821         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
36822         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
36823         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
36824         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
36825         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
36826         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
36827         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
36828         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
36829         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
36830         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
36831         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
36832         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
36833         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
36834         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
36835         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
36836         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
36837         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
36838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
36839         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
36840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
36841         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
36842         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36843         Moved ...
36844         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
36845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
36846         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
36847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
36848         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
36849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
36850         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
36851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
36852         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
36853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
36854         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
36855         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
36856         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
36857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
36858         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
36859         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
36860         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
36861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
36862         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
36863         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
36864         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
36865         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
36866         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
36867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
36868         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
36869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
36870         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
36871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36872         Moved ...
36873         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
36874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
36875         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
36876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
36877         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
36878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36879         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36881         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36882         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36883         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36885         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36886         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36887         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36888         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36889         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
36890         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
36891         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
36892         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36893         Moved ...
36894         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
36895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
36896         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
36898         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
36899         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
36900         (libpthread-sysdep_routines): Add elision-related stuff here instead.
36901         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
36902         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
36903         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
36904         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
36905         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
36906         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
36907         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
36908         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
36909         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
36910         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
36911         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
36912         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
36913         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
36914         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
36915         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
36916         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
36917         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
36918         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
36919         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
36920         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
36921         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
36922         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
36923         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
36924         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
36925         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
36926         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
36927         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
36928         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
36930         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
36931         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
36933         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
36934         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
36935         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
36936         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
36937         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
36938         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
36939         Moved ...
36940         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
36941         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
36942         Moved ...
36943         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
36944         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
36945         Moved ...
36946         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
36947         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
36948         Moved ...
36949         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
36950         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
36951         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
36952         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
36953         Moved ...
36954         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
36955         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
36956         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
36957         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
36958         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
36959         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
36960         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
36961         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
36962         Moved ...
36963         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
36964         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36965         Moved ...
36966         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36967         ... here.
36968         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
36969         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
36970         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
36971         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
36972         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36973         Moved ...
36974         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36975         ... here.
36976         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
36977         Moved ...
36978         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
36979         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
36980         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
36981         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
36982         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
36983         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
36984         Moved ...
36985         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
36986         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
36987         Moved ...
36988         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
36989         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
36990         Moved ...
36991         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
36992         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
36993         Moved ...
36994         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
36995         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
36996         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
36997         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
36998         Moved ...
36999         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
37000         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
37001         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
37002         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
37003         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
37004         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
37005         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
37006         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
37007         Moved ...
37008         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
37009         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37010         Moved ...
37011         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37012         ... here.
37013         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
37014         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
37015         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
37016         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
37017         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37018         Moved ...
37019         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37020         ... here.
37021         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
37022         Moved ...
37023         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
37024         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
37025         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
37026         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
37027         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
37028         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
37029         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
37030         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
37031         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
37032         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
37033         Moved ...
37034         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
37035         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
37036         Moved ...
37037         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
37038         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
37039         Moved ...
37040         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
37041         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
37042         Moved ...
37043         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
37044         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
37045         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
37046         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
37047         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
37048         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
37049         Moved ...
37050         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
37051         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
37052         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
37053         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
37054         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
37055         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
37056         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
37057         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
37058         Moved ...
37059         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
37060         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37061         Moved ...
37062         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37063         ... here.
37064         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
37065         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
37066         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
37067         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
37068         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37069         Moved ...
37070         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37071         ... here.
37072         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
37073         Moved ...
37074         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
37075         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
37076         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
37077         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
37078         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
37079         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
37080         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
37081         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
37082         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
37083         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
37084         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
37086         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
37087         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
37089         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
37090         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
37092         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
37093         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
37094         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
37095         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
37096         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
37097         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
37098         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
37099         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
37100         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
37101         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
37102         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
37103         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
37104         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
37105         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
37106         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
37107         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
37108         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
37109         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
37110         Moved ...
37111         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
37112         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
37113         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
37114         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
37115         Moved ...
37116         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
37117         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
37118         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
37119         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
37120         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
37121         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
37122         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
37123         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
37124         Moved ...
37125         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
37126         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
37127         Moved ...
37128         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
37129         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
37130         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
37131         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
37132         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
37133         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
37134         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
37135         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
37136         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
37137         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
37138         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
37139         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
37140         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
37141         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
37142         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
37143         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
37144         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
37146         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
37147         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
37148         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
37149         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
37150         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
37152         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
37153         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
37154         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
37155         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
37156         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
37157         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
37158         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
37159         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
37160         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
37161         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
37163         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
37164         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
37166         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
37167         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
37168         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
37169         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
37170         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
37171         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
37172         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
37173         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
37174         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
37175         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
37176         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
37177         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
37178         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
37179         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
37180         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
37181         Update #include.
37182         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
37183         Likewise.
37184         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37185         Likewise.
37186         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
37187         Likewise.
37188         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
37189         Likewise.
37190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
37191         Likewise.
37192         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
37193         Likewise.
37194         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
37195         Likewise.
37196         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
37197         Likewise.
37198         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
37199         Likewise.
37200         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
37201         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
37202         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
37203         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
37204         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
37205         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
37206         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
37207         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
37208         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
37209         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
37210         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
37211         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
37212         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
37213         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
37214         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
37216         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
37217         that was previously under [RESET_PID].
37218         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37219         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
37220         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
37222         * sysdeps/i386/nptl/Implies: New file.
37223         * sysdeps/x86_64/nptl/Implies: New file.
37224         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
37225         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
37226         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
37227         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
37229         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
37230         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37231         (__libc_vfork): New strong alias.
37232         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
37233         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
37235         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
37236         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37237         (__libc_vfork): New strong alias.
37238         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
37239         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
37241         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
37242         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37243         (__libc_vfork): New strong alias.
37244         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
37245         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
37246         * nptl/pt-vfork.c: New file.
37247         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
37248         (libpthread: GLIBC_2.20): New version set (empty).
37250 2014-05-14  Will Newton  <will.newton@linaro.org>
37252         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
37253         rather than #if.
37255 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37257         [BZ #16564]
37258         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
37259         arguments with exponent 65 or above.
37260         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
37261         arguments 0x1p113L or above.
37262         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
37263         to arguments 0x1p107L or above.
37264         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
37265         positive arguments with exponent 65 or above.
37266         * math/auto-libm-test-in: Add more tests of log1p.
37267         * math/auto-libm-test-out: Regenerated.
37269         [BZ #16928]
37270         * math/s_cacos.c (__cacos): Ensure zero real part of result from
37271         non-finite arguments is +0.
37272         * math/s_cacosf.c (__cacosf): Likewise.
37273         * math/s_cacosl.c (__cacosl): Likewise.
37274         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
37275         * sysdeps/i386/fpu/libm-test-ulps: Update.
37276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37278         [BZ #16927]
37279         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
37280         value.
37281         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
37282         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
37283         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
37284         for explicit high bit of mantissa when testing for argument equal
37285         to 1.
37286         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
37287         * sysdeps/i386/fpu/libm-test-ulps: Update.
37288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37290         [BZ #16516]
37291         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
37292         (__erf): Scale by 16 instead of 8 in potentially underflowing
37293         case.  Ensure exception if result actually underflows.
37294         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
37295         (__erff): Scale by 16 instead of 8 in potentially underflowing
37296         case.  Ensure exception if result actually underflows.
37297         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
37298         (efx8): Remove variable.
37299         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37300         case.  Ensure exception if result actually underflows.
37301         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
37302         (efx8): Remove variable.
37303         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37304         case.  Ensure exception if result actually underflows.
37305         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
37306         (efx8): Remove variable.
37307         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37308         case.  Ensure exception if result actually underflows.
37309         * math/auto-libm-test-in: Add more tests of erf.
37310         * math/auto-libm-test-out: Regenerated.
37312 2014-05-14  Andreas Schwab  <schwab@suse.de>
37314         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
37315         Remove code conditionalized on USE___THREAD.
37317         * config.h.in (HAVE_PT_CHOWN): Define as 0.
37318         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
37319         not definedness.
37321 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37323         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
37324         Define unconditionally.
37325         (__ASSUME_O_CLOEXEC): Likewise.
37326         (__ASSUME_SOCK_CLOEXEC): Likewise.
37327         (__ASSUME_IN_NONBLOCK): Likewise.
37328         (__ASSUME_PIPE2): Likewise.
37329         (__ASSUME_EVENTFD2): Likewise.
37330         (__ASSUME_SIGNALFD4): Likewise.
37331         (__ASSUME_DUP3): Likewise.
37332         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37333         (__ASSUME_DUP3): Do not define.
37334         (__ASSUME_EVENTFD2): Likewise.
37335         (__ASSUME_IN_NONBLOCK): Likewise.
37336         (__ASSUME_O_CLOEXEC): Likewise.
37337         (__ASSUME_PIPE2): Likewise.
37338         (__ASSUME_SIGNALFD4): Likewise.
37339         (__ASSUME_SOCK_CLOEXEC): Likewise.
37340         (__ASSUME_UTIMES): Undefine.
37341         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37342         (__ASSUME_UTIMES): Do not define.
37343         (__ASSUME_O_CLOEXEC): Likewise.
37344         (__ASSUME_SOCK_CLOEXEC): Likewise.
37345         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
37346         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
37347         0x020621].
37348         (__ASSUME_PIPE2): Likewise.
37349         (__ASSUME_EVENTFD2): Likewise.
37350         (__ASSUME_SIGNALFD4): Likewise.
37351         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
37352         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
37353         Do not define.
37354         (__ASSUME_EVENTFD2): Likewise.
37355         (__ASSUME_SIGNALFD4): Likewise.
37356         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37357         (__ASSUME_32BITUIDS): Likewise.
37358         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37359         (__ASSUME_IPC64): Likewise.
37360         (__ASSUME_ST_INO_64_BIT): Likewise.
37361         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
37362         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
37363         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37364         (__ASSUME_UTIMES): Do not define.
37365         (__ASSUME_PSELECT): Likewise.
37366         (__ASSUME_PPOLL): Likewise.
37367         (__ASSUME_O_CLOEXEC): Likewise.
37368         (__ASSUME_SOCK_CLOEXEC): Likewise.
37369         (__ASSUME_IN_NONBLOCK): Likewise.
37370         (__ASSUME_PIPE2): Likewise.
37371         (__ASSUME_EVENTFD2): Likewise.
37372         (__ASSUME_SIGNALFD4): Likewise.
37373         (__ASSUME_DUP3): Likewise.
37374         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37375         (__ASSUME_UTIMES): Likewise.
37376         (__ASSUME_O_CLOEXEC): Likewise.
37377         (__ASSUME_SOCK_CLOEXEC): Likewise.
37378         (__ASSUME_IN_NONBLOCK): Likewise.
37379         (__ASSUME_PIPE2): Likewise.
37380         (__ASSUME_EVENTFD2): Likewise.
37381         (__ASSUME_SIGNALFD4): Likewise.
37382         (__ASSUME_DUP3): Likewise.
37383         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37384         (__ASSUME_UTIMES): Likewise.
37385         (__ASSUME_O_CLOEXEC): Likewise.
37386         (__ASSUME_SOCK_CLOEXEC): Likewise.
37387         (__ASSUME_IN_NONBLOCK): Likewise.
37388         (__ASSUME_PIPE2): Likewise.
37389         (__ASSUME_EVENTFD2): Likewise.
37390         (__ASSUME_SIGNALFD4): Likewise.
37391         (__ASSUME_DUP3): Likewise.
37392         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
37393         Likewise.
37394         (__ASSUME_UTIMES): Likewise.
37395         (__ASSUME_EVENTFD2): Likewise.
37396         (__ASSUME_SIGNALFD4): Likewise.
37397         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37398         (__ASSUME_O_CLOEXEC): Likewise.
37399         (__ASSUME_SOCK_CLOEXEC): Likewise.
37400         (__ASSUME_IN_NONBLOCK): Likewise.
37401         (__ASSUME_PIPE2): Likewise.
37402         (__ASSUME_EVENTFD2): Likewise.
37403         (__ASSUME_SIGNALFD4): Likewise.
37404         (__ASSUME_DUP3): Likewise.
37405         (__ASSUME_UTIMES): Undefine.
37407         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
37408         feclearexcept.  Remove symbol versioning code.
37409         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
37410         symbol versioning code.
37411         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
37412         symbol versioning code.
37413         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
37414         feupdateenv.  Remove symbol versioning code.
37415         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
37416         fegetexceptflag.  Remove symbol versioning code.
37417         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
37418         fesetexceptflag.  Remove symbol versioning code.
37419         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
37420         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
37421         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
37422         (__posix_fadvise64_l32): Remove prototype.
37423         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
37424         code.
37426 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37428         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
37429         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
37430         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
37431         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
37433 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
37435         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
37436         current working directory
37438 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37440         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
37441         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
37442         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
37443         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
37444         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
37445         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
37446         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
37447         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
37448         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
37449         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
37450         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
37451         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
37452         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
37453         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
37454         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
37455         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
37456         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
37457         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
37458         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
37459         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
37460         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
37461         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
37462         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
37463         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
37464         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
37465         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
37466         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
37467         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
37468         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
37469         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
37470         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
37471         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
37472         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
37473         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
37474         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
37475         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
37476         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
37477         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
37478         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
37479         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
37480         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
37481         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
37483         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
37484         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
37486         * sysdeps/unix/sysv/linux/arm/Makefile
37487         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37488         Add rt-aeabi_unwind_cpp_pr1.
37489         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
37490         Add nptl-aeabi_unwind_cpp_pr1.
37491         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
37492         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
37493         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
37494         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37495         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
37496         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37498         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
37499         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
37500         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
37501         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
37503         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
37504         Deconditionalize the code that was previously under [RESET_PID].
37505         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
37507         * sysdeps/generic/exit-thread.h: New file.
37508         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
37509         * include/unistd.h (__exit_thread): Remove declaration.
37510         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
37511         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
37512         * csu/libc-start.c: Include <exit-thread.h>.
37513         (LIBC_START_MAIN): Pass no argument to __exit_thread.
37514         * nptl/pthread_create.c: Include <exit-thread.h>.
37515         (start_thread): Call __exit_thread in place of __exit_thread_inline.
37516         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
37517         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
37518         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
37519         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
37520         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
37521         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
37522         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
37523         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
37524         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
37525         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
37526         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
37527         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
37528         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
37529         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
37530         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
37531         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
37533 2014-05-13  Andreas Schwab  <schwab@suse.de>
37535         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
37537 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
37539         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
37540         (__ASSUME_UTIMES): Do not condition on kernel version.
37541         (__ASSUME_PSELECT): Define unconditionally.
37542         (__ASSUME_PPOLL): Likewise.
37543         (__ASSUME_ATFCTS): Likewise.
37544         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
37545         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
37546         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
37547         (__ASSUME_UTIMENSAT): Define unconditionally.
37548         (__ASSUME_PRIVATE_FUTEX): Likewise.
37549         (__ASSUME_FALLOCATE): Likewise.
37550         (__ASSUME_O_CLOEXEC): Likewise.
37551         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
37552         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
37553         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
37554         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
37555         (__ASSUME_IN_NONBLOCK): Likewise.
37556         (__ASSUME_PIPE2): Likewise.
37557         (__ASSUME_EVENTFD2): Likewise.
37558         (__ASSUME_SIGNALFD4): Likewise.
37559         (__ASSUME_DUP3): Likewise.
37560         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37561         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
37562         (__ASSUME_AT_RANDOM): Likewise.
37563         (__ASSUME_PREADV): Likewise.
37564         (__ASSUME_PWRITEV): Likewise.
37565         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
37566         (__ASSUME_F_GETOWN_EX): Define unconditionally.
37567         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
37568         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37569         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
37570         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37571         (__ASSUME_O_CLOEXEC): Define unconditionally.
37572         (__ASSUME_PSELECT): Do not undefine conditionally.
37573         (__ASSUME_PPOLL): Likewise.
37574         (__ASSUME_ATFCTS): Likewise.
37575         (__ASSUME_SET_ROBUST_LIST): Likewise.
37576         (__ASSUME_UTIMENSAT): Likewise.
37577         (__ASSUME_FDATASYNC): Define unconditionally.
37578         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37579         (__ASSUME_SIGFRAME_V2): Likewise.
37580         )__ASSUME_EVENTFD2): Likewise.
37581         (__ASSUME_SIGNALFD4): Likewise.
37582         (__ASSUME_PSELECT): Do not undefine conditionally.
37583         (__ASSUME_PPOLL): Likewise.
37584         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37585         (__ASSUME_PSELECT): Define unconditionally.
37586         (__ASSUME_PPOLL): Likewise.
37587         (__ASSUME_O_CLOEXEC): Likewise.
37588         (__ASSUME_SOCK_CLOEXEC): Likewise.
37589         (__ASSUME_IN_NONBLOCK): Likewise.
37590         (__ASSUME_PIPE2): Likewise.
37591         (__ASSUME_EVENTFD2): Likewise.
37592         (__ASSUME_SIGNALFD4): Likewise.
37593         (__ASSUME_DUP3): Likewise.
37594         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37595         (__ASSUME_O_CLOEXEC): Likewise.
37596         (__ASSUME_SOCK_CLOEXEC): Likewise.
37597         (__ASSUME_IN_NONBLOCK): Likewise.
37598         (__ASSUME_PIPE2): Likewise.
37599         (__ASSUME_EVENTFD2): Likewise.
37600         (__ASSUME_SIGNALFD4): Likewise.
37601         (__ASSUME_DUP3): Likewise.
37602         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37603         (__ASSUME_EVENTFD2): Likewise.
37604         (__ASSUME_SIGNALFD4): Likewise.
37605         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37607 2014-05-12  Andreas Schwab  <schwab@suse.de>
37609         [BZ #16932]
37610         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
37611         (_nss_nis_gethostbyname4_r): Return error if item length is larger
37612         than maximum RPC packet size.
37613         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
37614         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
37615         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
37616         (_nss_nis_getservbyport_r): Likewise.
37618 2014-05-12  Will Newton  <will.newton@linaro.org>
37620         * malloc/Makefile (tests): Add tst-mallopt.
37621         * malloc/tst-mallopt.c: New file.
37623 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37625         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
37626         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
37628 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37630         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
37631         (tst-tlsmod6.so): Likewise.
37633 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37635         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
37637 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
37639         [BZ #16064]
37640         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
37641         and <dl-procinfo.h>.
37642         (__fegetenv): Save SSE state in envp->__eip if supported.
37643         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
37644         envp->__eip if supported.
37645         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
37646         and <dl-procinfo.h>.
37647         (__fesetenv): Always set __eip, __cs_selector, __opcode,
37648         __data_offset and __data_selector in environment to 0.  Set SSE
37649         state if supported.
37650         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
37651         test-fenv-sse.
37652         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
37653         -mfpmath=sse.
37654         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
37656 2014-05-09  Will Newton  <will.newton@linaro.org>
37658         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
37659         and libc_relro_required for ARM.
37660         * sysdeps/arm/preconfigure: Regenerate.
37662 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
37663             Stefan Liebler  <stli@linux.vnet.ibm.com>
37665         * config.make.in (enable-lock-elision): New Makefile variable.
37666         * configure.ac: Likewise.
37667         * configure: Regenerate.
37668         * sysdeps/s390/configure.ac:
37669         Add check for gcc transactions support.
37670         * sysdeps/s390/configure: Regenerate.
37671         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
37672         Build elision files if enabled.
37673         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
37674         Add lock elision support for s390.
37675         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
37676         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
37677         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
37678         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
37679         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
37680         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
37681         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37682         Likewise.
37683         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
37684         Likewise.
37685         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
37686         Likewise.
37687         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
37688         Likewise.
37689         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
37690         (__lll_timedlock_elision, __lll_lock_elision)
37691         (__lll_unlock_elision, __lll_trylock_elision)
37692         (lll_timedlock_elision, lll_lock_elision)
37693         (lll_unlock_elision, lll_trylock_elision): Add.
37694         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37695         (pthread_mutex_t): Add lock elision support for s390.
37697 2014-05-14  Wilco  <wdijkstr@arm.com>
37699         * sysdeps/arm/fclrexcpt.c: Cleanup.
37700         * sysdeps/arm/fedisblxcpt.c: Cleanup.
37701         * sysdeps/arm/feenablxcpt.c: Cleanup.
37702         * sysdeps/arm/fegetenv.c: Cleanup.
37703         * sysdeps/arm/fegetexcept.c: Cleanup.
37704         * sysdeps/arm/fegetround.c: Cleanup.
37705         * sysdeps/arm/feholdexcpt.c: Cleanup.
37706         * sysdeps/arm/fesetenv.c: Cleanup.
37707         * sysdeps/arm/fesetround.c: Cleanup.
37708         * sysdeps/arm/feupdateenv.c: Cleanup.
37709         * sysdeps/arm/fgetexcptflg.c: Cleanup.
37710         * sysdeps/arm/fraiseexcpt.c: Cleanup.
37711         * sysdeps/arm/fsetexcptflg.c: Cleanup.
37712         * sysdeps/arm/ftestexcept.c: Cleanup.
37713         * sysdeps/arm/get-rounding-mode.h: Cleanup.
37714         * sysdeps/arm/setfpucw.c: Cleanup.
37716 2014-05-09  Will Newton  <will.newton@linaro.org>
37718         * sysdeps/arm/armv7/strcmp.S: New file.
37719         * NEWS: Mention addition of ARMv7 optimized strcmp.
37721 2014-05-08  Roland McGrath  <roland@hack.frob.com>
37723         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
37724         look for %.ac rather than %.in.
37726         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
37727         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
37728         * sysdeps/mach/hurd/configure: Regenerated.
37729         * sysdeps/unix/sysv/linux/configure: Regenerated.
37731         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
37733 2014-05-07  Steve Ellcey  <sellcey@mips.com>
37735         [BZ# 16922]
37736         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
37737         (LONG_SUB): Ditto.
37738         (PTR_SUB): Ditto.
37740 2014-05-07  Andreas Schwab  <schwab@suse.de>
37742         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
37743         when skipping over non-matching result from nscd.
37745 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
37747         [BZ #16876]
37748         * nptl/sockperf.c (client): Check socket return value.
37750         [BZ #16877]
37751         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
37752         nscd security class.
37754 2014-05-06  Roland McGrath  <roland@hack.frob.com>
37756         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
37757         * sysdeps/arm/unwind.h: ... here.
37759 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
37761         [BZ# 16916]
37762         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
37763         Define.
37765 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37767         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
37768         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
37769         multiarch strncpy for PPC64.
37770         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
37771         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
37772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
37773         multiarch optimizations.
37774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37775         (__libc_ifunc_impl_list): Likewise.
37776         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
37777         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
37778         multiarch stpncpy for PPC64.
37779         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
37780         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
37782 2014-05-06  Andreas Schwab  <schwab@suse.de>
37784         [BZ #16912]
37785         * gmon/mcount.c (_MCOUNT_DECL): Use
37786         atomic_compare_and_exchange_bool_acq instead of
37787         catomic_compare_and_exchange_bool_acq.
37789 2014-05-05  Roland McGrath  <roland@hack.frob.com>
37791         * elf/Makefile (others, install-bin): Remove pldd.
37792         (pldd-modules): Variable removed.
37793         ($(objpfx)pldd): Target removed.
37794         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
37795         (others, install-bin): Append pldd here.
37796         ($(objpfx)pldd): New target.
37798         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
37799         to 0, so the first #if test emitted later doesn't see it undefined.
37800         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
37801         * sysdeps/gnu/errlist.c: Regenerated.
37803 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37805         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37806         [libc_hidden_builtin_def]: Define to empty value.
37807         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
37808         [libc_hidden_builtin_def]: Likewise.
37809         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
37810         [libc_hidden_builtin_def]: Likewise.
37811         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
37812         [libc_hidden_builtin_def]: Likewise.
37813         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
37814         __redirect_memcpy and define ifunc as default hidden symbol.
37815         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
37816         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
37818 2014-05-04  Adam Conrad  <adconrad@0c3.net>
37820         * locale/iso-4217.def: Reintroduce XDR currency.
37822 2014-05-04  Allan McRae  <allan@archlinux.org>
37824         * po/eo.po: Update Esperanto translation from translation project.
37826 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
37828         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
37829         and FEATURE_INDEX_MAX to 1.
37830         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
37832 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37834         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
37835         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
37836         * iconvdata/big5.c (ONE_DIRECTION): Define.
37837         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
37838         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37839         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
37840         * iconvdata/cp932.c (ONE_DIRECTION): Define.
37841         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
37842         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
37843         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
37844         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
37845         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
37846         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
37847         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
37848         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
37849         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
37850         * iconvdata/gbk.c (ONE_DIRECTION): Define.
37851         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
37852         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
37853         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
37854         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
37855         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
37856         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
37857         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
37858         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
37859         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
37860         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
37861         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
37862         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
37863         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
37864         * iconvdata/iso646.c (ONE_DIRECTION): Define.
37865         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
37866         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
37867         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37868         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
37869         * iconvdata/johab.c (ONE_DIRECTION): Define.
37870         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
37871         * iconvdata/sjis.c (ONE_DIRECTION): Define.
37872         * iconvdata/t.61.c (ONE_DIRECTION): Define.
37873         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
37874         * iconvdata/tscii.c (ONE_DIRECTION): Define.
37875         * iconvdata/uhc.c (ONE_DIRECTION): Define.
37876         * iconvdata/unicode.c (ONE_DIRECTION): Define.
37877         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
37878         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37879         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37881 2014-05-01  Roland McGrath  <roland@hack.frob.com>
37883         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37884         (_IO_JUMPS_OFFSET): Define to 0.
37886         * nptl/sysdeps/pthread/bits/libc-lock.h
37887         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37888         (__libc_lock_define_initialized_recursive): Always define using
37889         initializer.  Modern compilers treat uninitialized (implicit zero) and
37890         explicit zero initializers the same (i.e. put the datum in bss).
37892 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37894         * nscd/nscd-client.h: Include <string.h>.
37896 2014-05-01  David S. Miller  <davem@davemloft.net>
37898         [BZ #16885]
37899         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
37900         multiple zero bytes exist at the end of a string.
37901         Reported by Aurelien Jarno <aurelien@aurel32.net>
37903         * string/test-strcmp.c (check): Add explicit test for situations where
37904         there are multiple zero bytes after the first.
37906 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37908         [BZ #16890]
37909         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
37910         when compiling wprintf.
37911         * stdio-common/tstdiomisc.c (t3): New function.
37912         (main): Call it.
37914 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37916         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
37917         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
37918         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
37919         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
37921 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37923         * stdlib/longlong.h: Updated from GCC.
37925 2014-05-01  Will Newton  <will.newton@linaro.org>
37926             Bernard Ogden  <bernie.ogden@linaro.org>
37928         * NEWS: Update fixed bug list.
37930         [BZ #15119]
37931         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
37933 2014-04-30  David S. Miller  <davem@davemloft.net>
37935         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
37936         (libc_feholdexcept_setround_sparc_ctx): New function.
37937         (libc_fesetenv_sparc_ctx): Likewise.
37938         (libc_feupdateenv_sparc_ctx): Likewise.
37939         (libc_feholdsetround_sparc_ctx): Likewise.
37940         (libc_feholdexcept_setround_ctx): Define.
37941         (libc_feholdexcept_setroundf_ctx): Likewise.
37942         (libc_feholdexcept_setroundl_ctx): Likewise.
37943         (libc_fesetenv_ctx): Likewise.
37944         (libc_fesetenvf_ctx): Likewise.
37945         (libc_fesetenvl_ctx): Likewise.
37946         (libc_feupdateenv_ctx): Likewise.
37947         (libc_feupdateenvf_ctx): Likewise.
37948         (libc_feupdateenvl_ctx): Likewise.
37949         (libc_feresetround_ctx): Likewise.
37950         (libc_feresetroundf_ctx): Likewise.
37951         (libc_feresetroundl_ctx): Likewise.
37952         (libc_feholdsetround_ctx): Likewise.
37953         (libc_feholdsetroundf_ctx): Likewise.
37954         (libc_feholdsetroundl_ctx): Likewise.
37956         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37957         with __USE_GNU instead of XOPEN cpp guards.
37959         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
37960         0.
37962         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37963         with XOPEN cpp guards.
37965 2014-04-30  Julian Brown  <julian@codesourcery.com>
37967         [BZ #16888]
37968         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
37969         handling.
37971 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
37973         [BZ #9894]
37974         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
37975         Change to 2.6.32.
37976         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
37977         * sysdeps/unix/sysv/linux/configure: Regenerated.
37978         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
37979         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
37980         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
37981         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
37982         * README: Update reference to required Linux kernel version.
37983         * manual/install.texi (Linux): Update reference to required Linux
37984         kernel headers version.
37985         * INSTALL: Regenerated.
37987         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
37988         header inclusion.
37989         [POSIX] (limits.h): Likewise.
37990         [POSIX] (math.h): Likewise.
37991         [POSIX] (sys/wait.h): Likewise.
37992         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
37993         function.
37994         [POSIX] (stddef.h): Do not allow header inclusion.
37996 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37998         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
38000 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
38002         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
38003         Return immediately after lll_futex_wake.
38005 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38007         [BZ #16791]
38008         * nscd/nscd-client.h (datahead_init_common): Initialize entire
38009         structure.
38010         (datahead_init_pos): Call datahead_init_common early.
38011         (datahead_init_neg): Likewise.
38013         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
38014         datahead_init_neg): New functions.
38015         * nscd/aicache.c (addhstaiX): Use them.
38016         * nscd/grpcache.c (cache_addgr): Likewise.
38017         * nscd/hstcache.c (cache_addhst): Likewise.
38018         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38019         * nscd/netgroupcache.c (do_notfound): Likewise.
38020         (addgetnetgrentX): Likewise.
38021         (addinnetgrX): Likewise.
38022         * nscd/pwdcache.c (cache_addpw): Likewise.
38023         * nscd/servicescache.c (cache_addserv): Likewise.
38025 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38026             Atsushi Onoe  <atsushi@onoe.org>
38028         [BZ #14308]
38029         [BZ #12994]
38030         [BZ #13651]
38031         * resolv/res_query.c (__libc_res_nsearch): Return if at least
38032         one response is valid.
38033         * resolv/res_send.c (send_dg): Check for validity of other
38034         response if the current response is a referral.
38036 2014-04-29  Steve Ellcey  <sellcey@mips.com>
38038         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
38040 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
38042         [BZ #16823]
38043         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
38044         Always divide by positive zero when computing -Inf result.
38045         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38046         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
38048 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38050         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
38051         FPSCR if value do not change.
38052         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38053         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
38054         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38055         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38056         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
38057         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
38058         function.
38060 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
38062         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
38063         * sysdeps/unix/sysv/linux/hppa: Move directory from
38064         ports/systeps/unix/sysv/linux/hppa.
38065         * README: Update listing for hppa-*-linux-gnu.
38067 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
38069         [BZ #16754]
38070         * manual/stdio.texi (Hook functions): Fix types of stream hook
38071         functions.
38072         [BZ #16854]
38073         * socket/sys/socket.h: Fix typo in comment.
38075 2014-04-28  Wilco  <wdijkstr@arm.com>
38077         * sysdeps/arm/fenv_private.h: New file.
38078         * sysdeps/arm/math_private.h: New file.
38079         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
38081 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
38083         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
38084         with __int128_t.
38085         (La_x86_64_retval): Likewise.
38087 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
38089         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
38090         fpsr if value didn't change.
38091         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
38092         to fpcr if value didn't change.
38093         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
38094         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
38095         fpsr or fpcr if value didn't change.
38096         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38097         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
38098         fpcr if value didn't change.
38099         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
38100         to fpsr if value didn't change.
38102 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38104         * nptl/tst-sem3.c: Use test-skeleton.c
38105         (main): Rename to do_test.  Use return instead of
38106         exit.
38107         * nptl/tst-sem4.c: Use test-skeleton.c
38108         (main): Rename to do_test.
38110 2014-04-22  David S. Miller  <davem@davemloft.net>
38112         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
38113         (struct sigaction): New struct member __glibc_reserved0, change
38114         type of sa_flags to int.
38116 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
38118         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
38119         (COUNT_LEADING_ZEROS_0): Define for AArch64.
38121 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38123         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
38124         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
38126 2014-04-22  Will Newton  <will.newton@linaro.org>
38127             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
38129         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
38130         (__longjmp): Add longjmp and longjmp_target SystemTap
38131         probes.
38132         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
38133         (__sigsetjmp): Add setjmp SystemTap probe.
38135 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
38137         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
38138         match manual order.
38140 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38142         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
38144         * sysdeps/powerpc/fpu/fenv_private.h
38145         (libc_feholdexcept_setroundl_ctx): Define to
38146         libc_feholdexcept_setround_ppc_ctx.
38147         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
38148         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
38149         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
38150         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
38152 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38154         * sysdeps/aarch64/math-tests.h: New file.
38156 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
38158         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
38159         New.
38160         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38161         Check and set bit_AVX2_Usable.
38162         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
38163         macro.
38164         (bit_AVX2): Likewise.
38165         (index_AVX2_Usable): Likewise.
38166         (CPUID_AVX2): Likewise.
38167         (HAS_AVX2): Likewise.
38169 2014-04-17  Will Newton  <will.newton@linaro.org>
38171         * manual/setjmp.texi (System V contexts): Add note that
38172         calling setcontext on a context created by a call to a
38173         signal handler is undefined.  Update text to note that
38174         setcontext from a signal handler is possible but not
38175         recommended.
38177         [BZ #16629]
38178         * stdlib/tst-setcontext.c: Include signal.h.
38179         (main): Check that the signal stack before and
38180         after swapcontext is the same.
38182         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
38183         Re-implement to restore registers in user code and avoid
38184         rt_sigreturn system call.
38186 2014-04-17  Wilco  <wdijkstr@arm.com>
38188         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
38189         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
38190         * math/test-fenv.c: Skip exception trap tests on targets which only
38191         support non-stop mode.
38193 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38194             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38196         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
38197         (libc_feholdsetround_aarch64_ctx)
38198         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
38199         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
38200         (libc_feresetround_ctx, libc_feresetroundf_ctx)
38201         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
38202         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
38203         (libc_feresetround_noexl_ctx): Define.
38205 2014-04-16  Richard Henderson  <rth@redhat.com>
38207         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
38209         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
38210         unwind tables.
38212         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
38213         const from the non-libc, non-ldso copy.
38215         * sysdeps/alpha/libm-test-ulps: Regenerate.
38217 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
38218             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38220         * sysdeps/aarch64/fpu/math_private.h: New file.
38222 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38224         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38226 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
38228         [BZ #16275]
38229         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
38230         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
38231         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
38232         Intel MPX bound registers before _dl_profile_fixup.
38233         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
38234         registers after _dl_profile_fixup.  Save and restore bound
38235         registers bnd0/bnd1 when calling _dl_call_pltexit.
38236         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
38237         (LR_BND_OFFSET): Likewise.
38238         (LRV_BND0_OFFSET): Likewise.
38239         (LRV_BND1_OFFSET): Likewise.
38241 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38243         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
38244         to...
38245         * sysdeps/mach/hurd/i386/tls.h: ... here.
38246         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
38247         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
38248         fields.
38250 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38252         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
38254 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38256         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38258 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38260         [BZ #14770]
38261         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
38262         * sysdeps/s390/configure: Regenerate.
38264         [BZ #16824]
38265         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
38266         Set round-to-nearest internally to reduce error accumulation.
38268 2014-04-16  Alan Modra  <amodra@gmail.com>
38270         [BZ #16740]
38271         [BZ #16619]
38272         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
38273         * math/libm-test.inc (frexp_test_data): Add tests.
38274         * NEWS: Update fixed bug list.
38276 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38278         * benchtests/Makefile: Depend on libraries in build directory.
38279         (bench-math): Separate out math tests.
38280         (bench-pthread): Separate out pthread tests.
38281         (bench): Include math and pthread tests.
38283 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
38285         [BZ #16831]
38286         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
38287         _dl_debug_initialize.
38289         * configure.ac: Remove SELinux header check.
38290         * configure: Regenerate.
38291         * nscd/selinux.c (perms): Array of const char* to permission names.
38292         (nscd_request_avc_has_perm): Call security_deny_unknown to find
38293         default policy. Call string_to_security_class and string_to_av_perm to
38294         translate strings. Enforce default policy and call avs_has_perm with
38295         results of translated strings.
38297 2014-04-13  David S. Miller  <davem@davemloft.net>
38299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38301 2014-04-12  Allan McRae  <allan@archlinux.org>
38303         [BZ #16838]
38304         * manual/string.texi (Collation Functions): Fix qsort argument
38305         order in example.
38306         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38308 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
38310         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
38311         Make the test a no-op if there are no exceptions defined.
38313 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38315         * elf/Makefile (tests): make tst-dlopen-aout conditional on
38316         enable-hardcoded-path-in-tests
38318 2014-04-11  Will Newton  <will.newton@linaro.org>
38320         * benchtests/Makefile (extra-objs): Add json-lib.o.
38321         (bench-func): Tidy up JSON output.
38322         * benchtests/bench-skeleton.c: Include json-lib.h.
38323         (main): Use JSON library functions to do output of
38324         benchmark results.
38325         * benchtests/bench-timing-type.c (main): Output the
38326         timing type simply, leaving formatting to the user.
38327         * benchtests/json-lib.c: New file.
38328         * benchtests/json-lib.h: Likewise.
38330 2014-04-11  Torvald Riegel  <triegel@redhat.com>
38332         [BZ #15215]
38333         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
38334         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
38335         memory barriers.  Add comments.
38336         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
38337         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
38338         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
38339         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
38340         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
38341         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
38343 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38345         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
38346         * sysdeps/s390/s390-64/configure.ac: ... this ...
38347         * sysdeps/s390/configure.ac: ... to here.
38348         * sysdeps/s390/s390-32/configure: Delete file.
38349         * sysdeps/s390/s390-64/configure: Delete file.
38350         * sysdeps/s390/configure: Regenerate.
38352 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
38354         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
38356 2014-04-11  Will Newton  <will.newton@linaro.org>
38358         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
38359         to zero if it is not defined elsewhere.  (mtrim): Test
38360         the value of MALLOC_DEBUG with #if rather than #ifdef.
38362 2014-04-10 Torvald Riegel  <triegel@redhat.com>
38364         * benchtests/pthread_once-inputs: New file.
38365         * benchtests/pthread_once-source.c: New file.
38366         * benchtests/README: Update documentation.
38368 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
38369             H.J. Lu  <hongjiu.lu@intel.com>
38371         [BZ #16275]
38372         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
38373         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
38374         * sysdeps/x86_64/configure: Regenerated.
38375         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
38376         macro.
38377         (REGISTER_SAVE_RAX): Likewise.
38378         (REGISTER_SAVE_RCX): Likewise.
38379         (REGISTER_SAVE_RDX): Likewise.
38380         (REGISTER_SAVE_RSI): Likewise.
38381         (REGISTER_SAVE_RDI): Likewise.
38382         (REGISTER_SAVE_R8): Likewise.
38383         (REGISTER_SAVE_R9): Likewise.
38384         (REGISTER_SAVE_BND0): Likewise.
38385         (REGISTER_SAVE_BND1): Likewise.
38386         (REGISTER_SAVE_BND2): Likewise.
38387         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
38388         bound registers when calling _dl_fixup.
38390 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38392         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
38393         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
38394         of its definition.
38395         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
38396         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
38397         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
38398         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
38399         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
38400         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
38401         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
38403 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
38405         [BZ #15514]
38406         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
38407         pathconf(_PC_NAME_MAX).
38409 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38411         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
38412         Remove macro usage.
38413         (__PTHREAD_SPINS): Move definition to ...
38414         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38415         (__PTHREAD_SPINS): ... here.
38416         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38417         (__PTHREAD_SPIN): Likewise.
38418         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
38419         (__PTHREAD_SPIN): Likewise.
38420         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
38421         (__PTHREAD_SPIN): Likewise.
38422         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
38423         (__PTHREAD_SPIN): Likewise.
38424         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
38425         (__PTHREAD_SPIN): Likewise.
38426         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
38427         (__PTHREAD_SPIN): Likewise.
38428         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
38429         (__PTHREAD_SPIN): Likewise.
38430         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
38431         (__PTHREAD_SPIN): Likewise.
38432         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
38433         (__PTHREAD_SPIN): Likewise.
38434         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
38435         (__PTHREAD_SPIN): Likewise.
38436         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
38437         (__PTHREAD_SPIN): Likewise.
38438         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
38439         (__PTHREAD_SPIN): Likewise.
38441         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
38442         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
38443         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
38444         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
38445         imply folder.
38446         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
38447         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
38448         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
38449         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
38450         correct imply path.
38451         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
38452         strlen symbol for non multi-arch builds.
38453         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
38454         missing hidden_def and weak_alias.
38456 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
38458         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
38460 2014-04-07  Will Newton  <will.newton@linaro.org>
38462         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
38463         and contents.  [!_LIBC] Remove #ifndef and contents.
38464         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
38465         * string/memccpy.c (__memccpy): Use ANSI prototype.
38466         * string/memfrob.c (memfrob): Likewise.
38467         * string/strcoll.c (STRCOLL): Likewise.
38468         * string/strlen.c (strlen): Likewise.
38469         * string/strtok.c (STRTOK): Likewise.
38470         * string/strcat.c: Remove unused #include of memcopy.h.
38471         (strcat): Use ANSI prototype.
38472         * string/strchr.c: Remove unused #include of memcopy.h.
38473         (strchr): Use ANSI prototype.
38474         * string/strcmp.c: Remove unused #include of memcopy.h.
38475         (strcmp): Use ANSI prototype.
38476         * string/strcpy.c: Remove unused #include of memcopy.h.
38477         (strcpy): Use ANSI prototype.
38479 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38481         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
38482         * config.make.in (config-extra-cppflags): Set it from
38483         libc_extra_cppflags.
38484         * configure.ac (libc_extra_cflags): Make it accumulate over
38485         configure fragments.
38486         (libc_extra_cppflags): New flag.
38487         * configure. Regenerate.
38488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38489         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
38490         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
38491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
38493         [BZ #16815]
38494         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
38495         result for FE_DOWNWARD rounding mode.
38496         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
38497         Likewise.
38498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38500 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
38502         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
38503         in function argument name.
38505 2014-04-03  David Svoboda  <svoboda@cert.org>
38507         [BZ #5666]
38508         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
38509         explicitly.
38511 2014-04-03  Roland McGrath  <roland@hack.frob.com>
38513         * elf/dl-unmap-segments.h: New file.
38514         * sysdeps/generic/ldsodefs.h
38515         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
38516         * elf/dl-close.c: Include <dl-unmap-segments.h>.
38517         * elf/dl-fptr.c: Likewise.
38518         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
38519         * sysdeps/aarch64/tlsdesc.c: Likewise.
38520         * sysdeps/arm/tlsdesc.c: Likewise.
38521         * sysdeps/i386/tlsdesc.c: Likewise.
38522         * sysdeps/tile/dl-runtime.c: Likewise.
38523         * sysdeps/x86_64/tlsdesc.c: Likewise.
38524         * elf/dl-load.h: New file.
38525         * elf/dl-load.c: Include it.
38526         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
38527         Macros moved to dl-load.h.
38528         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
38529         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
38530         Use _dl_unmap_segments in place of __munmap.
38531         Break out segment-mapping loop into ...
38532         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
38534 2014-04-03  Will Newton  <will.newton@linaro.org>
38536         * elf/dl-lookup.c (do_lookup_x): Remove comment
38537         referring to nested function and move variable
38538         declarations down to before first use.
38540 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
38542         [BZ #16799]
38543         [BZ #16800]
38544         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
38545         with 0 numerator.
38546         * math/s_catanf.c (__catanf): Likewise.
38547         * math/s_catanh.c (__catanh): Likewise.
38548         * math/s_catanhf.c (__catanhf): Likewise.
38549         * math/s_catanhl.c (__catanhl): Likewise.
38550         * math/s_catanl.c (__catanl): Likewise.
38551         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
38552         by positive zero when computing -Inf result.
38553         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
38554         (catanh_test): Likewise.
38555         * sysdeps/i386/fpu/libm-test-ulps: Update.
38556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38558         [BZ #16789]
38559         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
38560         instead of using underflowing value in computing result.
38561         * math/s_clog10.c (__clog10): Likewise.
38562         * math/s_clog10f.c (__clog10f): Likewise.
38563         * math/s_clog10l.c (__clog10l): Likewise.
38564         * math/s_clogf.c (__clogf): Likewise.
38565         * math/s_clogl.c (__clogl): Likewise.
38566         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
38567         (clog10_test): Likewise.
38568         * sysdeps/i386/fpu/libm-test-ulps: Update.
38569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38571 2014-04-02  Alan Modra  <amodra@gmail.com>
38573         [BZ #16739]
38574         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
38575         output when value is near a power of two.  Use int64_t for lx and
38576         remove casts.  Use decimal rather than hex exponent constants.
38577         Don't use long double multiplication when double will suffice.
38578         * math/libm-test.inc (nextafter_test_data): Add tests.
38579         * NEWS: Add 16739 and 16786 to bug list.
38581         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
38583         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
38585 2014-04-01  Will Newton  <will.newton@linaro.org>
38587         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
38588         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
38590 2014-04-01  Florian Weimer  <fweimer@redhat.com>
38592         [BZ #13347]
38593         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
38594         * nptl/tst-setuid2.c: New file.
38595         * nptl/Makefile (xtests): Add tst-setuid2.
38597 2014-04-01  Alan Modra  <amodra@gmail.com>
38599         [BZ #16786]
38600         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
38602 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38604         [BZ #6803]
38605         [BZ #6804]
38606         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
38607         set errno as appropriate.
38608         * math/w_scalbf.c (__scalbf): Likewise.
38609         * math/w_scalbl.c (__scalbl): Likewise.
38610         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
38611         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
38612         * math/libm-test.inc (scalb_test_data): Add errno expectations.
38613         Add more NaN tests.
38615         [BZ #16349]
38616         * math/w_atan2.c: Include <errno.h>.
38617         (__atan2): Set errno for result underflowing to zero.
38618         * math/w_atan2f.c: Include <errno.h>.
38619         (__atan2f): Set errno for result underflowing to zero.
38620         * math/w_atan2l.c: Include <errno.h>.
38621         (__atan2l): Set errno for result underflowing to zero.
38622         * math/auto-libm-test-in: Don't allow missing errno for some atan2
38623         tests.
38624         * math/auto-libm-test-out: Regenerated.
38626 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38628         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38629         Encode instruction correctly in little endian.
38630         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38631         Likewise.
38632         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38633         Likewise.
38634         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38635         Likewise.
38636         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38637         Likewise.
38639 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38641         [BZ #9894]
38642         * sysdeps/unix/sysv/linux/kernel-features.h
38643         [__sparc__ && !__arch64__ && !__sparc_v9__]
38644         (__ASSUME_SET_ROBUST_LIST): Do not define.
38645         [__sparc__ && !__arch64__ && !__sparc_v9__]
38646         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38647         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
38648         Likewise.
38649         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38650         (__ASSUME_FUTEX_LOCK_PI): Undefine.
38651         (__ASSUME_REQUEUE_PI): Likewise.
38652         (__ASSUME_SET_ROBUST_LIST): Likewise.
38653         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38654         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
38655         Undefine.
38656         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38657         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
38658         Likewise.
38659         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
38660         Likewise.
38661         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
38662         Likewise.
38663         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38664         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
38665         Undefine.
38666         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
38667         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
38668         Likewise.
38670         [BZ #16648]
38671         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38672         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
38673         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
38675 2014-03-31  Will Newton  <will.newton@linaro.org>
38677         * benchtests/Makefile (bench): Add ffs and ffsll to list
38678         of tests.
38679         * benchtests/ffs-inputs: New file.
38680         * benchtests/ffsll-inputs: Likewise.
38682 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
38684         [BZ #16770]
38685         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
38686         too large before casting to int.
38687         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
38688         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
38689         * math/libm-test.inc (scalb_test_data): Add more tests.
38691 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38693         * benchtests/Makefile (DETAILED_OPT): New make option.
38694         (bench-func): Run benchmark program with -d if DETAILED_OPT is
38695         set.
38696         * benchtests/bench-skeleton.c: Include stdbool.h.
38697         (main): Store and print timings per input.
38698         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
38699         member to each argument value.
38700         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
38701         (_print_arg_data): Initialize per-input timing to 0.
38703         * benchtests/Makefile (timing-type): New binary.
38704         (bench-clean): Also remove bench-timing-type.
38705         (bench): New target for timing-type.
38706         (bench-func): Print output in JSON format.
38707         * benchtests/bench-skeleton.c (main): Print output in JSON
38708         format.
38709         * benchtests/bench-timing-type.c: New file.
38710         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
38711         (TIMING_PRINT_STATS): Remove.
38712         * benchtests/scripts/bench.py (_print_arg_data): Store variant
38713         name separately.
38715         * benchtests/bench-modf.c: Remove.
38716         * benchtests/modf-inputs: New inputs file.
38718 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
38720         [BZ #16362]
38721         * math/s_clog10.c (M_PI_LOG10E): New macro.
38722         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
38723         imaginary parts are 0.
38724         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
38725         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
38726         imaginary parts are 0.
38727         * math/s_clog10l.c (M_PI_LOG10El): New macro.
38728         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
38729         imaginary parts are 0.
38730         * math/libm-test.inc (clog10_test_data): Update expected results
38731         for when real and imaginary parts are 0.
38733 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
38735         * elf/dl-load.c: Finish conversion of __builtin_expect into
38736         __glibc_{un}likely.
38738 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
38740         [BZ #16348]
38741         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
38742         1+x for argument with exponent below -67.
38743         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
38744         Likewise.
38745         * math/auto-libm-test-in: Add more tests of exp.
38746         * math/auto-libm-test-out: Regenerated.
38748 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38750         [BZ #16759]
38751         * inet/getnetgrent_r.c (get_nonempty_val): New function.
38752         (nscd_getnetgrent): Use it.
38754         [BZ #16760]
38755         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
38756         of stpcpy.
38758 2014-03-27  Andi Kleen  <ak@linux.intel.com>
38760         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
38761         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38762         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38763         (lll_robust_unlock): Remove out of line section. Use cfi
38764         intrinsics.
38765         (LLL_STUB_UNWIND_INFO*): Remove.
38766         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
38767         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38768         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38769         (lll_robust_unlock): Remove out of line section. Use cfi
38770         intrinsics.
38771         (LLL_STUB_UNWIND_INFO*): Remove.
38773 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38775         [BZ #16758]
38776         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
38777         blank values.
38779 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
38781         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
38783 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
38785         [BZ #16198]
38786         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
38787         fnstenv.
38788         * math/test-fenv-preserve.c: New file.
38789         * math/Makefile (tests): Add test-fenv-preserve.
38791 2014-03-26  Will Newton <will.newton@linaro.org>
38793         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
38795 2014-03-25  Roland McGrath  <roland@hack.frob.com>
38797         * scripts/versionlist.awk: Partition the version sets and emit all
38798         GLIBC_* (sorted) before all others (sorted).
38800 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38802         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
38803         GLIBC_2.2.5 version.
38805 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38807         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
38808         calls.
38810         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
38811         previous change.
38813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38815 2014-03-25  Andreas Schwab  <schwab@suse.de>
38817         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
38818         label to be used after in6ailist is initialized.
38820 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38822         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38823         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38825 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38827         [BZ #16357]
38828         [BZ #16599]
38829         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
38830         min_plus_half.
38831         (fp_formats): Update initializers.
38832         (init_fp_formats): Initialize new field.
38833         (output_for_one_input_case): Allow underflow for results up to
38834         min_plus_half.
38835         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
38836         * math/auto-libm-test-in: Don't mark some underflows from asin and
38837         atanh as spurious.
38838         * math/auto-libm-test-out: Regenerated.
38839         * sysdeps/i386/fpu/libm-test-ulps: Update.
38840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38842 2014-03-25  Andreas Schwab  <schwab@suse.de>
38844         * libio/Makefile (tst-ftell-partial-wide-ENV)
38845         (tst-ftell-active-handler-ENV): Define.
38847 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
38849         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
38851 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38853         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
38855 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38857         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
38858         * sysdeps/x86_64/fpu/multiarch/e_exp.c
38859         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38861 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38863         [BZ #16634]
38864         * elf/dl-load.c (open_verify): Add mode parameter.
38865         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
38866         (open_path): Change from boolean 'secure' to complete flag 'mode'
38867         (_dl_map_object): Adjust.
38868         * elf/Makefile (tests): Add tst-dlopen-aout.
38869         * elf/tst-dlopen-aout.c: New test.
38871 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
38873         [BZ #16714]
38874         * sysdeps/unix/sysv/linux/s390/bits/stat.h
38875         (struct stat): Rename member pad0 to __glibc_reserved0.
38877         [BZ #16712]
38878         * sysdeps/s390/s390-32/bits/wordsize.h
38879         (__WORDSIZE32_SIZE_ULONG): New define.
38880         * sysdeps/s390/s390-64/bits/wordsize.h
38881         (__WORDSIZE32_SIZE_ULONG): Likewise.
38882         * sysdeps/generic/stdint.h (SIZE_MAX):
38883         Define as UL if __WORDSIZE32_SIZE_ULONG.
38885         [BZ #16713]
38886         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38887         (__glibc_reserved0): New variable.
38888         (sa_flags): Change type to int.
38890         * posix/Makefile (before-compile): Use += before-compile instead
38891         of a :=.
38893         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38894         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38896 2014-03-20  Andreas Schwab  <schwab@suse.de>
38898         [BZ #16743]
38899         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
38900         non-matching result from nscd.
38902 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38904         * scripts/bench.py: Moved to ...
38905         * benchtests/scripts/bench.py: ... here.
38906         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
38908 2014-03-24  Andreas Schwab  <schwab@suse.de>
38910         [BZ #16002]
38911         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
38912         alloca_account and account alloca use for struct in6ailist.
38914 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38916         [BZ #16284]
38917         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
38918         rounding mode to recompute results that overflow to infinity or
38919         underflow to zero.
38920         * math/auto-libm-test-in: Don't mark tests as expected to fail for
38921         bug 16284.
38922         * math/auto-libm-test-out: Regenerated.
38923         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
38924         (ccosh_test): Likewise.
38925         (csin_test_data): Use plus_oflow.
38926         (csin_test): Use ALL_RM_TEST.
38927         (csinh_test_data): Use plus_oflow.
38928         (csinh_test): Use ALL_RM_TEST.
38929         * sysdeps/i386/fpu/libm-test-ulps: Update.
38930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38932 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
38934         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
38935         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
38936         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
38938         [BZ #16731]
38939         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
38940         when x - 1 is zero.
38941         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
38942         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
38943         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38944         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
38945         argument is 1.
38946         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
38947         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
38948         zero.
38949         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
38950         * sysdeps/i386/fpu/libm-test-ulps: Update.
38951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38953 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38955         * scripts/bench.pl: Remove file.
38956         * scripts/bench.py: New benchmark script.
38957         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
38958         * benchtests/README: Mention python dependency.
38959         * scripts/pylintrc: New file.
38960         * scripts/pylint: New file.
38962         * bits/mathdef.h: Use #ifdef instead of #if.
38963         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
38964         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38965         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
38966         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38967         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
38968         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38970 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38971             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38973         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
38974         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
38975         and strpbrk-ppc64 objects.
38976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38977         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
38978         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
38979         multiarch strpbrk for POWER7.
38980         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
38981         multiarch strpbrk for PPC64.
38982         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
38983         ifunc selector.
38984         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
38985         strpbrk for POWER7.
38987 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38989         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
38990         (atan_test): Likewise.
38991         (atanh_test_data): Use NO_TEST_INLINE for two tests.
38992         (atanh_test): Use ALL_RM_TEST.
38993         (atan2_test_data): Likewise.
38994         (cabs_test): Likewise.
38995         (cacosh_test): Likewise.
38996         (carg_test): Likewise.
38997         (casin_test): Likewise.
38998         (casinh_test): Likewise.
38999         (cbrt_test): Likewise.
39000         (csqrt_test): Likewise.
39001         (erf_test): Likewise.
39002         (erfc_test): Likewise.
39003         (pow10_test): Likewise.
39004         (exp2_test): Likewise.
39005         (hypot_test): Likewise.
39006         (j0_test): Likewise.
39007         (j1_test): Likewise.
39008         (lgamma_test): Likewise.
39009         (gamma_test): Likewise.
39010         (sincos_test): Likewise.
39011         (tanh_test): Likewise.
39012         (y0_test): Likewise.
39013         (y1_test): Likewise.
39014         * sysdeps/i386/fpu/libm-test-ulps: Update.
39015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39017 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39019         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
39020         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
39021         and strcspn-ppc64 objects.
39022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39023         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
39024         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
39025         multiarch strcspn for POWER7.
39026         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
39027         multiarch strcspn for PPC64.
39028         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
39029         ifunc selector.
39030         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
39031         strcspn for POWER7.
39033 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
39035         * math/gen-libm-test.pl (generate_testfile): Expect only function
39036         name as argument to AUTO_TESTS_* and pass results for all rounding
39037         modes to parse_args.
39038         (parse_auto_input): Separate inputs of automatic tests from
39039         outputs before storing in %auto_tests.
39040         * math/libm-test.inc (acos_test_data): Update call to
39041         AUTO_TESTS_f_f.
39042         (acos_test): Use ALL_RM_TEST.
39043         (acos_tonearest_test_data): Remove.
39044         (acos_test_tonearest): Likewise.
39045         (acos_towardzero_test_data): Likewise.
39046         (acos_test_towardzero): Likewise.
39047         (acos_downward_test_data): Likewise.
39048         (acos_test_downward): Likewise.
39049         (acos_upward_test_data): Likewise.
39050         (acos_test_upward): Likewise.
39051         (acosh_test_data): Update call to AUTO_TESTS_f_f.
39052         (asin_test_data): Likewise.
39053         (asin_test): Use ALL_RM_TEST.
39054         (asin_tonearest_test_data): Remove.
39055         (asin_test_tonearest): Likewise.
39056         (asin_towardzero_test_data): Likewise.
39057         (asin_test_towardzero): Likewise.
39058         (asin_downward_test_data): Likewise.
39059         (asin_test_downward): Likewise.
39060         (asin_upward_test_data): Likewise.
39061         (asin_test_upward): Likewise.
39062         (asinh_test_data): Update call to AUTO_TESTS_f_f.
39063         (atan_test_data): Likewise.
39064         (atanh_test_data): Likewise.
39065         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
39066         (cabs_test_data): Update call to AUTO_TESTS_c_f.
39067         (carg_test_data): Likewise.
39068         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
39069         (ccos_test_data): Update call to AUTO_TESTS_c_c.
39070         (ccosh_test_data): Likewise.
39071         (cexp_test_data): Likewise.
39072         (clog_test_data): Likewise.
39073         (clog10_test_data): Likewise.
39074         (cos_test_data): Update call to AUTO_TESTS_f_f.
39075         (cos_test): Use ALL_RM_TEST.
39076         (cos_tonearest_test_data): Remove.
39077         (cos_test_tonearest): Likewise.
39078         (cos_towardzero_test_data): Likewise.
39079         (cos_test_towardzero): Likewise.
39080         (cos_downward_test_data): Likewise.
39081         (cos_test_downward): Likewise.
39082         (cos_upward_test_data): Likewise.
39083         (cos_test_upward): Likewise.
39084         (cosh_test_data): Update call to AUTO_TESTS_f_f.
39085         (cosh_test): Use ALL_RM_TEST.
39086         (cosh_tonearest_test_data): Remove.
39087         (cosh_test_tonearest): Likewise.
39088         (cosh_towardzero_test_data): Likewise.
39089         (cosh_test_towardzero): Likewise.
39090         (cosh_downward_test_data): Likewise.
39091         (cosh_test_downward): Likewise.
39092         (cosh_upward_test_data): Likewise.
39093         (cosh_test_upward): Likewise.
39094         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
39095         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
39096         (ctan_test_data): Likewise.
39097         (ctan_test): Use ALL_RM_TEST.
39098         (ctan_tonearest_test_data): Remove.
39099         (ctan_test_tonearest): Likewise.
39100         (ctan_towardzero_test_data): Likewise.
39101         (ctan_test_towardzero): Likewise.
39102         (ctan_downward_test_data): Likewise.
39103         (ctan_test_downward): Likewise.
39104         (ctan_upward_test_data): Likewise.
39105         (ctan_test_upward): Likewise.
39106         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
39107         (ctanh_test): Use ALL_RM_TEST.
39108         (ctanh_tonearest_test_data): Remove.
39109         (ctanh_test_tonearest): Likewise.
39110         (ctanh_towardzero_test_data): Likewise.
39111         (ctanh_test_towardzero): Likewise.
39112         (ctanh_downward_test_data): Likewise.
39113         (ctanh_test_downward): Likewise.
39114         (ctanh_upward_test_data): Likewise.
39115         (ctanh_test_upward): Likewise.
39116         (erf_test_data): Update call to AUTO_TESTS_f_f.
39117         (erfc_test_data): Likewise.
39118         (exp_test_data): Likewise.
39119         (exp_test): Use ALL_RM_TEST.
39120         (exp_tonearest_test_data): Remove.
39121         (exp_test_tonearest): Likewise.
39122         (exp_towardzero_test_data): Likewise.
39123         (exp_test_towardzero): Likewise.
39124         (exp_downward_test_data): Likewise.
39125         (exp_test_downward): Likewise.
39126         (exp_upward_test_data): Likewise.
39127         (exp_test_upward): Likewise.
39128         (exp10_test_data): Update call to AUTO_TESTS_f_f.
39129         (exp10_test): Use ALL_RM_TEST.
39130         (exp10_tonearest_test_data): Remove.
39131         (exp10_test_tonearest): Likewise.
39132         (exp10_towardzero_test_data): Likewise.
39133         (exp10_test_towardzero): Likewise.
39134         (exp10_downward_test_data): Likewise.
39135         (exp10_test_downward): Likewise.
39136         (exp10_upward_test_data): Likewise.
39137         (exp10_test_upward): Likewise.
39138         (exp2_test_data): Update call to AUTO_TESTS_f_f.
39139         (expm1_test_data): Likewise.
39140         (expm1_test): Use ALL_RM_TEST.
39141         (expm1_tonearest_test_data): Remove.
39142         (expm1_test_tonearest): Likewise.
39143         (expm1_towardzero_test_data): Likewise.
39144         (expm1_test_towardzero): Likewise.
39145         (expm1_downward_test_data): Likewise.
39146         (expm1_test_downward): Likewise.
39147         (expm1_upward_test_data): Likewise.
39148         (expm1_test_upward): Likewise.
39149         (fma_test_data): Update call to AUTO_TESTS_fff_f.
39150         (fma_test): Use ALL_RM_TEST.
39151         (fma_towardzero_test_data): Remove.
39152         (fma_test_towardzero): Likewise.
39153         (fma_downward_test_data): Likewise.
39154         (fma_test_downward): Likewise.
39155         (fma_upward_test_data): Likewise.
39156         (fma_test_upward): Likewise.
39157         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
39158         (j0_test_data): Update call to AUTO_TESTS_f_f.
39159         (j1_test_data): Likewise.
39160         (jn_test_data): Update call to AUTO_TESTS_if_f.
39161         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
39162         (log_test_data): Update call to AUTO_TESTS_f_f.
39163         (log10_test_data): Likewise.
39164         (log1p_test_data): Likewise.
39165         (log2_test_data): Likewise.
39166         (pow_test_data): Update call to AUTO_TESTS_ff_f.
39167         (pow_tonearest_test_data): Likewise.
39168         (sin_test_data): Update call to AUTO_TESTS_f_f.
39169         (sin_test): Use ALL_RM_TEST.
39170         (sin_tonearest_test_data): Remove.
39171         (sin_test_tonearest): Likewise.
39172         (sin_towardzero_test_data): Likewise.
39173         (sin_test_towardzero): Likewise.
39174         (sin_downward_test_data): Likewise.
39175         (sin_test_downward): Likewise.
39176         (sin_upward_test_data): Likewise.
39177         (sin_test_upward): Likewise.
39178         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
39179         (sinh_test_data): Update call to AUTO_TESTS_f_f.
39180         (sinh_test): Use ALL_RM_TEST.
39181         (sinh_tonearest_test_data): Remove.
39182         (sinh_test_tonearest): Likewise.
39183         (sinh_towardzero_test_data): Likewise.
39184         (sinh_test_towardzero): Likewise.
39185         (sinh_downward_test_data): Likewise.
39186         (sinh_test_downward): Likewise.
39187         (sinh_upward_test_data): Likewise.
39188         (sinh_test_upward): Likewise.
39189         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
39190         (sqrt_test): Use ALL_RM_TEST.
39191         (sqrt_tonearest_test_data): Remove.
39192         (sqrt_test_tonearest): Likewise.
39193         (sqrt_towardzero_test_data): Likewise.
39194         (sqrt_test_towardzero): Likewise.
39195         (sqrt_downward_test_data): Likewise.
39196         (sqrt_test_downward): Likewise.
39197         (sqrt_upward_test_data): Likewise.
39198         (sqrt_test_upward): Likewise.
39199         (tan_test_data): Update call to AUTO_TESTS_f_f.
39200         (tan_test): Use ALL_RM_TEST.
39201         (tan_tonearest_test_data): Remove.
39202         (tan_test_tonearest): Likewise.
39203         (tan_towardzero_test_data): Likewise.
39204         (tan_test_towardzero): Likewise.
39205         (tan_downward_test_data): Likewise.
39206         (tan_test_downward): Likewise.
39207         (tan_upward_test_data): Likewise.
39208         (tan_test_upward): Likewise.
39209         (tanh_test_data): Update call to AUTO_TESTS_f_f.
39210         (tgamma_test_data): Likewise.
39211         (y0_test_data): Likewise.
39212         (y1_test_data): Likewise.
39213         (yn_test_data): Update call to AUTO_TESTS_if_f.
39214         (main): Do not call removed functions.
39216 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39218         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
39219         (ldexp_test_data): Remove.
39220         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
39221         scalbn_test_data.
39222         (scalb_test): Use ALL_RM_TEST.
39224 2014-03-19  Andreas Schwab  <schwab@suse.de>
39226         * nscd/nscd.service: Also invalidate netgroup cache on reload.
39228 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39230         [BZ #16649]
39231         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39232         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
39233         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
39234         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39235         (__ASSUME_PREADV): Undefine.
39236         (__ASSUME_PWRITEV): Likewise.
39238 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39240         * bits/mman-linux.h: Add comment about non-Linux use.
39241         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
39242         bits/mman-linux.h resting place.
39244         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
39245         * bits/mman-linux.h: ... here.
39247 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39249         * conform/conformtest.pl: Add standard definition when calling C
39250         preprocessor on data files.
39251         (checknamespace): Remove unused variable.
39253 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39255         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
39256         minus_oflow, plus_uflow and minus_uflow in expected results.
39257         * math/libm-test.inc (scalbn_test_data): Add more tests of
39258         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
39259         minus_uflow.
39260         (scalbn_test): Use ALL_RM_TEST.
39261         (scalbln_test_data): Add more tests of negative arguments.  Use
39262         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
39263         (scalbln_test): Use ALL_RM_TEST.
39265 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39267         * scripts/abilist.awk: Ignore symbols marked with .hidden.
39269 2014-03-18  Will Newton  <will.newton@linaro.org>
39271         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
39272         inaccurate comment.
39274 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39276         * Makerules [!subdir] (check-abi): Exit with error status if a
39277         test failed.
39279 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39281         * math/libm-test.inc (nearbyint_test_data): Include all tests used
39282         for rint.  Include results for all rounding modes.
39283         (nearbyint_test): Use ALL_RM_TEST.
39284         (rint_test_data): Include all tests used for nearbyint.
39286 2014-03-17  Will Newton  <will.newton@linaro.org>
39288         * nptl/sysdeps/pthread/pthread.h: Revert previous
39289         change.
39291         * sysdeps/generic/ldsodefs.h: Revert previous
39292         change.
39294         * libio/genops.c: Revert previous change.
39295         * libio/libioP.h: Likewise.
39296         * stdio-common/vfprintf.c: Likewise.
39298         * sysdeps/generic/math_private.h: Revert previous
39299         change.
39301         * sysdeps/generic/math_private.h: Check whether
39302         HAVE_RM_CTX is defined with #ifdef rather
39303         than #if.
39305         * argp/argp-fmtstream.h: Check whether
39306         __STRICT_ANSI__ is defined with #ifdef rather
39307         than #if.
39308         * argp/argp.h: Likewise.
39310         * libio/genops.c: Check whether
39311         _IO_JUMPS_OFFSET is defined with #ifdef rather
39312         than #if.
39313         * libio/libioP.h: Likewise.
39314         * stdio-common/vfprintf.c: Likewise.
39316         * sysdeps/generic/ldsodefs.h: Check whether
39317         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
39318         than #if.
39320         * nptl/sysdeps/pthread/pthread.h: Check
39321         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
39322         its value.
39324 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39326         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
39327         setting O_APPEND.
39328         * libio/tst-ftell-active-handler.c (do_append_test): Add a
39329         test case.
39331         [BZ #16680]
39332         * libio/fileops.c (_IO_file_open): Seek to end of file but
39333         don't cache the offset.
39334         (get_file_offset): Remove function.
39335         (do_ftell): Use cached offset when available.
39336         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
39337         don't cache the offset.
39338         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
39339         case.
39340         (do_one_test): Call it.
39341         (do_ftell_test): Fix up expected old offset for a+ mode.
39342         * libio/wfileops.c (do_ftell_wide): Used cached offset when
39343         available.
39345         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
39346         up test status with function return status.
39347         (do_write_test): Likewise.
39348         (do_append_test): Likewise.
39350         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
39351         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
39352         Remove.
39354 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39356         * math/gen-libm-test.pl (parse_args): Handle results specified for
39357         each rounding mode separately.
39358         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
39359         tests and results from lrint_tonearest_test_data,
39360         lrint_towardzero_test_data, lrint_downward_test_data and
39361         lrint_upward_test_data.
39362         (lrint_test): Use ALL_RM_TEST.
39363         (lrint_tonearest_test_data): Remove.
39364         (lrint_test_tonearest): Likewise.
39365         (lrint_towardzero_test_data): Likewise.
39366         (lrint_test_towardzero): Likewise.
39367         (lrint_downward_test_data): Likewise.
39368         (lrint_test_downward): Likewise.
39369         (lrint_upward_test_data): Likewise.
39370         (lrint_test_upward): Likewise.
39371         (llrint_test_data): Merge in per-rounding-mode tests and results
39372         from llrint_tonearest_test_data, llrint_towardzero_test_data,
39373         llrint_downward_test_data and llrint_upward_test_data.
39374         (llrint_test): Use ALL_RM_TEST.
39375         (llrint_tonearest_test_data): Remove.
39376         (llrint_test_tonearest): Likewise.
39377         (llrint_towardzero_test_data): Likewise.
39378         (llrint_test_towardzero): Likewise.
39379         (llrint_downward_test_data): Likewise.
39380         (llrint_test_downward): Likewise.
39381         (llrint_upward_test_data): Likewise.
39382         (llrint_test_upward): Likewise.
39383         (rint_test_data): Merge in per-rounding-mode tests and results
39384         from rint_tonearest_test_data, rint_towardzero_test_data,
39385         rint_downward_test_data and rint_upward_test_data.  Add
39386         per-rounding-mode results for tests not in those arrays.
39387         (rint_test): Use ALL_RM_TEST.
39388         (rint_tonearest_test_data): Remove.
39389         (rint_test_tonearest): Likewise.
39390         (rint_towardzero_test_data): Likewise.
39391         (rint_test_towardzero): Likewise.
39392         (rint_downward_test_data): Likewise.
39393         (rint_test_downward): Likewise.
39394         (rint_upward_test_data): Likewise.
39395         (rint_test_upward): Likewise.
39396         (main): Don't call removed functions.
39398 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39400         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
39401         "Compiled on ..." crapola.  It is anti-useful.
39403 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
39405         * scripts/evaluate-test.sh: Handle fourth argument to determine
39406         whether test run should stop on failure.
39407         * Makeconfig (stop-on-test-failure): New variable.
39408         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
39409         $(stop-on-test-failure).
39410         * Makefile (tests): Give a summary of results from testing and
39411         exit with failure status if they include an ERROR or FAIL.
39412         (xtests): Likewise.
39413         * manual/install.texi (Configuring and compiling): Mention
39414         stop-on-test-failure=y.
39415         * INSTALL: Regenerated.
39417 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39419         * scripts/versionlist.awk: New file.
39420         * Makerules [$(build-shared) = yes]
39421         (postclean-generated): Add Versions.def, not Versions.def.v and
39422         Versions.def.v.i.
39423         ($(common-objpfx)Versions.def.v.i): Target removed.
39424         ($(common-objpfx)Versions.def): New target.
39425         ($(common-objpfx)Versions.all): Depend on that rather that
39426         $(common-objpfx)Versions.def.v.
39427         * Versions.def: File removed.
39429         * Makeconfig (+gccwarn): Add -Wundef.
39430         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
39431         a dl-sysdep.h breaking its contract.
39432         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
39433         * include/stackinfo.h: New file.
39434         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
39435         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
39436         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
39437         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
39438         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
39439         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
39440         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39441         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39442         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39443         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39444         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39445         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
39446         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39447         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39448         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39450 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39452         [BZ #16707]
39453         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
39454         implementation.
39455         * math/libm-test.inc (round_test_data): Add more tests.
39457         [BZ #16706]
39458         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
39459         implementation.
39460         * math/libm-test.inc (nearbyint_test_data): Add more tests.
39462         [BZ #16701]
39463         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
39464         implementation.
39465         * math/libm-test.inc (ceil_test_data): Add more tests.
39467         * math/libm-test.inc (trunc_test_data): Add more tests related to
39468         BZ#16414.
39470 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39472         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
39473         with #if rather than #ifdef.
39474         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
39476 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
39478         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
39479         first.  Disable AVX-512 GCC support if assembler doesn't support
39480         it.
39481         * sysdeps/x86_64/configure: Regenerated.
39483 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
39485         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
39486         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
39487         (__old_pthread_attr_setstack): Likewise.
39488         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
39489         [!_STACK_GROWS_DOWN]: Likewise.
39491 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
39493         * config.make.in (have-bash2): Delete.
39494         * configure.ac (libc_cv_have_bash2): Delete.
39495         * configure: Regenerate.
39496         * elf/Makefile (common-ldd-rewrite): Rename to ...
39497         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
39498         (sh-ldd-rewrite): Delete.
39499         (bash-ldd-rewrite): Delete.
39500         (have-bash2): Delete checks.
39501         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
39502         ldd-rewrite.
39504         * config.make.in (have-ksh): Delete.
39505         (KSH): Delete.
39506         * configure.ac (libc_cv_have_ksh): Delete.
39507         * configure: Regenerate.
39509         * elf/Makefile: Delete $(have-ksh) check.
39510         ($(objpfx)sotruss): Change KSH to BASH.
39511         * elf/sotruss.ksh: Rename to ...
39512         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
39513         function style to match POSIX.  Drop ksh vim mode setting.
39515         * manual/time.texi (Specifying the Time Zone with TZ): Change
39516         Tuesday to Thursday.
39518         * debug/tst-longjmp_chk2.c: Update header comment.
39519         (stackoverflow_handler): Add comment.  Call assert on pass value.
39521 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
39523         [BZ #16194]
39524         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
39525         (HAVE_AVX512_ASM_SUPPORT): Likewise.
39526         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
39527         (La_x86_64_vector): Add zmm.
39528         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
39529         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
39530         ($(objpfx)tst-audit10): New target.
39531         ($(objpfx)tst-audit10.out): Likewise.
39532         (tst-audit10-ENV): New.
39533         (AVX512-CFLAGS): Likewise.
39534         (CFLAGS-tst-audit10.c): Likewise.
39535         (CFLAGS-tst-auditmod10a.c): Likewise.
39536         (CFLAGS-tst-auditmod10b.c): Likewise.
39537         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
39538         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
39539         * sysdeps/x86_64/configure: Regenerated.
39540         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
39541         AVX-512 zmm register support.
39542         (_dl_x86_64_save_sse): Likewise.
39543         (_dl_x86_64_restore_sse): Likewise.
39544         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
39545         size vector registers.
39546         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
39547         (ZMM_SIZE): Likewise.
39548         * sysdeps/x86_64/tst-audit10.c: New file.
39549         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
39550         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
39552 2014-03-13  Roland McGrath  <roland@hack.frob.com>
39554         * configure.ac (HAVE_EHDR_START): New check.
39555         * configure: Regenerated.
39556         * config.h.in (HAVE_EHDR_START): New #undef.
39557         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
39558         assuming the lowest-addressed segment maps the start of the file.
39560 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
39562         * INSTALL: Regenerated.
39564 2014-03-13  Will Newton  <will.newton@linaro.org>
39566         * manual/setjmp.texi (System V contexts): Improve
39567         clarity and grammar of documentation.
39569 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
39571         [BZ #16381]
39572         * elf/Makefile (tests): Add tst-pie2.
39573         (tests-pie): Add tst-pie2.
39574         * elf/tst-pie2.c: New file.
39575         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
39576         for ET_EXEC.
39577         * elf/rtld.c (map_doit): Load executable as lt_executable.
39578         (dl_main): Likewise.
39580 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
39582         [BZ #16642]
39583         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39584         (__ASSUME_PSELECT): Undefine.
39586 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39588         [BZ #16689]
39589         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
39590         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
39591         static build.
39592         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
39593         selector for static builds.
39595 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39597         [BZ #16695]
39598         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
39599         key in the buffer.
39601 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39603         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
39604         IFUNC selector for static builds.
39606 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
39608         * sysdeps/mips/math_private.h [__mips_hard_float]
39609         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
39610         libc_feresetround_mips_ctx.
39611         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
39612         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
39613         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
39615         [BZ #16677]
39616         * math/s_nextafter.c (__nextafter): Do not return value from
39617         overflowing computation.
39618         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
39619         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
39620         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
39621         Likewise.
39622         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
39623         Likewise.
39624         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39625         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
39627 2014-03-11  Roland McGrath  <roland@hack.frob.com>
39629         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
39630         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
39631         Move sfi_sp use from the load-multiple (that no longer sets sp) to
39632         the new mov targetting sp.
39634 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39636         [BZ #16683]
39637         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
39638         Define it for static builds as well.
39639         (NO_BZERO_IMPL): Likewise.
39641 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39643         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
39644         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
39645         multiarch strspn for PPC64.
39646         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
39647         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
39648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39649         (__libc_ifunc_impl_list): Likewise.
39650         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
39651         multiarch optimizations
39652         * string/strspn.c (strspn): Using macro to redefine symbol name.
39654 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39655             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39657         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
39658         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
39659         multiarch strncat for PPC64.
39660         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
39661         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
39662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39663         (__libc_ifunc_impl_list): Likewise.
39664         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
39665         multiarch optimizations
39667 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39669         [BZ #16639]
39670         * nscd/nscd.service: Make service type forking.
39672 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39674         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
39675         sign in non default rounding modes.
39676         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
39678 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
39680         * math/libm-test.inc (ALL_RM_TEST): New macro.
39681         (ceil_test): Use ALL_RM_TEST.
39682         (cimag_test): Likewise.
39683         (conj_test): Likewise.
39684         (copysign_test): Likewise.
39685         (cproj_test): Likewise.
39686         (creal_test): Likewise.
39687         (fabs_test): Likewise.
39688         (floor_test): Likewise.
39689         (fmax_test): Likewise.
39690         (fmin_test): Likewise.
39691         (fmod_test): Likewise.
39692         (fpclassify_test): Likewise.
39693         (frexp_test): Likewise.
39694         (ilogb_test): Likewise.
39695         (isfinite_test): Likewise.
39696         (finite_test): Likewise.
39697         (isgreater_test): Likewise.
39698         (isgreaterequal_test): Likewise.
39699         (isinf_test): Likewise.
39700         (isless_test): Likewise.
39701         (islessequal_test): Likewise.
39702         (islessgreater_test): Likewise.
39703         (isnan_test): Likewise.
39704         (isnormal_test): Likewise.
39705         (issignaling_test): Likewise.
39706         (isunordered_test): Likewise.
39707         (logb_test): Likewise.
39708         (logb_downward_test_data): Remove.
39709         (logb_test_downward): Likewise.
39710         (lround_test): Use ALL_RM_TEST.
39711         (llround_test): Likewise.
39712         (modf_test): Likewise.
39713         (nexttoward_test): Likewise.
39714         (remainder_test): Likewise.
39715         (drem_test): Likewise.
39716         (remainder_tonearest_test_data): Likewise.
39717         (remainder_test_tonearest): Likewise.
39718         (drem_test_tonearest): Likewise.
39719         (remainder_towardzero_test_data): Likewise.
39720         (remainder_test_towardzero): Likewise.
39721         (drem_test_towardzero): Likewise.
39722         (remainder_downward_test_data): Likewise.
39723         (remainder_test_downward): Likewise.
39724         (drem_test_downward): Likewise.
39725         (remainder_upward_test_data): Likewise.
39726         (remainder_test_upward): Likewise.
39727         (drem_test_upward): Likewise.
39728         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
39729         (round_test): Use ALL_RM_TEST.
39730         (signbit_test): Likewise.
39731         (trunc_test): Likewise.
39732         (significand_test): Likewise.
39733         (main): Don't call removed functions.
39735 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39737         [BZ #16674]
39738         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
39739         || __USE_XOPEN2K8].
39740         (ILL_ILLOPN): Likewise.
39741         (ILL_ILLADR): Likewise.
39742         (ILL_ILLTRP): Likewise.
39743         (ILL_PRVOPC): Likewise.
39744         (ILL_PRVREG): Likewise.
39745         (ILL_COPROC): Likewise.
39746         (ILL_BADSTK): Likewise.
39747         (FPE_INTDIV): Likewise.
39748         (FPE_INTOVF): Likewise.
39749         (FPE_FLTDIV): Likewise.
39750         (FPE_FLTOVF): Likewise.
39751         (FPE_FLTUND): Likewise.
39752         (FPE_FLTRES): Likewise.
39753         (FPE_FLTINV): Likewise.
39754         (FPE_FLTSUB): Likewise.
39755         (SEGV_MAPERR): Likewise.
39756         (SEGV_ACCERR): Likewise.
39757         (BUS_ADRALN): Likewise.
39758         (BUS_ADRERR): Likewise.
39759         (BUS_OBJERR): Likewise.
39760         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39761         (TRAP_TRACE): Likewise.
39762         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39763         __USE_XOPEN2K8].
39764         (CLD_KILLED): Likewise.
39765         (CLD_DUMPED): Likewise.
39766         (CLD_TRAPPED): Likewise.
39767         (CLD_STOPPED): Likewise.
39768         (CLD_CONTINUED): Likewise.
39769         (POLL_IN): Likewise.
39770         (POLL_OUT): Likewise.
39771         (POLL_MSG): Likewise.
39772         (POLL_ERR): Likewise.
39773         (POLL_PRI): Likewise.
39774         (POLL_HUP): Likewise.
39775         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
39776         Likewise.
39777         (ILL_ILLOPN): Likewise.
39778         (ILL_ILLADR): Likewise.
39779         (ILL_ILLTRP): Likewise.
39780         (ILL_PRVOPC): Likewise.
39781         (ILL_PRVREG): Likewise.
39782         (ILL_COPROC): Likewise.
39783         (ILL_BADSTK): Likewise.
39784         (FPE_INTDIV): Likewise.
39785         (FPE_INTOVF): Likewise.
39786         (FPE_FLTDIV): Likewise.
39787         (FPE_FLTOVF): Likewise.
39788         (FPE_FLTUND): Likewise.
39789         (FPE_FLTRES): Likewise.
39790         (FPE_FLTINV): Likewise.
39791         (FPE_FLTSUB): Likewise.
39792         (SEGV_MAPERR): Likewise.
39793         (SEGV_ACCERR): Likewise.
39794         (BUS_ADRALN): Likewise.
39795         (BUS_ADRERR): Likewise.
39796         (BUS_OBJERR): Likewise.
39797         (BUS_MCEERR_AR): Likewise.
39798         (BUS_MCEERR_AO): Likewise.
39799         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39800         (TRAP_TRACE): Likewise.
39801         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39802         __USE_XOPEN2K8].
39803         (CLD_KILLED): Likewise.
39804         (CLD_DUMPED): Likewise.
39805         (CLD_TRAPPED): Likewise.
39806         (CLD_STOPPED): Likewise.
39807         (CLD_CONTINUED): Likewise.
39808         (POLL_IN): Likewise.
39809         (POLL_OUT): Likewise.
39810         (POLL_MSG): Likewise.
39811         (POLL_ERR): Likewise.
39812         (POLL_PRI): Likewise.
39813         (POLL_HUP): Likewise.
39814         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
39815         (ILL_ILLOPN): Likewise.
39816         (ILL_ILLADR): Likewise.
39817         (ILL_ILLTRP): Likewise.
39818         (ILL_PRVOPC): Likewise.
39819         (ILL_PRVREG): Likewise.
39820         (ILL_COPROC): Likewise.
39821         (ILL_BADSTK): Likewise.
39822         (FPE_INTDIV): Likewise.
39823         (FPE_INTOVF): Likewise.
39824         (FPE_FLTDIV): Likewise.
39825         (FPE_FLTOVF): Likewise.
39826         (FPE_FLTUND): Likewise.
39827         (FPE_FLTRES): Likewise.
39828         (FPE_FLTINV): Likewise.
39829         (FPE_FLTSUB): Likewise.
39830         (SEGV_MAPERR): Likewise.
39831         (SEGV_ACCERR): Likewise.
39832         (BUS_ADRALN): Likewise.
39833         (BUS_ADRERR): Likewise.
39834         (BUS_OBJERR): Likewise.
39835         (BUS_MCEERR_AR): Likewise.
39836         (BUS_MCEERR_AO): Likewise.
39837         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39838         (TRAP_TRACE): Likewise.
39839         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39840         __USE_XOPEN2K8].
39841         (CLD_KILLED): Likewise.
39842         (CLD_DUMPED): Likewise.
39843         (CLD_TRAPPED): Likewise.
39844         (CLD_STOPPED): Likewise.
39845         (CLD_CONTINUED): Likewise.
39846         (POLL_IN): Likewise.
39847         (POLL_OUT): Likewise.
39848         (POLL_MSG): Likewise.
39849         (POLL_ERR): Likewise.
39850         (POLL_PRI): Likewise.
39851         (POLL_HUP): Likewise.
39852         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
39853         Likewise.
39854         (ILL_ILLOPN): Likewise.
39855         (ILL_ILLADR): Likewise.
39856         (ILL_ILLTRP): Likewise.
39857         (ILL_PRVOPC): Likewise.
39858         (ILL_PRVREG): Likewise.
39859         (ILL_COPROC): Likewise.
39860         (ILL_BADSTK): Likewise.
39861         (ILL_BADIADDR): Likewise.
39862         (ILL_BREAK): Likewise.
39863         (FPE_INTDIV): Likewise.
39864         (FPE_INTOVF): Likewise.
39865         (FPE_FLTDIV): Likewise.
39866         (FPE_FLTOVF): Likewise.
39867         (FPE_FLTUND): Likewise.
39868         (FPE_FLTRES): Likewise.
39869         (FPE_FLTINV): Likewise.
39870         (FPE_FLTSUB): Likewise.
39871         (FPE_DECOVF): Likewise.
39872         (FPE_DECDIV): Likewise.
39873         (FPE_DECERR): Likewise.
39874         (FPE_INVASC): Likewise.
39875         (FPE_INVDEC): Likewise.
39876         (SEGV_MAPERR): Likewise.
39877         (SEGV_ACCERR): Likewise.
39878         (SEGV_PSTKOVF): Likewise.
39879         (BUS_ADRALN): Likewise.
39880         (BUS_ADRERR): Likewise.
39881         (BUS_OBJERR): Likewise.
39882         (BUS_MCEERR_AR): Likewise.
39883         (BUS_MCEERR_AO): Likewise.
39884         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39885         (TRAP_TRACE): Likewise.
39886         (TRAP_BRANCH): Likewise.
39887         (TRAP_HWBKPT): Likewise.
39888         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39889         __USE_XOPEN2K8].
39890         (CLD_KILLED): Likewise.
39891         (CLD_DUMPED): Likewise.
39892         (CLD_TRAPPED): Likewise.
39893         (CLD_STOPPED): Likewise.
39894         (CLD_CONTINUED): Likewise.
39895         (POLL_IN): Likewise.
39896         (POLL_OUT): Likewise.
39897         (POLL_MSG): Likewise.
39898         (POLL_ERR): Likewise.
39899         (POLL_PRI): Likewise.
39900         (POLL_HUP): Likewise.
39901         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
39902         (ILL_ILLOPN): Likewise.
39903         (ILL_ILLADR): Likewise.
39904         (ILL_ILLTRP): Likewise.
39905         (ILL_PRVOPC): Likewise.
39906         (ILL_PRVREG): Likewise.
39907         (ILL_COPROC): Likewise.
39908         (ILL_BADSTK): Likewise.
39909         (FPE_INTDIV): Likewise.
39910         (FPE_INTOVF): Likewise.
39911         (FPE_FLTDIV): Likewise.
39912         (FPE_FLTOVF): Likewise.
39913         (FPE_FLTUND): Likewise.
39914         (FPE_FLTRES): Likewise.
39915         (FPE_FLTINV): Likewise.
39916         (FPE_FLTSUB): Likewise.
39917         (SEGV_MAPERR): Likewise.
39918         (SEGV_ACCERR): Likewise.
39919         (BUS_ADRALN): Likewise.
39920         (BUS_ADRERR): Likewise.
39921         (BUS_OBJERR): Likewise.
39922         (BUS_MCEERR_AR): Likewise.
39923         (BUS_MCEERR_AO): Likewise.
39924         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39925         (TRAP_TRACE): Likewise.
39926         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39927         __USE_XOPEN2K8].
39928         (CLD_KILLED): Likewise.
39929         (CLD_DUMPED): Likewise.
39930         (CLD_TRAPPED): Likewise.
39931         (CLD_STOPPED): Likewise.
39932         (CLD_CONTINUED): Likewise.
39933         (POLL_IN): Likewise.
39934         (POLL_OUT): Likewise.
39935         (POLL_MSG): Likewise.
39936         (POLL_ERR): Likewise.
39937         (POLL_PRI): Likewise.
39938         (POLL_HUP): Likewise.
39939         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
39940         (ILL_ILLOPN): Likewise.
39941         (ILL_ILLADR): Likewise.
39942         (ILL_ILLTRP): Likewise.
39943         (ILL_PRVOPC): Likewise.
39944         (ILL_PRVREG): Likewise.
39945         (ILL_COPROC): Likewise.
39946         (ILL_BADSTK): Likewise.
39947         (FPE_INTDIV): Likewise.
39948         (FPE_INTOVF): Likewise.
39949         (FPE_FLTDIV): Likewise.
39950         (FPE_FLTOVF): Likewise.
39951         (FPE_FLTUND): Likewise.
39952         (FPE_FLTRES): Likewise.
39953         (FPE_FLTINV): Likewise.
39954         (FPE_FLTSUB): Likewise.
39955         (SEGV_MAPERR): Likewise.
39956         (SEGV_ACCERR): Likewise.
39957         (BUS_ADRALN): Likewise.
39958         (BUS_ADRERR): Likewise.
39959         (BUS_OBJERR): Likewise.
39960         (BUS_MCEERR_AR): Likewise.
39961         (BUS_MCEERR_AO): Likewise.
39962         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39963         (TRAP_TRACE): Likewise.
39964         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39965         __USE_XOPEN2K8].
39966         (CLD_KILLED): Likewise.
39967         (CLD_DUMPED): Likewise.
39968         (CLD_TRAPPED): Likewise.
39969         (CLD_STOPPED): Likewise.
39970         (CLD_CONTINUED): Likewise.
39971         (POLL_IN): Likewise.
39972         (POLL_OUT): Likewise.
39973         (POLL_MSG): Likewise.
39974         (POLL_ERR): Likewise.
39975         (POLL_PRI): Likewise.
39976         (POLL_HUP): Likewise.
39977         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
39978         (ILL_ILLOPN): Likewise.
39979         (ILL_ILLADR): Likewise.
39980         (ILL_ILLTRP): Likewise.
39981         (ILL_PRVOPC): Likewise.
39982         (ILL_PRVREG): Likewise.
39983         (ILL_COPROC): Likewise.
39984         (ILL_BADSTK): Likewise.
39985         (FPE_INTDIV): Likewise.
39986         (FPE_INTOVF): Likewise.
39987         (FPE_FLTDIV): Likewise.
39988         (FPE_FLTOVF): Likewise.
39989         (FPE_FLTUND): Likewise.
39990         (FPE_FLTRES): Likewise.
39991         (FPE_FLTINV): Likewise.
39992         (FPE_FLTSUB): Likewise.
39993         (SEGV_MAPERR): Likewise.
39994         (SEGV_ACCERR): Likewise.
39995         (BUS_ADRALN): Likewise.
39996         (BUS_ADRERR): Likewise.
39997         (BUS_OBJERR): Likewise.
39998         (BUS_MCEERR_AR): Likewise.
39999         (BUS_MCEERR_AO): Likewise.
40000         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40001         (TRAP_TRACE): Likewise.
40002         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40003         __USE_XOPEN2K8].
40004         (CLD_KILLED): Likewise.
40005         (CLD_DUMPED): Likewise.
40006         (CLD_TRAPPED): Likewise.
40007         (CLD_STOPPED): Likewise.
40008         (CLD_CONTINUED): Likewise.
40009         (POLL_IN): Likewise.
40010         (POLL_OUT): Likewise.
40011         (POLL_MSG): Likewise.
40012         (POLL_ERR): Likewise.
40013         (POLL_PRI): Likewise.
40014         (POLL_HUP): Likewise.
40015         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
40016         (ILL_ILLOPN): Likewise.
40017         (ILL_ILLADR): Likewise.
40018         (ILL_ILLTRP): Likewise.
40019         (ILL_PRVOPC): Likewise.
40020         (ILL_PRVREG): Likewise.
40021         (ILL_COPROC): Likewise.
40022         (ILL_BADSTK): Likewise.
40023         (ILL_DBLFLT): Likewise.
40024         (ILL_HARDWALL): Likewise.
40025         (FPE_INTDIV): Likewise.
40026         (FPE_INTOVF): Likewise.
40027         (FPE_FLTDIV): Likewise.
40028         (FPE_FLTOVF): Likewise.
40029         (FPE_FLTUND): Likewise.
40030         (FPE_FLTRES): Likewise.
40031         (FPE_FLTINV): Likewise.
40032         (FPE_FLTSUB): Likewise.
40033         (SEGV_MAPERR): Likewise.
40034         (SEGV_ACCERR): Likewise.
40035         (BUS_ADRALN): Likewise.
40036         (BUS_ADRERR): Likewise.
40037         (BUS_OBJERR): Likewise.
40038         (BUS_MCEERR_AR): Likewise.
40039         (BUS_MCEERR_AO): Likewise.
40040         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40041         (TRAP_TRACE): Likewise.
40042         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40043         __USE_XOPEN2K8].
40044         (CLD_KILLED): Likewise.
40045         (CLD_DUMPED): Likewise.
40046         (CLD_TRAPPED): Likewise.
40047         (CLD_STOPPED): Likewise.
40048         (CLD_CONTINUED): Likewise.
40049         (POLL_IN): Likewise.
40050         (POLL_OUT): Likewise.
40051         (POLL_MSG): Likewise.
40052         (POLL_ERR): Likewise.
40053         (POLL_PRI): Likewise.
40054         (POLL_HUP): Likewise.
40055         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
40056         (ILL_ILLOPN): Likewise.
40057         (ILL_ILLADR): Likewise.
40058         (ILL_ILLTRP): Likewise.
40059         (ILL_PRVOPC): Likewise.
40060         (ILL_PRVREG): Likewise.
40061         (ILL_COPROC): Likewise.
40062         (ILL_BADSTK): Likewise.
40063         (FPE_INTDIV): Likewise.
40064         (FPE_INTOVF): Likewise.
40065         (FPE_FLTDIV): Likewise.
40066         (FPE_FLTOVF): Likewise.
40067         (FPE_FLTUND): Likewise.
40068         (FPE_FLTRES): Likewise.
40069         (FPE_FLTINV): Likewise.
40070         (FPE_FLTSUB): Likewise.
40071         (SEGV_MAPERR): Likewise.
40072         (SEGV_ACCERR): Likewise.
40073         (BUS_ADRALN): Likewise.
40074         (BUS_ADRERR): Likewise.
40075         (BUS_OBJERR): Likewise.
40076         (BUS_MCEERR_AR): Likewise.
40077         (BUS_MCEERR_AO): Likewise.
40078         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40079         (TRAP_TRACE): Likewise.
40080         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40081         __USE_XOPEN2K8].
40082         (CLD_KILLED): Likewise.
40083         (CLD_DUMPED): Likewise.
40084         (CLD_TRAPPED): Likewise.
40085         (CLD_STOPPED): Likewise.
40086         (CLD_CONTINUED): Likewise.
40087         (POLL_IN): Likewise.
40088         (POLL_OUT): Likewise.
40089         (POLL_MSG): Likewise.
40090         (POLL_ERR): Likewise.
40091         (POLL_PRI): Likewise.
40092         (POLL_HUP): Likewise.
40093         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
40094         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40096         [BZ #16670]
40097         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
40098         before #include of <time.h>.
40099         [!__USE_XOPEN2K] (__need_timespec): Likewise.
40100         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
40101         (test-xfail-UNIX98/sched.h/conform): Likewise.
40103 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40105         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
40106         error absence of trapping exception support.
40107         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40109 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40111         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
40112         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
40113         * timezone/Makefile (testdata): Move definition above include of
40114         Rules.
40115         (test-zones): New variable.
40116         (tests-special): Add zone files.
40117         (build-testdata): Use $(evaluate-test).
40119         * elf/Makefile (tests-special): Rename tests to end with .out.
40120         ($(objpfx)noload-mem): Likewise.
40121         ($(objpfx)tst-leaks1-mem): Likewise.
40122         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
40123         * iconv/Makefile (xtests-special): Change test-iconvconfig to
40124         $(objpfx)test-iconvconfig.out.
40125         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
40126         set -e inside subshell and redirect output to file.
40127         * iconvdata/Makefile (generated): Rename tests to end with .out.
40128         Correct type.
40129         (tests-special): Rename tests to end with .out.
40130         ($(objpfx)mtrace-tst-loading): Likewise.
40131         * intl/Makefile (generated): Likewise.
40132         (tests-special): Likewise.
40133         ($(objpfx)mtrace-tst-gettext): Likewise.
40134         * misc/Makefile (generated): Likewise.
40135         (tests-special): Likewise.
40136         ($(objpfx)tst-error1-mem): Likewise.
40137         * nptl/Makefile (tests-special): Likewise.
40138         ($(objpfx)tst-stack3-mem): Likewise.
40139         (generated): Likewise.
40140         * posix/Makefile (generated): Likewise.
40141         (tests-special): Likewise.
40142         (xtests-special): Likewise.
40143         ($(objpfx)tst-fnmatch-mem): Likewise.
40144         ($(objpfx)bug-regex2-mem): Likewise.
40145         ($(objpfx)bug-regex14-mem): Likewise.
40146         ($(objpfx)bug-regex21-mem): Likewise.
40147         ($(objpfx)bug-regex31-mem): Likewise.
40148         ($(objpfx)tst-vfork3-mem): Likewise.
40149         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40150         ($(objpfx)tst-pcre-mem): Likewise.
40151         ($(objpfx)tst-boost-mem): Likewise.
40152         ($(objpfx)bug-ga2-mem): Likewise.
40153         ($(objpfx)bug-glob2-mem): Likewise.
40154         * resolv/Makefile (generate): Likewise.
40155         (tests-special): Likewise.
40156         (xtests-special): Likewise.
40157         (generated): Likewise.
40158         ($(objpfx)mtrace-tst-leaks): Likewise.
40159         ($(objpfx)mtrace-tst-leaks2): Likewise.
40161         * scripts/merge-test-results.sh: New file.
40162         * Makefile (tests-special-notdir): New variable.
40163         (tests): Run merge-test-results.sh.
40164         (xtests): Likewise.
40165         * Rules (tests-special-notdir): New variable.
40166         (xtests-special-notdir): Likewise.
40167         (tests): Run merge-test-results.sh
40168         (xtests): Likewise.
40170         * Makeconfig (test-xfail-name): New variable.
40171         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
40172         compute variable name for expected failures.
40173         * conform/Makefile (conformtest-headers-data): New variable.
40174         (conformtest-standards): Likewise.
40175         (conformtest-headers-ISO): Likewise.
40176         (conformtest-headers-ISO99): Likewise.
40177         (conformtest-headers-ISO11): Likewise.
40178         (conformtest-headers-POSIX): Likewise.
40179         (conformtest-headers-XPG3): Likewise.
40180         (conformtest-headers-XPG4): Likewise.
40181         (conformtest-headers-UNIX98): Likewise.
40182         (conformtest-headers-XOPEN2K): Likewise.
40183         (conformtest-headers-POSIX2008): Likewise.
40184         (conformtest-headers-XOPEN2K8): Likewise.
40185         (conformtest-header-list-base): Likewise.
40186         (conformtest-header-list-tests): Likewise.
40187         (conformtest-header-base): Likewise.
40188         (conformtest-header-tests): Likewise.
40189         (tests-special): Add $(conformtest-header-list-tests).  If
40190         [$(fast-check) && !$(cross-compiling)], add
40191         $(conformtest-header-tests) instead of
40192         $(objpfx)run-conformtest.out.
40193         (generated): Add $(conformtest-header-list-base).  If
40194         [$(fast-check) && !$(cross-compiling)], add
40195         $(conformtest-header-base).  Remove previous setting.
40196         ($(conformtest-header-list-tests)): New target.
40197         (test-xfail-run-conformtest): Remove variable.
40198         ($(objpfx)run-conformtest.out): Remove target.
40199         (test-xfail-ISO11/complex.h/conform): New variable.
40200         (test-xfail-ISO11/stdalign.h/conform): Likewise.
40201         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
40202         (test-xfail-XPG3/varargs.h/conform): Likewise.
40203         (test-xfail-XPG4/varargs.h/conform): Likewise.
40204         (test-xfail-UNIX98/varargs.h/conform): Likewise.
40205         (test-xfail-XPG4/ndbm.h/conform): Likewise.
40206         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
40207         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
40208         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
40209         (test-xfail-XPG3/fcntl.h/conform): Likewise.
40210         (test-xfail-XPG3/ftw.h/conform): Likewise.
40211         (test-xfail-XPG3/grp.h/conform): Likewise.
40212         (test-xfail-XPG3/langinfo.h/conform): Likewise.
40213         (test-xfail-XPG3/limits.h/conform): Likewise.
40214         (test-xfail-XPG3/pwd.h/conform): Likewise.
40215         (test-xfail-XPG3/search.h/conform): Likewise.
40216         (test-xfail-XPG3/signal.h/conform): Likewise.
40217         (test-xfail-XPG3/stdio.h/conform): Likewise.
40218         (test-xfail-XPG3/stdlib.h/conform): Likewise.
40219         (test-xfail-XPG3/string.h/conform): Likewise.
40220         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
40221         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
40222         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
40223         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
40224         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
40225         (test-xfail-XPG3/sys/types.h/conform): Likewise.
40226         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
40227         (test-xfail-XPG3/termios.h/conform): Likewise.
40228         (test-xfail-XPG3/time.h/conform): Likewise.
40229         (test-xfail-XPG3/unistd.h/conform): Likewise.
40230         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
40231         (test-xfail-XPG4/fcntl.h/conform): Likewise.
40232         (test-xfail-XPG4/langinfo.h/conform): Likewise.
40233         (test-xfail-XPG4/netdb.h/conform): Likewise.
40234         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
40235         (test-xfail-XPG4/signal.h/conform): Likewise.
40236         (test-xfail-XPG4/stdio.h/conform): Likewise.
40237         (test-xfail-XPG4/stdlib.h/conform): Likewise.
40238         (test-xfail-XPG4/stropts.h/conform): Likewise.
40239         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
40240         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
40241         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
40242         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
40243         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
40244         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
40245         (test-xfail-XPG4/sys/time.h/conform): Likewise.
40246         (test-xfail-XPG4/sys/types.h/conform): Likewise.
40247         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
40248         (test-xfail-XPG4/termios.h/conform): Likewise.
40249         (test-xfail-XPG4/ucontext.h/conform): Likewise.
40250         (test-xfail-XPG4/unistd.h/conform): Likewise.
40251         (test-xfail-XPG4/utmpx.h/conform): Likewise.
40252         (test-xfail-POSIX/sched.h/conform): Likewise.
40253         (test-xfail-POSIX/signal.h/conform): Likewise.
40254         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40255         (test-xfail-POSIX/tar.h/conform): Likewise.
40256         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
40257         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
40258         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
40259         (test-xfail-UNIX98/netdb.h/conform): Likewise.
40260         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
40261         (test-xfail-UNIX98/sched.h/conform): Likewise.
40262         (test-xfail-UNIX98/signal.h/conform): Likewise.
40263         (test-xfail-UNIX98/stdio.h/conform): Likewise.
40264         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
40265         (test-xfail-UNIX98/stropts.h/conform): Likewise.
40266         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
40267         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
40268         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
40269         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
40270         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
40271         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
40272         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
40273         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
40274         (test-xfail-UNIX98/unistd.h/conform): Likewise.
40275         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
40276         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
40277         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
40278         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
40279         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
40280         (test-xfail-XOPEN2K/math.h/conform): Likewise.
40281         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
40282         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
40283         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
40284         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
40285         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
40286         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
40287         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
40288         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
40289         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
40290         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
40291         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
40292         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
40293         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
40294         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
40295         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
40296         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
40297         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
40298         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
40299         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
40300         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
40301         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
40302         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
40303         (test-xfail-POSIX2008/signal.h/conform): Likewise.
40304         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
40305         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
40306         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
40307         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
40308         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
40309         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
40310         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
40311         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
40312         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
40313         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
40314         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
40315         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
40316         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
40317         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
40318         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
40319         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
40320         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
40321         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
40322         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
40323         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
40324         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
40325         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
40326         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
40327         (conformtest-cc-flags): Likewise.
40328         ($(conformtest-header-tests): New target.
40329         * conform/check-header-lists.sh: New file.
40330         * conform/run-conformtest.sh: Remove.
40332         * conform/conformtest.pl: Allow ' and \ in values given for
40333         constants.
40334         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
40335         inclusion.
40336         [POSIX] (sys/types.h): Likewise.
40337         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
40338         inclusion.
40339         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
40340         inclusion.
40341         * conform/data/signal.h-data (SIGIO): Remove expectation.
40342         [XPG3] (SIGBUS): Do not expect.
40343         [POSIX || XPG3] (SIGPOLL): Likewise.
40344         [POSIX || XPG3] (SIGPROF): Likewise.
40345         [POSIX || XPG3] (SIGSYS): Likewise.
40346         [XPG3] (SIGTRAP): Likewise.
40347         [POSIX || XPG3] (SIGURG): Likewise.
40348         [POSIX || XPG3] (SIGVTALRM): Likewise.
40349         [POSIX || XPG3] (SIGXCPU): Likewise.
40350         [POSIX || XPG3] (SIGXFSZ): Likewise.
40351         [POSIX] (SA_SIGINFO): Expect.
40352         [XPG3] (siginfo_t): Do not expect type or contents.
40353         [POSIX] (si_pid): Do not expect element.
40354         [POSIX] (si_uid): Likewise.
40355         [POSIX] (si_addr): Likewise.
40356         [POSIX] (si_status): Likewise.
40357         [POSIX] (si_band): Likewise.
40358         [XPG4] (si_value): Likewise.
40359         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
40360         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
40361         [POSIX || XPG3] (ILL_ILLADR): Likewise.
40362         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
40363         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
40364         [POSIX || XPG3] (ILL_PRVREG): Likewise.
40365         [POSIX || XPG3] (ILL_COPROC): Likewise.
40366         [POSIX || XPG3] (ILL_BADSTK): Likewise.
40367         [POSIX || XPG3] (FPE_INTDIV): Likewise.
40368         [POSIX || XPG3] (FPE_INTOVF): Likewise.
40369         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
40370         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
40371         [POSIX || XPG3] (FPE_FLTUND): Likewise.
40372         [POSIX || XPG3] (FPE_FLTRES): Likewise.
40373         [POSIX || XPG3] (FPE_FLTINV): Likewise.
40374         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
40375         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
40376         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
40377         [POSIX || XPG3] (BUS_ADRALN): Likewise.
40378         [POSIX || XPG3] (BUS_ADRERR): Likewise.
40379         [POSIX || XPG3] (BUS_OBJERR): Likewise.
40380         [POSIX || XPG3] (CLD_EXITED): Likewise.
40381         [POSIX || XPG3] (CLD_KILLED): Likewise.
40382         [POSIX || XPG3] (CLD_DUMPED): Likewise.
40383         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
40384         [POSIX || XPG3] (CLD_STOPPED): Likewise.
40385         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
40386         [POSIX || XPG3] (POLL_IN): Likewise.
40387         [POSIX || XPG3] (POLL_OUT): Likewise.
40388         [POSIX || XPG3] (POLL_MSG): Likewise.
40389         [POSIX || XPG3] (POLL_ERR): Likewise.
40390         [POSIX || XPG3] (POLL_PRI): Likewise.
40391         [POSIX || XPG3] (POLL_HUP): Likewise.
40392         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
40393         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
40394         (SIG*): Do not allow.
40395         [XPG3] (si_*): Likewise.
40396         [XPG3] (SI_*): Likewise.
40397         [XPG3 || XPG4] (sigev_*): Likewise.
40398         [XPG3 || XPG4] (SIGEV_*): Likewise.
40399         [XPG3 || XPG4] (sival_*): Likewise.
40400         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
40401         [POSIX || XPG3] (BUS_*): Likewise.
40402         [POSIX || XPG3] (CLD_*): Likewise.
40403         [POSIX || XPG3] (FPE_*): Likewise.
40404         [POSIX || XPG3] (ILL_*): Likewise.
40405         [POSIX || XPG3] (POLL_*): Likewise.
40406         [POSIX || XPG3] (SEGV_*): Likewise.
40407         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
40408         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
40409         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
40410         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
40411         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
40412         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
40413         Specify type and value.
40414         (TVERSLEN): Likewise.
40415         (REGTYPE): Likewise.
40416         (AREGTYPE): Likewise.
40417         (LNKTYPE): Likewise.
40418         (SYMTYPE): Likewise.
40419         (CHRTYPE): Likewise.
40420         (BLKTYPE): Likewise.
40421         (DIRTYPE): Likewise.
40422         (FIFOTYPE): Likewise.
40423         (CONTTYPE): Likewise.
40424         (TSUID): Likewise.
40425         (TSGID): Likewise.
40426         (TSVTX): Likewise.
40427         (TUREAD): Likewise.
40428         (TUWRITE): Likewise.
40429         (TUEXEC): Likewise.
40430         (TGREAD): Likewise.
40431         (TGWRITE): Likewise.
40432         (TGEXEC): Likewise.
40433         (TOREAD): Likewise.
40434         (TOWRITE): Likewise.
40435         (TOEXEC): Likewise.
40436         [POSIX] (TSVTX): Expect constant.
40438 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
40440         * Makefile (tests): Change dependencies to ....
40441         (tests-special): ... additions to this variable.
40442         (tests): Depend on $(tests-special).
40443         * Makerules (check-abi-list): New variable.
40444         (check-abi): Depend on $(check-abi-list).
40445         [$(subdir) = elf] (tests-special): Add
40446         $(objpfx)check-abi-libc.out.
40447         [$(build-shared) = yes && subdir] (tests-special): Add
40448         $(check-abi-list).
40449         [$(build-shared) = yes && subdir] (tests): Do not depend on
40450         check-abi.
40451         * Rules (tests): Depend on $(tests-special).
40452         (xtests): Depend on $(xtests-special).
40453         * catgets/Makefile (tests): Change dependencies to ....
40454         (tests-special): ... additions to this variable.
40455         * conform/Makefile (tests): Change dependencies to ....
40456         (tests-special): ... additions to this variable.
40457         * elf/Makefile (tests): Change dependencies to ....
40458         (tests-special): ... additions to this variable.
40459         * grp/Makefile (tests): Change dependencies to ....
40460         (tests-special): ... additions to this variable.
40461         * iconv/Makefile (xtests): Change dependencies to ....
40462         (xtests-special): ... additions to this variable.
40463         * iconvdata/Makefile (tests): Change dependencies to ....
40464         (tests-special): ... additions to this variable.
40465         * intl/Makefile (tests): Change dependencies to ....
40466         (tests-special): ... additions to this variable.  Also add
40467         $(objpfx)tst-gettext.out.
40468         * io/Makefile (tests): Change dependencies to ....
40469         (tests-special): ... additions to this variable.
40470         * libio/Makefile (tests): Change dependencies to ....
40471         (tests-special): ... additions to this variable.
40472         * malloc/Makefile (tests): Change dependencies to ....
40473         (tests-special): ... additions to this variable.
40474         * misc/Makefile (tests): Change dependencies to ....
40475         (tests-special): ... additions to this variable.
40476         * nptl/Makefile (tests): Change dependencies to ....
40477         (tests-special): ... additions to this variable.
40478         * nptl_db/Makefile (tests): Change dependencies to ....
40479         (tests-special): ... additions to this variable.
40480         * posix/Makefile (tests): Change dependencies to ....
40481         (tests-special): ... additions to this variable.
40482         (xtests): Change dependencies to ....
40483         (xtests-special): ... additions to this variable.
40484         * resolv/Makefile (tests): Change dependencies to ....
40485         (tests-special): ... additions to this variable.
40486         (xtests): Change dependencies to ....
40487         (xtests-special): ... additions to this variable.
40488         * stdio-common/Makefile (tests): Change dependencies to ....
40489         (tests-special): ... additions to this variable.
40490         (do-tst-unbputc): Remove target.
40491         (do-tst-printf): Likewise.
40492         * stdlib/Makefile (tests): Change dependencies to ....
40493         (tests-special): ... additions to this variable.
40494         * string/Makefile (tests): Change dependencies to ....
40495         (tests-special): ... additions to this variable.
40496         * sysdeps/x86/Makefile (tests): Change dependencies to ....
40497         (tests-special): ... additions to this variable.
40499         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
40500         whole file.
40501         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
40502         whole file.
40503         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
40504         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
40506         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
40507         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
40508         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
40509         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
40510         * conform/data/libgen.h-data [XPG3]: Likewise.
40511         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
40512         * conform/data/ndbm.h-data [XPG3]: Likewise.
40513         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40514         * conform/data/netdb.h-data [XPG3]: Likewise.
40515         * conform/data/netinet/in.h-data [XPG3]: Likewise.
40516         * conform/data/poll.h-data [XPG3]: Likewise.
40517         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40518         * conform/data/strings.h-data [XPG3]: Likewise.
40519         * conform/data/stropts.h-data [XPG3]: Likewise.
40520         * conform/data/sys/mman.h-data [XPG3]: Likewise.
40521         * conform/data/sys/resource.h-data [XPG3]: Likewise.
40522         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
40523         Likewise.
40524         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
40525         * conform/data/sys/time.h-data [XPG3]: Likewise.
40526         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
40527         * conform/data/sys/uio.h-data [XPG3]: Likewise.
40528         * conform/data/sys/un.h-data [XPG3]: Likewise.
40529         * conform/data/syslog.h-data [XPG3]: Likewise.
40530         * conform/data/ucontext.h-data [XPG3]: Likewise.
40531         * conform/data/utmpx.h-data [XPG3]: Likewise.
40532         * conform/data/varargs.h-data [UNIX98]: Enable file.
40534         * manual/Makefile (INSTALL_INFO): Remove variable setting.
40536         * math/libm-test.inc (struct test_f_f_data): Move expected results
40537         into structure for each rounding mode.
40538         (struct test_ff_f_data): Likewise.
40539         (struct test_ff_f_data_nexttoward): Likewise.
40540         (struct test_fi_f_data): Likewise.
40541         (struct test_fl_f_data): Likewise.
40542         (struct test_if_f_data): Likewise.
40543         (struct test_fff_f_data): Likewise.
40544         (struct test_c_f_data): Likewise.
40545         (struct test_f_f1_data): Likewise.
40546         (struct test_fF_f1_data): Likewise.
40547         (struct test_ffI_f1_data): Likewise.
40548         (struct test_c_c_data): Likewise.
40549         (struct test_cc_c_data): Likewise.
40550         (struct test_f_i_data): Likewise.
40551         (struct test_ff_i_data): Likewise.
40552         (struct test_f_l_data): Likewise.
40553         (struct test_f_L_data): Likewise.
40554         (struct test_fFF_11_data): Likewise.
40555         (RM_): New macro.
40556         (RM_FE_DOWNWARD): Likewise.
40557         (RM_FE_TONEAREST): Likewise.
40558         (RM_FE_TOWARDZERO): Likewise.
40559         (RM_FE_UPWARD): Likewise.
40560         (RUN_TEST_LOOP_f_f): Update references to expected results.
40561         (RUN_TEST_LOOP_2_f): Likewise.
40562         (RUN_TEST_LOOP_fff_f): Likewise.
40563         (RUN_TEST_LOOP_c_f): Likewise.
40564         (RUN_TEST_LOOP_f_f1): Likewise.
40565         (RUN_TEST_LOOP_fF_f1): Likewise.
40566         (RUN_TEST_LOOP_fI_f1): Likewise.
40567         (RUN_TEST_LOOP_ffI_f1): Likewise.
40568         (RUN_TEST_LOOP_c_c): Likewise.
40569         (RUN_TEST_LOOP_cc_c): Likewise.
40570         (RUN_TEST_LOOP_f_i): Likewise.
40571         (RUN_TEST_LOOP_f_i_tg): Likewise.
40572         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40573         (RUN_TEST_LOOP_f_b): Likewise.
40574         (RUN_TEST_LOOP_f_b_tg): Likewise.
40575         (RUN_TEST_LOOP_f_l): Likewise.
40576         (RUN_TEST_LOOP_f_L): Likewise.
40577         (RUN_TEST_LOOP_fFF_11): Likewise.
40578         * math/gen-libm-test.pl (parse_args): Output four copies of
40579         expected results for each test.
40581         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40582         (__ASSUME_UTIMES): Remove.
40583         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40584         (__ASSUME_UTIMES): Likewise.
40586         * math/gen-auto-libm-tests.c: Update comment on output format.
40587         (output_for_one_input_case): Generate before-rounding and
40588         after-rounding information as conditions on output flags not
40589         floating-point format.
40590         * math/auto-libm-test-out: Regenerated.
40591         * math/gen-libm-test.pl (cond_value): New function.
40592         (or_cond_value): Use cond_value.
40593         (generate_testfile): Handle conditional exceptions.
40595 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
40597         * math/libm-test.inc (max_valid_error): New variable.
40598         (init_max_error): Take new argument specifying whether function
40599         results are exactly determined.  Set max_valid_error and bound
40600         other variables for errors based on this argument.
40601         (set_max_error): Do not record results above max_valid_error.
40602         (check_float_internal): Only accept errors of up to 0.5ulps if
40603         also at most max_valid_error.
40604         (START): Take new argument EXACT and pass it to init_max_error.
40605         (acos_test): Update call to START.
40606         (acos_test_tonearest): Likewise.
40607         (acos_test_towardzero): Likewise.
40608         (acos_test_downward): Likewise.
40609         (acos_test_upward): Likewise.
40610         (acosh_test): Likewise.
40611         (asin_test): Likewise.
40612         (asin_test_tonearest): Likewise.
40613         (asin_test_towardzero): Likewise.
40614         (asin_test_downward): Likewise.
40615         (asin_test_upward): Likewise.
40616         (asinh_test): Likewise.
40617         (atan_test): Likewise.
40618         (atanh_test): Likewise.
40619         (atan2_test): Likewise.
40620         (cabs_test): Likewise.
40621         (cacos_test): Likewise.
40622         (cacosh_test): Likewise.
40623         (carg_test): Likewise.
40624         (casin_test): Likewise.
40625         (casinh_test): Likewise.
40626         (catan_test): Likewise.
40627         (catanh_test): Likewise.
40628         (cbrt_test): Likewise.
40629         (ccos_test): Likewise.
40630         (ccosh_test): Likewise.
40631         (ceil_test): Likewise.
40632         (cexp_test): Likewise.
40633         (cimag_test): Likewise.
40634         (clog_test): Likewise.
40635         (clog10_test): Likewise.
40636         (conj_test): Likewise.
40637         (copysign_test): Likewise.
40638         (cos_test): Likewise.
40639         (cos_test_tonearest): Likewise.
40640         (cos_test_towardzero): Likewise.
40641         (cos_test_downward): Likewise.
40642         (cos_test_upward): Likewise.
40643         (cosh_test): Likewise.
40644         (cosh_test_tonearest): Likewise.
40645         (cosh_test_towardzero): Likewise.
40646         (cosh_test_downward): Likewise.
40647         (cosh_test_upward): Likewise.
40648         (cpow_test): Likewise.
40649         (cproj_test): Likewise.
40650         (creal_test): Likewise.
40651         (csin_test): Likewise.
40652         (csinh_test): Likewise.
40653         (csqrt_test): Likewise.
40654         (ctan_test): Likewise.
40655         (ctan_test_tonearest): Likewise.
40656         (ctan_test_towardzero): Likewise.
40657         (ctan_test_downward): Likewise.
40658         (ctan_test_upward): Likewise.
40659         (ctanh_test): Likewise.
40660         (ctanh_test_tonearest): Likewise.
40661         (ctanh_test_towardzero): Likewise.
40662         (ctanh_test_downward): Likewise.
40663         (ctanh_test_upward): Likewise.
40664         (erf_test): Likewise.
40665         (erfc_test): Likewise.
40666         (exp_test): Likewise.
40667         (exp_test_tonearest): Likewise.
40668         (exp_test_towardzero): Likewise.
40669         (exp_test_downward): Likewise.
40670         (exp_test_upward): Likewise.
40671         (exp10_test): Likewise.
40672         (exp10_test_tonearest): Likewise.
40673         (exp10_test_towardzero): Likewise.
40674         (exp10_test_downward): Likewise.
40675         (exp10_test_upward): Likewise.
40676         (pow10_test): Likewise.
40677         (exp2_test): Likewise.
40678         (expm1_test): Likewise.
40679         (expm1_test_tonearest): Likewise.
40680         (expm1_test_towardzero): Likewise.
40681         (expm1_test_downward): Likewise.
40682         (expm1_test_upward): Likewise.
40683         (fabs_test): Likewise.
40684         (fdim_test): Likewise.
40685         (floor_test): Likewise.
40686         (fma_test): Likewise.
40687         (fma_test_towardzero): Likewise.
40688         (fma_test_downward): Likewise.
40689         (fma_test_upward): Likewise.
40690         (fmax_test): Likewise.
40691         (fmin_test): Likewise.
40692         (fmod_test): Likewise.
40693         (fpclassify_test): Likewise.
40694         (frexp_test): Likewise.
40695         (hypot_test): Likewise.
40696         (ilogb_test): Likewise.
40697         (isfinite_test): Likewise.
40698         (finite_test): Likewise.
40699         (isgreater_test): Likewise.
40700         (isgreaterequal_test): Likewise.
40701         (isinf_test): Likewise.
40702         (isless_test): Likewise.
40703         (islessequal_test): Likewise.
40704         (islessgreater_test): Likewise.
40705         (isnan_test): Likewise.
40706         (isnormal_test): Likewise.
40707         (issignaling_test): Likewise.
40708         (isunordered_test): Likewise.
40709         (j0_test): Likewise.
40710         (j1_test): Likewise.
40711         (jn_test): Likewise.
40712         (ldexp_test): Likewise.
40713         (lgamma_test): Likewise.
40714         (gamma_test): Likewise.
40715         (lrint_test): Likewise.
40716         (lrint_test_tonearest): Likewise.
40717         (lrint_test_towardzero): Likewise.
40718         (lrint_test_downward): Likewise.
40719         (lrint_test_upward): Likewise.
40720         (llrint_test): Likewise.
40721         (llrint_test_tonearest): Likewise.
40722         (llrint_test_towardzero): Likewise.
40723         (llrint_test_downward): Likewise.
40724         (llrint_test_upward): Likewise.
40725         (log_test): Likewise.
40726         (log10_test): Likewise.
40727         (log1p_test): Likewise.
40728         (log2_test): Likewise.
40729         (logb_test): Likewise.
40730         (logb_test_downward): Likewise.
40731         (lround_test): Likewise.
40732         (llround_test): Likewise.
40733         (modf_test): Likewise.
40734         (nearbyint_test): Likewise.
40735         (nextafter_test): Likewise.
40736         (nexttoward_test): Likewise.
40737         (pow_test): Likewise.
40738         (pow_test_tonearest): Likewise.
40739         (pow_test_towardzero): Likewise.
40740         (pow_test_downward): Likewise.
40741         (pow_test_upward): Likewise.
40742         (remainder_test): Likewise.
40743         (drem_test): Likewise.
40744         (remainder_test_tonearest): Likewise.
40745         (drem_test_tonearest): Likewise.
40746         (remainder_test_towardzero): Likewise.
40747         (drem_test_towardzero): Likewise.
40748         (remainder_test_downward): Likewise.
40749         (drem_test_downward): Likewise.
40750         (remainder_test_upward): Likewise.
40751         (drem_test_upward): Likewise.
40752         (remquo_test): Likewise.
40753         (rint_test): Likewise.
40754         (rint_test_tonearest): Likewise.
40755         (rint_test_towardzero): Likewise.
40756         (rint_test_downward): Likewise.
40757         (rint_test_upward): Likewise.
40758         (round_test): Likewise.
40759         (scalb_test): Likewise.
40760         (scalbn_test): Likewise.
40761         (scalbln_test): Likewise.
40762         (signbit_test): Likewise.
40763         (sin_test): Likewise.
40764         (sin_test_tonearest): Likewise.
40765         (sin_test_towardzero): Likewise.
40766         (sin_test_downward): Likewise.
40767         (sin_test_upward): Likewise.
40768         (sincos_test): Likewise.
40769         (sinh_test): Likewise.
40770         (sinh_test_tonearest): Likewise.
40771         (sinh_test_towardzero): Likewise.
40772         (sinh_test_downward): Likewise.
40773         (sinh_test_upward): Likewise.
40774         (sqrt_test): Likewise.
40775         (sqrt_test_tonearest): Likewise.
40776         (sqrt_test_towardzero): Likewise.
40777         (sqrt_test_downward): Likewise.
40778         (sqrt_test_upward): Likewise.
40779         (tan_test): Likewise.
40780         (tan_test_tonearest): Likewise.
40781         (tan_test_towardzero): Likewise.
40782         (tan_test_downward): Likewise.
40783         (tan_test_upward): Likewise.
40784         (tanh_test): Likewise.
40785         (tgamma_test): Likewise.
40786         (trunc_test): Likewise.
40787         (y0_test): Likewise.
40788         (y1_test): Likewise.
40789         (yn_test): Likewise.
40790         (significand_test): Likewise.
40792         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
40793         individual tests in comment.
40794         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
40795         (prev_max_error): New variable.
40796         (prev_real_max_error): Likewise.
40797         (prev_imag_max_error): Likewise.
40798         (compare_ulp_data): Don't refer to test names in comment.
40799         (find_test_ulps): Remove function.
40800         (find_function_ulps): Likewise.
40801         (find_complex_function_ulps): Likewise.
40802         (init_max_error): Take function name as argument.  Look up ulps
40803         for that function.
40804         (print_ulps): Remove function.
40805         (print_max_error): Use prev_max_error instead of calling
40806         find_function_ulps.
40807         (print_complex_max_error): Use prev_real_max_error and
40808         prev_imag_max_error instead of calling find_complex_function_ulps.
40809         (check_float_internal): Take max_ulp parameter instead of calling
40810         find_test_ulps.  Don't call print_ulps.
40811         (check_float): Update call to check_float_internal.
40812         (check_complex): Update calls to check_float_internal.
40813         (START): Pass argument to init_max_error.
40814         * math/gen-libm-test.pl (%results): Don't include "kind"
40815         information.
40816         (parse_ulps): Don't handle ulps of individual tests.
40817         (print_ulps_file): Likewise.
40818         (output_ulps): Likewise.
40819         * math/README.libm-test: Update.
40820         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
40821         individual tests.
40822         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
40823         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
40824         * sysdeps/arm/libm-test-ulps: Likewise.
40825         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40826         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
40827         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
40828         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40829         * sysdeps/microblaze/libm-test-ulps: Likewise.
40830         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
40831         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40832         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40833         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
40834         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40835         * sysdeps/sh/libm-test-ulps: Likewise.
40836         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40837         * sysdeps/tile/libm-test-ulps: Likewise.
40838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40840 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
40842         * math/libm-test.inc (print_complex_max_error): Check separately
40843         whether real and imaginary errors are within allowed range and
40844         pass 0 to print_complex_function_ulps instead of value within
40845         allowed range.
40847 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40849         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
40850         formatting.
40851         (get_handles_fopen): Likewise.
40852         (do_write_test): Likewise.
40854         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
40856         * libio/fileops.c (do_ftell): Use cached offset when
40857         available.
40858         * libio/iofwide.c (do_ftell_wide): Likewise.
40859         * libio/iofdopen.c (_IO_new_fdopen): Don't use
40860         _IO_file_attach.
40861         * libio/wfileops.c (_IO_fwide): Don't cache offset.
40863         [BZ #16532]
40864         * libio/libioP.h (get_file_offset): New function.
40865         * libio/fileops.c (get_file_offset): Likewise.
40866         (do_ftell): Likewise.
40867         (_IO_new_file_seekoff): Split out ftell logic.
40868         * libio/wfileops.c (do_ftell_wide): Likewise.
40869         (_IO_wfile_seekoff): Split out ftell logic.
40870         * libio/tst-ftell-active-handler.c: New test case.
40871         * libio/Makefile (tests): Add it.
40873 2014-03-03  Roland McGrath  <roland@hack.frob.com>
40875         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
40876         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
40878 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40880         [BZ #16639]
40881         * nscd/connections.c (nscd_init): Call do_exit.
40882         (start_threads): Call do_exit and notify_parent.
40883         (begin_drop_privileges): Call do_exit.
40884         (finish_drop_privileges): Likewise.
40885         * nscd/selinux.c (preserve_capabilities): Likewise.
40886         (install_real_capabilities): Likewise.
40887         (nscd_selinux_enabled): Likewise.
40888         (avc_create_thread): Likewise.
40889         (avc_alloc_lock): Likewise.
40890         (nscd_avc_init): Likewise.
40891         * nscd/nscd.c (parent_fd): New static variable.
40892         (main): Create a pipe between parent and child processes.
40893         Skip closing parent_fd.
40894         (monitor_child): New function.
40895         (do_exit): Likewise.
40896         (notify_parent): Likewise.
40897         * nscd/nscd.h (notify_parent): Likewise.
40898         (do_exit): Likewise.
40900 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
40902         * malloc/malloc.c (__libc_calloc): Revert last change.
40904 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40908 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40910         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
40911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
40912         implementation.
40913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40914         (__libc_ifunc_impl_list): Likewise.
40915         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
40916         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
40917         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
40918         * string/strrchr.c: Define STRRCHR.
40920 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
40922         * benchtest/bench-strtok.c (simple_strtok): Delete.
40923         (strtok_string): Use as benchmark.
40924         * string/strtok (STRTOK): New macro.
40926 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
40928         * manual/threads.texi: Add header and standard comments to all
40929         functions.
40931         * elf/dl-lookup.c (check_match): New function.
40932         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
40933         (do_lookup_x): Remove nested function check_match. Use non-nested
40934         function check_match.
40936 2014-02-28  Roland McGrath  <roland@hack.frob.com>
40938         * csu/Makefile (generated, before-compile): Use += rather than =.
40939         * catgets/Makefile (generated, generated-dirs): Likewise.
40940         * debug/Makefile (generated): Likewise.
40941         * dlfcn/Makefile (generated): Likewise.
40942         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
40943         * iconvdata/Makefile (before-compile, generated): Likewise.
40944         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
40945         * libio/Makefile (generated): Likewise.
40946         * malloc/Makefile (generated): Likewise.
40947         * manual/Makefile (generated, generated-dirs): Likewise.
40948         * misc/Makefile (generated): Likewise.
40949         * posix/Makefile (generated): Likewise.
40950         * resolv/Makefile (generated): Likewise.
40951         * sunrpc/Makefile (generated, generated-dirs): Likewise.
40952         * timezone/Makefile (generated, generated-dirs): Likewise.
40954         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
40956 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40958         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40959         power8 implementation.
40960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
40961         file: POWER8 llround ifunc implementation.
40962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
40963         (__lllround): Add POWER8 implementation.
40964         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
40965         POWER8 llround implementation.
40967         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
40968         power8 implementation.
40969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
40970         file: POWER8 llrint ifunc implementation.
40971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
40972         Add POWER8 implementation.
40973         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
40974         POWER8 llrint implementation.
40976         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
40977         power8 implementation.
40978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
40979         file: POWER8 finite ifunc implementation.
40980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
40981         Add POWER8 implementation.
40982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
40983         Likewise.
40984         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
40985         POWER8 finite implementation.
40986         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
40988         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
40989         power8 implementation.
40990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
40991         file: POWER8 isinf ifunc implementation.
40992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
40993         POWER8 implementation.
40994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
40995         Likewise.
40996         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
40997         isinf implementation.
40998         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
41000         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
41001         (INIT_ARCH): Add hwcap2 initialization.
41002         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41003         power8 implementation.
41004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
41005         file: POWER8 isnan ifunc implementation.
41006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
41007         POWER8 implementation.
41008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
41009         Likewise.
41010         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
41011         isnan implementation.
41012         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
41014 2014-02-27  Joey Ye  <joey.ye@arm.com>
41016         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41017         (_FP_NANFRAC_Q): Set to zero.
41019 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41021         [BZ #16623]
41022         * math/auto-libm-test-in: New test inputs.
41023         * math/auto-libm-test-out: Regenerate.
41024         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
41025         and DA.
41026         (__cos): Likewise.
41027         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
41029 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
41031         * scripts/evaluate-test.sh: Take new argument indicating whether
41032         failure is expected.
41033         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
41034         indicating whether failure is expected.
41035         * conform/Makefile (test-xfail-run-conformtest): New variable.
41036         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
41037         level.
41038         * posix/Makefile (test-xfail-annexc): New variable.
41039         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
41041 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
41043         * argp/Makefile: Include Makeconfig immediately after defining
41044         subdir.
41045         * assert/Makefile: Likewise.
41046         * benchtests/Makefile: Likewise.
41047         * catgets/Makefile: Likewise.
41048         * conform/Makefile: Likewise.
41049         * crypt/Makefile: Likewise.
41050         * csu/Makefile: Likewise.
41051         (all): Remove target.
41052         * ctype/Makefile: Include Makeconfig immediately after defining
41053         subdir.
41054         * debug/Makefile: Likewise.
41055         * dirent/Makefile: Likewise.
41056         * dlfcn/Makefile: Likewise.
41057         * gmon/Makefile: Likewise.
41058         * gnulib/Makefile: Likewise.
41059         * grp/Makefile: Likewise.
41060         * gshadow/Makefile: Likewise.
41061         * hesiod/Makefile: Likewise.
41062         * hurd/Makefile: Likewise.
41063         (all): Remove target.
41064         * iconvdata/Makefile: Include Makeconfig immediately after
41065         defining subdir.
41066         * inet/Makefile: Likewise.
41067         * intl/Makefile: Likewise.
41068         * io/Makefile: Likewise.
41069         * libio/Makefile: Likewise.
41070         (all): Remove target.
41071         * locale/Makefile: Include Makeconfig immediately after defining
41072         subdir.
41073         * login/Makefile: Likewise.
41074         * mach/Makefile: Likewise.
41075         (all): Remove target.
41076         * malloc/Makefile: Include Makeconfig immediately after defining
41077         subdir.
41078         (all): Remove target.
41079         * manual/Makefile: Include Makeconfig immediately after defining
41080         subdir.
41081         * math/Makefile: Likewise.
41082         * misc/Makefile: Likewise.
41083         * nis/Makefile: Likewise.
41084         * nss/Makefile: Likewise.
41085         * po/Makefile: Likewise.
41086         (all): Remove target.
41087         * posix/Makefile: Include Makeconfig immediately after defining
41088         subdir.
41089         * pwd/Makefile: Likewise.
41090         * resolv/Makefile: Likewise.
41091         * resource/Makefile: Likewise.
41092         * rt/Makefile: Likewise.
41093         * setjmp/Makefile: Likewise.
41094         * shadow/Makefile: Likewise.
41095         * signal/Makefile: Likewise.
41096         * socket/Makefile: Likewise.
41097         * soft-fp/Makefile: Likewise.
41098         * stdio-common/Makefile: Likewise.
41099         * stdlib/Makefile: Likewise.
41100         * streams/Makefile: Likewise.
41101         * string/Makefile: Likewise.
41102         * sunrpc/Makefile: Likewise.
41103         (all): Remove target.
41104         * sysvipc/Makefile: Include Makeconfig immediately after defining
41105         subdir.
41106         * termios/Makefile: Likewise.
41107         * time/Makefile: Likewise.
41108         * timezone/Makefile: Likewise.
41109         (all): Remove target.
41110         * wcsmbs/Makefile: Include Makeconfig immediately after defining
41111         subdir.
41112         * wctype/Makefile: Likewise.
41114 2014-02-26  Steve Ellcey  <sellcey@mips.com>
41116         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
41117         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
41118         (libc_feholdexcept_setround_mips): Ditto.
41119         (libc_feholdsetround): New.
41120         (libc_feholdsetroundf): New.
41121         (libc_feholdsetroundl): New.
41122         (libc_feupdateenv_test_mips): New.
41123         (libc_feupdateenv_test): New.
41124         (libc_feupdateenv_testf): New.
41125         (libc_feupdateenv_testl): New.
41126         (libc_feresetround): New.
41127         (libc_feresetroundf): New.
41128         (libc_feresetroundl): New.
41129         (libc_fetestexcept_mips): New.
41130         (libc_fetestexcept): New.
41131         (libc_fetestexceptf): New.
41132         (libc_fetestexceptl): New.
41133         (HAVE_RM_CTX): New.
41134         (libc_feholdexcept_setround_mips_ctx): New.
41135         (libc_feholdexcept_setround_ctx): New.
41136         (libc_feholdexcept_setroundf_ctx): New.
41137         (libc_feholdexcept_setroundl_ctx): New.
41138         (libc_fesetenv_mips_ctx): New.
41139         (libc_fesetenv_ctx): New.
41140         (libc_fesetenv_ctxf): New.
41141         (libc_fesetenv_ctxl): New.
41142         (libc_feupdateenv_mips_ctx): New.
41143         (libc_feupdateenv_ctx): New.
41144         (libc_feupdateenvf_ctx): New.
41145         (libc_feupdateenvl_ctx): New.
41146         (libc_feholdsetround_mips_ctx): New.
41147         (libc_feholdsetround_ctx): New.
41148         (libc_feholdsetroundf_ctx): New.
41149         (libc_feholdsetroundl_ctx): New.
41150         (libc_feresetround_mips_ctx): New.
41151         (libc_feresetround_ctx): New.
41152         (libc_feresetroundf_ctx): New.
41153         (libc_feresetroundl_ctx): New.
41155 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
41157         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
41159         * manual/ipc.texi: New file.
41160         * manual/Makefile (chapters): Add ipc.
41161         * manual/job.texi: Add "Inter-Process Communication" to next.
41162         * manual/process.texi: Add "Inter-Process Communication" to prev.
41164 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41168 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
41170         * malloc/malloc.c (__libc_calloc): Simplify implementation.
41172         * manual/arith.texi: Fix spaces after sentences.
41173         * manual/charset.texi: Likewise.
41174         * manual/errno.texi: Likewise.
41175         * manual/install.texi: Likewise.
41176         * manual/llio.texi: Likewise.
41177         * manual/locale.texi: Likewise.
41178         * manual/maint.texi: Likewise.
41179         * manual/math.texi: Likewise.
41180         * manual/memory.texi: Likewise.
41181         * manual/message.texi: Likewise.
41182         * manual/probes.texi: Likewise.
41183         * manual/resource.texi: Likewise.
41184         * manual/signal.texi: Likewise.
41185         * manual/socket.texi: Likewise.
41186         * manual/stdio.texi: Likewise.
41187         * manual/string.texi: Likewise.
41188         * manual/time.texi: Likewise.
41189         * manual/users.texi: Likewise.
41191 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
41193         [BZ #16632]
41194         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
41195         _DEFAULT_SOURCE is defined.
41197 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
41198             Carlos O'Donell  <carlos@redhat.com>
41200         [BZ #16613]
41201         * elf/dl-tls.c (_dl_count_modids): New function.
41202         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
41203         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
41204         audit library and increment generation counter.
41205         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
41206         * elf/tst-audit9.c: New file.
41207         * elf/tst-auditmod9a.c: New file.
41208         * elf/tst-auditmod9b.c: New file.
41209         * elf/Makefile: Add rules to build and run tst-audit9.
41211 2014-02-25  Florian Weimer  <fweimer@redhat.com>
41213         [BZ #15347]
41214         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
41216 2014-02-25  Will Newton  <will.newton@linaro.org>
41218         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
41219         (__longjmp): Restore sp and lr before restoring callee
41220         saved registers.  Add longjmp and longjmp_target
41221         SystemTap probe point.
41222         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
41223         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
41224         Define to zero to match jmpbuf layout.
41225         * sysdeps/arm/setjmp.S: Include stap-probe.h.
41226         (__sigsetjmp): Save sp and lr before saving callee
41227         saved registers.  Add setjmp SystemTap probe point.
41229 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
41231         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41233 2014-02-24  Andreas Schwab  <schwab@suse.de>
41235         [BZ #15804]
41236         * elf/pldd.c (wait_for_ptrace_stop): New function.
41237         (main): Call it after attaching.
41239 2014-02-22  Roland McGrath  <roland@hack.frob.com>
41241         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
41242         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
41243         Versions files is now verboten.
41244         * hurd/Versions (libc: GLIBC_2.0):
41245         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
41246         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
41247         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
41248         * mach/Versions: Likewise.
41250         * csu/Versions: Remove unused %include.
41251         * resolv/Versions: Likewise.
41253 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
41255         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
41256         ($(objpfx)check-local-headers.out): Likewise.
41257         ($(objpfx)begin-end-check.out): Likewise.
41258         * Makerules (check-abi-%.out): Likewise.
41259         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
41260         ($(objpfx)test2.cat): Likewise.
41261         ($(objpfx)de/libc.cat): Likewise.
41262         ($(objpfx)test-gencat.out): Likewise.
41263         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
41264         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
41265         ($(objpfx)noload-mem): Likewise.
41266         ($(objpfx)tst-pathopt.out): Likewise.
41267         ($(objpfx)tst-rtld-load-self.out): Likewise.
41268         ($(objpfx)tst-array1-cmp.out): Likewise.
41269         ($(objpfx)tst-array1-static-cmp.out): Likewise.
41270         ($(objpfx)tst-array2-cmp.out): Likewise.
41271         ($(objpfx)tst-array3-cmp.out): Likewise.
41272         ($(objpfx)tst-array4-cmp.out): Likewise.
41273         ($(objpfx)tst-array5-cmp.out): Likewise.
41274         ($(objpfx)tst-array5-static-cmp.out): Likewise.
41275         ($(objpfx)check-textrel.out): Likewise.
41276         ($(objpfx)check-execstack.out): Likewise.
41277         ($(objpfx)check-localplt.out): Likewise.
41278         ($(objpfx)order2-cmp.out): Likewise.
41279         ($(objpfx)tst-leaks1-mem): Likewise.
41280         ($(objpfx)tst-leaks1-static-mem): Likewise.
41281         ($(objpfx)tst-initorder-cmp.out): Likewise.
41282         ($(objpfx)tst-initorder2-cmp.out): Likewise.
41283         ($(objpfx)tst-unused-dep.out): Likewise.
41284         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
41285         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
41286         * iconv/Makefile (test-iconvconfig): Likewise.
41287         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
41288         ($(objpfx)iconv-test.out): Likewise.
41289         ($(objpfx)tst-tables.out): Likewise.
41290         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
41291         ($(objpfx)tst-gettext.out): Likewise.
41292         ($(objpfx)tst-translit.out): Likewise.
41293         ($(objpfx)tst-gettext2.out): Likewise.
41294         ($(objpfx)tst-gettext4.out): Likewise.
41295         ($(objpfx)tst-gettext6.out): Likewise.
41296         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
41297         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
41298         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
41299         ($(objpfx)tst-fopenloc-mem.out): Likewise.
41300         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
41301         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
41302         * posix/Makefile ($(objpfx)globtest.out): Likewise.
41303         ($(objpfx)wordexp-tst.out): Likewise.
41304         ($(objpfx)annexc.out): Likewise.
41305         ($(objpfx)tst-fnmatch-mem): Likewise.
41306         ($(objpfx)bug-regex2-mem): Likewise.
41307         ($(objpfx)bug-regex14-mem): Likewise.
41308         ($(objpfx)bug-regex21-mem): Likewise.
41309         ($(objpfx)bug-regex31-mem): Likewise.
41310         ($(objpfx)tst-vfork3-mem): Likewise.
41311         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41312         ($(objpfx)tst-pcre-mem): Likewise.
41313         ($(objpfx)tst-boost-mem): Likewise.
41314         ($(objpfx)tst-getconf.out): Likewise.
41315         ($(objpfx)bug-ga2-mem): Likewise.
41316         ($(objpfx)bug-glob2-mem): Likewise.
41317         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
41318         ($(objpfx)mtrace-tst-leaks2): Likewise.
41319         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
41320         ($(objpfx)tst-printf.out): Likewise.
41321         ($(objpfx)tst-setvbuf1.out): Likewise.
41322         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
41323         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
41324         ($(objpfx)tst-fmtmsg.out): Likewise.
41325         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
41326         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
41328         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
41329         * bits/sigaction.h [__USE_MISC]: Likewise.
41330         * bits/waitstatus.h: Update #endif comments.
41331         * ctype/ctype.h: Likewise.
41332         * dirent/dirent.h: Likewise.
41333         [__USE_MISC]: Remove redundant conditionals.
41334         * grp/grp.h: Update #endif comments.
41335         [__USE_GNU]: Remove redundant conditionals.
41336         [__USE_MISC]: Likewise.
41337         * inet/netinet/in.h [__USE_GNU]: Likewise.
41338         * io/sys/stat.h [__USE_MISC]: Likewise.
41339         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
41340         * libio/bits/stdio.h: Update #endif comments.
41341         [__USE_MISC]: Remove redundant conditionals.
41342         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
41343         * libio/stdio.h: Update #endif comments.
41344         [__USE_MISC]: Remove redundant conditionals.
41345         * math/bits/math-finite.h [__USE_MISC]: Likewise.
41346         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
41347         * math/math.h: Update #else and #endif comments.
41348         [__USE_MISC]: Remove redundant conditionals.
41349         * misc/sys/uio.h: Update #endif comments.
41350         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
41351         * posix/glob.h [__USE_MISC]: Likewise.
41352         * posix/sys/types.h: Update #endif comments.
41353         [__USE_MISC]: Remove redundant conditionals.
41354         * posix/sys/wait.h: Update #endif comments.
41355         [__USE_MISC]: Remove redundant conditionals.
41356         * posix/unistd.h: Update #endif comments.
41357         [__USE_MISC]: Remove redundant conditionals.
41358         * pwd/pwd.h [__USE_GNU]: Likewise.
41359         [__USE_MISC]: Likewise.
41360         * resolv/netdb.h [__USE_GNU]: Likewise.
41361         * signal/signal.h: Update #endif comments.
41362         [__USE_MISC]: Remove redundant conditionals.
41363         * stdlib/stdlib.h: Update #else and #endif comments.
41364         [__USE_MISC]: Remove redundant conditionals.
41365         [__USE_GNU]: Likewise.
41366         * string/bits/string2.h [__USE_MISC]: Likewise.
41367         * string/string.h: Update #endif comments.
41368         [__USE_MISC]: Remove redundant conditionals.
41369         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
41370         Likewise.
41371         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
41372         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
41373         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
41374         Likewise.
41375         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
41376         Likewise.
41377         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
41378         comments.
41379         [__USE_MISC]: Remove redundant conditionals.
41380         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
41381         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
41382         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
41383         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
41384         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
41385         Likewise.
41386         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
41387         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
41388         Likewise.
41389         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
41390         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
41391         Likewise.
41392         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
41393         Likewise.
41394         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
41395         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
41396         Likewise.
41397         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
41398         Likewise.
41399         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
41400         * sysdeps/x86/bits/string.h: Update #endif comments.
41401         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
41402         conditionals.
41403         * time/sys/time.h: Update #endif comments.
41404         * time/time.h: Likewise.
41405         [__USE_MISC]: Remove redundant conditionals.
41407 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
41409         [BZ #16600]
41410         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
41412 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
41414         * Versions.def (librt): Add GLIBC_2.17.
41416 2014-02-21  Adam Conrad  <adconrad@0c3.net>
41418         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
41419         synonym for _SYS_AUXV_H to allow direct inclusion.
41420         * sysdeps/sparc/bits/hwcap.h: Likewise.
41421         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
41422         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
41423         * sysdeps/sparc/sysdep.h: Likewise.
41425 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41427         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
41429 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41431         * benchtests/bench-strrchr.c: Print length instead of position.
41433 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
41435         [BZ #16611]
41436         * sysdeps/unix/sysv/linux/kernel-features.h
41437         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
41438         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
41439         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
41440         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
41441         Likewise.
41442         [__i386__ || __powerpc__ || __sh__ || __sparc__]
41443         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41444         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
41445         (__ASSUME_SENDMMSG): Define instead of using previous
41446         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
41447         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41448         (__ASSUME_SENDMMSG_SYSCALL): Define.
41449         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41450         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
41451         Likewise.
41452         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41453         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41454         Likewise.
41455         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41456         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41457         Likewise.
41458         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
41459         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41460         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41461         [__ASSUME_SENDMMSG]: Change conditionals to
41462         [__ASSUME_SENDMMSG_SOCKETCALL].
41463         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41464         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
41465         Define.
41466         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41467         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
41468         Likewise.
41469         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
41470         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41471         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41472         [!__ASSUME_SENDMMSG]: Change conditional to
41473         [!__ASSUME_SENDMMSG_SOCKETCALL].
41474         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41475         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41476         Define.
41478         [BZ #16610]
41479         * sysdeps/unix/sysv/linux/kernel-features.h
41480         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
41481         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
41482         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
41483         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
41484         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41485         [__i386__ || __sparc__]
41486         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41487         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
41488         (__ASSUME_RECVMMSG): Define instead of using previous
41489         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
41490         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41491         (__ASSUME_RECVMMSG_SYSCALL): Define.
41492         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41493         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41494         Likewise.
41495         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41496         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41497         Likewise.
41498         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41499         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41500         Likewise.
41501         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
41502         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41503         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41504         [__ASSUME_RECVMMSG]: Change condition to
41505         [__ASSUME_RECVMMSG_SOCKETCALL].
41506         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41507         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41508         Define.
41509         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41510         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41511         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41512         Likewise.
41513         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
41514         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41515         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41516         [!__ASSUME_RECVMMSG]: Change condition to
41517         [!__ASSUME_RECVMMSG_SOCKETCALL].
41518         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41519         (__ASSUME_RECVMMSG_SYSCALL): Define.
41521         [BZ #16609]
41522         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
41523         __powerpc__ || __s390__ || __sh__ || __sparc__]
41524         (__ASSUME_SOCKETCALL): Define.
41525         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
41526         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
41527         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
41528         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
41529         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41530         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41531         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
41532         (__ASSUME_ACCEPT4): Define instead of using previous
41533         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
41534         __powerpc__ || __sparc__ || __s390__)] condition.
41535         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41536         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41537         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
41538         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41539         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41540         [!__ASSUME_ACCEPT4]: Change condition to
41541         [!__ASSUME_ACCEPT4_SOCKETCALL].
41542         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41543         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
41544         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
41545         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41546         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
41547         __ASSUME_ACCEPT4_SYSCALL.
41548         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
41549         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
41550         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41551         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
41552         __ASSUME_ACCEPT4_SYSCALL.
41553         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
41554         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41555         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41556         [__ASSUME_ACCEPT4]: Change condition to
41557         [__ASSUME_ACCEPT4_SOCKETCALL].
41558         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41559         (__ASSUME_SOCKETCALL): Define.
41560         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
41561         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41562         (__ASSUME_SOCKETCALL): Define.
41563         (__ASSUME_ACCEPT4): Remove.
41564         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
41565         Define.
41566         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41567         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
41568         Likewise.
41569         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41570         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41572         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
41573         macro.
41574         (HWCAP_ARM_LPAE): Likewise.
41575         (HWCAP_ARM_EVTSTRM): Likewise.
41576         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
41577         Add vpfd32, lpae and evtstrm.
41578         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
41579         Increase to 22.
41581 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
41583         * math/auto-libm-test-in: Add tests of clog10.
41584         * math/auto-libm-test-out: Regenerated.
41585         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
41586         * sysdeps/i386/fpu/libm-test-ulps: Update.
41587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41589 2014-02-18  Andreas Schwab  <schwab@suse.de>
41591         [BZ #16574]
41592         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
41593         Store non-zero if the second buffer was newly allocated.
41594         (send_dg): Likewise.
41595         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
41596         to send_vc and send_dg.
41597         (res_nsend): Pass NULL for ansp2_malloced.
41598         * resolv/res_query.c (__libc_res_nquery): Add parameter
41599         answerp2_malloced and pass it down to __libc_res_nsend.
41600         (res_nquery): Pass additional NULL to __libc_res_nquery.
41601         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
41602         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
41603         second answer buffer if answerp2_malloced was set.
41604         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
41605         (__libc_res_nquerydomain): Add parameter
41606         answerp2_malloced and pass it down to __libc_res_nquery.
41607         (res_nquerydomain): Pass additional NULL to
41608         __libc_res_nquerydomain.
41609         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
41610         additional NULL to __libc_res_nsend and __libc_res_nquery.
41611         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
41612         additional NULL to __libc_res_nsearch.
41613         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
41614         parameter of __libc_res_nsearch to check for separately allocated
41615         second buffer.
41616         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
41617         __libc_res_nquery.
41618         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
41619         additional NULL to __libc_res_nquery.
41620         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
41621         __libc_res_nsearch.
41622         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
41623         * include/resolv.h: Update prototypes of __libc_res_nquery,
41624         __libc_res_nsearch, __libc_res_nsend.
41626 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
41628         * math/auto-libm-test-in: Add tests of fma.
41629         * math/auto-libm-test-out: Regenerated.
41630         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
41631         (fma_towardzero_test_data): Likewise.
41632         (fma_downward_test_data): Likewise.
41633         (fma_upward_test_data): Likewise.
41634         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
41635         mpc_mode.
41636         (rounding_modes): Add values for new field.
41637         (func_calc_method): Add value mpfr_fff_f.
41638         (func_calc_desc): Add mpfr_fff_f union field.
41639         (test_function): Add field exact_args.
41640         (FUNC): Add macro argument EXACT_ARGS.
41641         (FUNC_mpfr_f_f): Update call to FUNC.
41642         (FUNC_mpfr_f_f): Likewise.
41643         (FUNC_mpfr_ff_f): Likewise.
41644         (FUNC_mpfr_if_f): Likewise.
41645         (FUNC_mpc_c_f): Likewise.
41646         (FUNC_mpc_c_c): Likewise.
41647         (test_functions): Add fma.  Update calls to FUNC.
41648         (handle_input_arg): Add argument exact_args.
41649         (add_test): Update call to handle_input_arg.
41650         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
41651         (output_for_one_input_case): Update call to calc_generic_results.
41652         Recalculate exact zero results in each rounding mode.
41654         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
41655         non-negative before setting low bit.
41656         * math/auto-libm-test-in: Mark one asin test possibly having
41657         spurious underflow.
41658         * math/auto-libm-test-out: Regenerated.
41659         * sysdeps/i386/fpu/libm-test-ulps: Update.
41660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41662 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
41664         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
41665         * sysdeps/unix/sysv/linux/microblaze: Move directory from
41666         ports/sysdeps/unix/sysv/linux/microblaze.
41667         * README: Add missing listing for microblaze*-*-linux-gnu.
41669 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
41671         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
41672         duplicate code
41674 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
41676         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
41677         * sysdeps/unix/sysv/linux/ia64: Move directory from
41678         ports/sysdeps/unix/sysv/linux/ia64.
41679         * README: Update listing for ia64-*-linux-gnu.
41681 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
41682             Joseph Myers  <joseph@codesourcery.com>
41684         * Makeconfig (test-name): New variable.
41685         (evaluate-test): Likewise.
41686         * Makerules (do-test-clean): Remove .test-result files.
41687         (common-mostlyclean): Likewise.
41688         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
41689         * scripts/evaluate-test.sh: New file.
41691 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
41693         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
41694         separate $(objpfx)tst-fopenloc-cmp.out and
41695         $(objpfx)tst-fopenloc-mem.out targets.
41696         (tests): Update dependencies.
41697         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
41698         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
41699         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
41700         (tst-rxspencer-no-utf8-ARGS): New variable.
41701         (tst-rxspencer-no-utf8-ENV): Likewise.
41702         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
41703         instead of $(objpfx)tst-rxspencer-mem.
41704         ($(objpfx)tst-rxspencer-mem): Change target to
41705         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
41706         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
41707         * posix/tst-rxspencer-no-utf8.c: New file.
41709         * elf/Makefile ($(objpfx)order.out): Remove rule.
41710         [$(run-built-tests) = yes] (tests): Depend on
41711         $(objpfx)order-cmp.out.
41712         ($(objpfx)order-cmp.out): New rule.
41713         [$(run-built-tests) = yes] (tests): Depend on
41714         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
41715         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
41716         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
41717         $(objpfx)tst-array5-static-cmp.out.
41718         ($(objpfx)tst-array1.out): Remove rule.
41719         ($(objpfx)tst-array1-cmp.out): New rule.
41720         ($(objpfx)tst-array1-static.out): Remove rule.
41721         ($(objpfx)tst-array1-static-cmp.out): New rule.
41722         ($(objpfx)tst-array2.out): Remove rule.
41723         ($(objpfx)tst-array2-cmp.out): New rule.
41724         ($(objpfx)tst-array3.out): Remove rule.
41725         ($(objpfx)tst-array3-cmp.out): New rule.
41726         ($(objpfx)tst-array4.out): Remove rule.
41727         ($(objpfx)tst-array4-cmp.out): New rule.
41728         ($(objpfx)tst-array5.out): Remove rule.
41729         ($(objpfx)tst-array5-cmp.out): New rule.
41730         ($(objpfx)tst-array5-static.out): Remove rule.
41731         ($(objpfx)tst-array5-static-cmp.out): New rule.
41732         [$(run-built-tests) = yes] (tests): Depend on
41733         $(objpfx)order2-cmp.out.
41734         ($(objpfx)order2.out): Remove rule.
41735         ($(objpfx)order2-cmp.out): New rule.
41736         ($(objpfx)tst-initorder.out): Remove rule.
41737         [$(run-built-tests) = yes] (tests): Depend on
41738         $(objpfx)tst-initorder-cmp.out.
41739         ($(objpfx)tst-initorder-cmp.out): New rule.
41740         ($(objpfx)tst-initorder2.out): Remove rule.
41741         [$(run-built-tests) = yes] (tests): Depend on
41742         $(objpfx)tst-initorder2-cmp.out.
41743         ($(objpfx)tst-initorder2-cmp.out): New rule.
41744         [$(run-built-tests) = yes] (tests): Depend on
41745         $(objpfx)tst-unused-dep-cmp.out.
41746         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
41747         ($(objpfx)tst-unused-dep-cmp.out): New rule.
41748         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
41749         on $(objpfx)tst-setvbuf1-cmp.out.
41750         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
41751         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
41752         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
41753         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
41754         ($(objpfx)tst-svc.out): Remove rule.
41755         ($(objpfx)tst-svc-cmp.out): New rule.
41757 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
41759         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
41760         * ctype/ctype.h [__USE_MISC]: Likewise.
41761         * dirent/dirent.h [__USE_MISC]: Likewise.
41762         * grp/grp.h [__USE_MISC]: Likewise.
41763         * io/fcntl.h [__USE_MISC]: Likewise.
41764         * io/sys/stat.h [__USE_MISC]: Likewise.
41765         * libio/stdio.h [__USE_MISC]: Likewise.
41766         * posix/unistd.h [__USE_MISC]: Likewise.
41767         * pwd/pwd.h [__USE_MISC]: Likewise.
41768         * stdlib.h [__USE_MISC]: Likewise.
41769         * string/bits/string2.h [__USE_MISC]: Likewise.
41770         * string/string.h [__USE_MISC]: Likewise.
41771         * time/time.h [__USE_MISC]: Likewise.
41773 2014-02-13  Andreas Schwab  <schwab@suse.de>
41775         [BZ #16574]
41776         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
41777         second answer buffer if it was separately allocated.
41779 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
41781         * sysdeps/mips/math-tests.h: Include <features.h>.
41782         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41783         (ROUNDING_TESTS_long_double): Do not define.
41784         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41785         (EXCEPTION_TESTS_long_double): Likewise.
41786         * sysdeps/mips/mips64/libm-test-ulps: Update.
41788         * include/features.h (__USE_BSD): Remove macro definitions.
41789         (__USE_SVID): Likewise.
41790         (_BSD_SOURCE): Likewise.
41791         (_SVID_SOURCE): Likewise.
41792         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
41793         from definition of _DEFAULT_SOURCE.
41794         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
41795         [_DEFAULT_SOURCE].
41796         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
41797         * bits/mman.h [__USE_BSD]: Likewise.
41798         * bits/termios.h [__USE_BSD]: Likewise.
41799         * bits/waitstatus.h [__USE_BSD]: Likewise.
41800         * ctype/ctype.h [__USE_SVID]: Likewise.
41801         * dirent/dirent.h [__USE_BSD]: Likewise.
41802         * grp/grp.h [__USE_SVID]: Likewise.
41803         [__USE_BSD]: Likewise.
41804         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
41805         * io/fcntl.h [__USE_BSD]: Likewise.
41806         * io/ftw.h [__USE_BSD]: Likewise.
41807         * io/sys/stat.h [__USE_BSD]: Likewise.
41808         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
41809         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
41810         * libio/stdio.h [__USE_SVID]: Likewise.
41811         [__USE_BSD]: Likewise.
41812         * math/math.h [__USE_SVID]: Likewise.
41813         [__USE_BSD]: Likewise.
41814         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
41815         * misc/bits/syslog.h [__USE_BSD]: Likewise.
41816         * misc/search.h [__USE_SVID]: Likewise.
41817         * misc/sys/mman.h [__USE_BSD]: Likewise.
41818         * misc/sys/syslog.h [__USE_BSD]: Likewise.
41819         * misc/sys/uio.h [__USE_BSD]: Likewise.
41820         * posix/bits/unistd.h [__USE_BSD]: Likewise.
41821         * posix/glob.h [__USE_BSD]: Likewise.
41822         * posix/regex.h [__USE_BSD]: Likewise.
41823         * posix/sys/types.h [__USE_BSD]: Likewise.
41824         [__USE_SVID]: Likewise.
41825         * posix/sys/utsname.h [__USE_SVID]: Likewise.
41826         * posix/sys/wait.h [__USE_BSD]: Likewise.
41827         [__USE_SVID]: Likewise.
41828         * posix/unistd.h [__USE_BSD]: Likewise.
41829         [__USE_SVID]: Likewise.
41830         * pwd/pwd.h [__USE_SVID]: Likewise.
41831         * resolv/netdb.h [__USE_BSD]: Likewise.
41832         * setjmp/setjmp.h [__USE_BSD]: Likewise.
41833         * signal/signal.h [__USE_BSD]: Likewise.
41834         [__USE_SVID]: Likewise.
41835         * socket/sys/socket.h [__USE_BSD]: Likewise.
41836         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
41837         * stdlib/stdlib.h [__USE_BSD]: Likewise.
41838         [__USE_SVID]: Likewise.
41839         * string/bits/string2.h [__USE_BSD]: Likewise.
41840         [__USE_SVID]: Likewise.
41841         * string/bits/string3.h [__USE_BSD]: Likewise.
41842         * string/endian.h [__USE_BSD]: Likewise.
41843         * string/string.h [__USE_SVID]: Likewise.
41844         [__USE_BSD]: Likewise.
41845         * string/strings.h [__USE_BSD]: Likewise.
41846         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
41847         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
41848         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
41849         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
41850         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
41851         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
41852         Likewise.
41853         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
41854         Likewise.
41855         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
41856         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
41857         Likewise.
41858         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
41859         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
41860         Likewise.
41861         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
41862         Likewise.
41863         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
41864         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
41865         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
41866         Likewise.
41867         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
41868         Likewise.
41869         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
41870         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
41871         * termios/termios.h [__USE_BSD]: Likewise.
41872         * time/sys/time.h [__USE_BSD]: Likewise.
41873         * time/time.h [__USE_BSD]: Likewise.
41874         [__USE_SVID]: Likewise.
41876         * Makefile (subdir_targets): Remove subdir_lint.out.
41878         * stdio-common/Makefile (do-tst-unbputc): Remove target.
41879         (do-tst-printf): Likewise.
41880         (tests): Depend directly on $(objpfx)tst-unbputc.out and
41881         $(objpfx)tst-printf.out.
41883         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41885         * Makerules (check-abi-%): Change target to
41886         $(objpfx)check-abi-%.out.
41887         (check-abi target): Update dependencies.
41888         (check-abi-pattern variable): Redirect output of diff to $@.
41889         (check-abi variable): Likewise.
41890         * elf/Makefile (check-abi): Update dependencies.
41892         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
41893         unused.
41894         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
41895         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
41896         subnormal range.
41897         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
41898         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
41899         value has largest subnormal exponent.
41900         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
41901         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
41902         * sysdeps/aarch64/soft-fp/sfp-machine.h
41903         (_FP_TININESS_AFTER_ROUNDING): New macro.
41904         * sysdeps/alpha/soft-fp/sfp-machine.h
41905         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41906         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41907         Likewise.
41908         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
41909         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41910         * sysdeps/mips/soft-fp/sfp-machine.h
41911         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41912         * sysdeps/powerpc/soft-fp/sfp-machine.h
41913         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41914         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41915         Likewise.
41916         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41917         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41918         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41919         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41920         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41921         Likewise.
41923 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
41925         [BZ #16545]
41926         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
41927         model 1.
41929 2014-02-12  Richard Henderson  <rth@redhat.com>
41931         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
41932         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
41933         * sysdeps/unix/sysv/linux/alpha: Move directory from
41934         ports/sysdeps/unix/sysv/linux/alpha.
41935         * README: Update listing for alpha-*-linux-gnu.
41937 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
41939         * include/features.h: Update comment documenting feature test
41940         macros.
41941         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
41942         _DEFAULT_SOURCE.
41943         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
41944         (_SVID_SOURCE): Likewise.
41945         (_DEFAULT_SOURCE): Update description of default features.
41946         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
41947         with _GNU_SOURCE.
41948         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
41949         (S_ISVTX): Likewise.
41950         * manual/math.texi (Mathematical Constants): Likewise.
41951         * manual/signal.texi (Interrupted Primitives): Likewise.
41952         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
41953         * math/test-matherr.c (_SVID_SOURCE): Do not define.
41954         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
41955         Don't refer to _SVID_SOURCE in warning text.
41957         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41959         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
41960         already defined.
41961         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
41962         * sysdeps/mips/dl-lookup.c: Remove.
41963         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
41965 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41967         [BZ #16447]
41968         * math/auto-libm-test-in: Add testcase for expl.
41969         * math/auto-libm-test-out: Regenerate.
41970         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
41971         calculation of unsafe.
41972         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
41974 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41976         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
41977         * sysdeps/unix/sysv/linux/aarch64: Move directory from
41978         ports/sysdeps/unix/sysv/linux/aarch64.
41979         * README: Update listing for aarch64*-*-linux-gnu.
41981 2014-02-11  Will Newton  <will.newton@linaro.org>
41983         * manual/probes.texi (Mathematical Function Probes): Use
41984         "triggered" instead of "hit".
41986         * manual/probes.texi (Internal Probes): Add documentation
41987         of setjmp, longjmp and longjmp_target probes.
41989         * include/stap-probe.h: Add comment about probe argument
41990         format.
41992         * malloc/mtrace.c (attribute_hidden): Remove unused macro
41993         definition.  (tr_where, tr_freehook, tr_mallochook,
41994         tr_reallochook, tr_memalignhook): Use ANSI protoype.
41996 2014-02-11  David S. Miller  <davem@davemloft.net>
41998         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41999         processing int_tests.
42001 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
42003         * sysdeps/mips: Move directory from ports/sysdeps/mips.
42004         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
42005         * sysdeps/unix/sysv/linux/mips: Move directory from
42006         ports/sysdeps/unix/sysv/linux/mips.
42007         * README: Update listing for mips-*-linux-gnu and
42008         mips64-*-linux-gnu.
42010 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
42012         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
42013         * sysdeps/unix/sysv/linux/m68k: Move directory from
42014         ports/sysdeps/unix/sysv/linux/m68k.
42015         * README: Update listing for m68k-*-linux-gnu.
42017 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
42019         * sysdeps/tile: Move directory from ports/sysdeps/tile.
42020         * sysdeps/unix/sysv/linux/generic: Move directory from
42021         ports/sysdeps/unix/sysv/linux/generic.
42022         * sysdeps/unix/sysv/linux/tile: Move directory from
42023         ports/sysdeps/unix/sysv/linux/tile.
42024         * README: Update listing for tile*-*-linux-gnu.
42026 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
42028         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
42029         __builtin_expect.
42030         * benchtests/bench-memmem.c (simple_memmem): Likewise.
42031         * catgets/open_catalog.c (__open_catalog): Likewise.
42032         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
42033         * debug/confstr_chk.c: Likewise.
42034         * debug/fread_chk.c (__fread_chk): Likewise.
42035         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
42036         * debug/getgroups_chk.c: Likewise.
42037         * debug/mbsnrtowcs_chk.c: Likewise.
42038         * debug/mbsrtowcs_chk.c: Likewise.
42039         * debug/mbstowcs_chk.c: Likewise.
42040         * debug/memcpy_chk.c: Likewise.
42041         * debug/memmove_chk.c: Likewise.
42042         * debug/mempcpy_chk.c: Likewise.
42043         * debug/memset_chk.c: Likewise.
42044         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42045         * debug/strcat_chk.c (__strcat_chk): Likewise.
42046         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
42047         * debug/strncat_chk.c (__strncat_chk): Likewise.
42048         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
42049         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
42050         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
42051         * debug/wcpncpy_chk.c: Likewise.
42052         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42053         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
42054         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
42055         * debug/wcsncpy_chk.c: Likewise.
42056         * debug/wcsnrtombs_chk.c: Likewise.
42057         * debug/wcsrtombs_chk.c: Likewise.
42058         * debug/wcstombs_chk.c: Likewise.
42059         * debug/wmemcpy_chk.c: Likewise.
42060         * debug/wmemmove_chk.c: Likewise.
42061         * debug/wmempcpy_chk.c: Likewise.
42062         * debug/wmemset_chk.c: Likewise.
42063         * dirent/scandirat.c (SCANDIRAT): Likewise.
42064         * dlfcn/dladdr1.c (dladdr1): Likewise.
42065         * dlfcn/dladdr.c (dladdr): Likewise.
42066         * dlfcn/dlclose.c (dlclose_doit): Likewise.
42067         * dlfcn/dlerror.c (__dlerror): Likewise.
42068         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
42069         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
42070         * dlfcn/dlopen.c (dlopen_doit): Likewise.
42071         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
42072         * dlfcn/dlsym.c (dlsym_doit): Likewise.
42073         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
42074         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
42075         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
42076         Likewise.
42077         * elf/dl-conflict.c: Likewise.
42078         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
42079         * elf/dl-dst.h: Likewise.
42080         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
42081         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
42082         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
42083         * elf/dl-init.c (call_init, _dl_init): Likewise.
42084         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
42085         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
42086         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
42087         Likewise.
42088         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
42089         Likewise.
42090         * elf/dl-minimal.c (__libc_memalign): Likewise.
42091         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
42092         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42093         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
42094         * elf/dl-sym.c (do_sym): Likewise.
42095         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
42096         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
42097         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
42098         * elf/dl-writev.h (_dl_writev): Likewise.
42099         * elf/ldconfig.c (search_dir): Likewise.
42100         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
42101         (dl_main): Likewise.
42102         * elf/setup-vdso.h (setup_vdso): Likewise.
42103         * grp/compat-initgroups.c (compat_call): Likewise.
42104         * grp/fgetgrent.c (fgetgrent): Likewise.
42105         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
42106         * grp/putgrent.c (putgrent): Likewise.
42107         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
42108         Likewise.
42109         * hurd/hurdinit.c: Likewise.
42110         * iconvdata/8bit-gap.c (struct): Likewise.
42111         * iconvdata/ansi_x3.110.c : Likewise.
42112         * iconvdata/big5.c : Likewise.
42113         * iconvdata/big5hkscs.c : Likewise.
42114         * iconvdata/cp1255.c: Likewise.
42115         * iconvdata/cp1258.c : Likewise.
42116         * iconvdata/cp932.c : Likewise.
42117         * iconvdata/euc-cn.c: Likewise.
42118         * iconvdata/euc-jisx0213.c : Likewise.
42119         * iconvdata/euc-jp.c: Likewise.
42120         * iconvdata/euc-jp-ms.c : Likewise.
42121         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
42122         * iconvdata/gb18030.c : Likewise.
42123         * iconvdata/gbbig5.c (const): Likewise.
42124         * iconvdata/gbgbk.c: Likewise.
42125         * iconvdata/gbk.c : Likewise.
42126         * iconvdata/ibm1364.c : Likewise.
42127         * iconvdata/ibm930.c : Likewise.
42128         * iconvdata/ibm932.c: Likewise.
42129         * iconvdata/ibm933.c : Likewise.
42130         * iconvdata/ibm935.c : Likewise.
42131         * iconvdata/ibm937.c : Likewise.
42132         * iconvdata/ibm939.c : Likewise.
42133         * iconvdata/ibm943.c: Likewise.
42134         * iconvdata/iso_11548-1.c: Likewise.
42135         * iconvdata/iso-2022-cn.c : Likewise.
42136         * iconvdata/iso-2022-cn-ext.c : Likewise.
42137         * iconvdata/iso-2022-jp-3.c: Likewise.
42138         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
42139         * iconvdata/iso-2022-kr.c : Likewise.
42140         * iconvdata/iso646.c (gconv_end): Likewise.
42141         * iconvdata/iso_6937-2.c : Likewise.
42142         * iconvdata/iso_6937.c : Likewise.
42143         * iconvdata/iso8859-1.c: Likewise.
42144         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
42145         * iconvdata/shift_jisx0213.c : Likewise.
42146         * iconvdata/sjis.c : Likewise.
42147         * iconvdata/t.61.c : Likewise.
42148         * iconvdata/tcvn5712-1.c : Likewise.
42149         * iconvdata/tscii.c: Likewise.
42150         * iconvdata/uhc.c : Likewise.
42151         * iconvdata/unicode.c (gconv_end): Likewise.
42152         * iconvdata/utf-16.c (gconv_end): Likewise.
42153         * iconvdata/utf-32.c (gconv_end): Likewise.
42154         * iconvdata/utf-7.c (base64): Likewise.
42155         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
42156         * iconv/gconv_close.c (__gconv_close): Likewise.
42157         * iconv/gconv_open.c (__gconv_open): Likewise.
42158         * iconv/gconv_simple.c (internal_ucs4_loop_single)
42159         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
42160         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
42161         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
42162         (ucs4le_internal_loop_single): Likewise.
42163         * iconv/iconv.c (iconv): Likewise.
42164         * iconv/iconv_close.c: Likewise.
42165         * iconv/loop.c (SINGLE): Likewise.
42166         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
42167         * include/atomic.h: Likewise.
42168         * inet/inet6_option.c (option_alloc): Likewise.
42169         * intl/bindtextdom.c (set_binding_values): Likewise.
42170         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
42171         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
42172         * intl/localealias.c (read_alias_file): Likewise.
42173         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
42174         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
42175         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
42176         * libio/fmemopen.c (fmemopen): Likewise.
42177         * libio/iofgets.c (_IO_fgets): Likewise.
42178         * libio/iofgets_u.c (fgets_unlocked): Likewise.
42179         * libio/iofgetws.c (fgetws): Likewise.
42180         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
42181         * libio/iogetdelim.c (_IO_getdelim): Likewise.
42182         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
42183         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
42184         * locale/findlocale.c (_nl_find_locale): Likewise.
42185         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
42186         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
42187         Likewise.
42188         * locale/setlocale.c (setlocale): Likewise.
42189         * login/programs/pt_chown.c (main): Likewise.
42190         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
42191         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
42192         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
42193         (mmap, mmap64, mremap, munmap): Likewise.
42194         * math/e_exp2l.c: Likewise.
42195         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
42196         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
42197         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
42198         * math/s_catan.c (__catan): Likewise.
42199         * math/s_catanf.c (__catanf): Likewise.
42200         * math/s_catanh.c (__catanh): Likewise.
42201         * math/s_catanhf.c (__catanhf): Likewise.
42202         * math/s_catanhl.c (__catanhl): Likewise.
42203         * math/s_catanl.c (__catanl): Likewise.
42204         * math/s_ccosh.c (__ccosh): Likewise.
42205         * math/s_ccoshf.c (__ccoshf): Likewise.
42206         * math/s_ccoshl.c (__ccoshl): Likewise.
42207         * math/s_cexp.c (__cexp): Likewise.
42208         * math/s_cexpf.c (__cexpf): Likewise.
42209         * math/s_cexpl.c (__cexpl): Likewise.
42210         * math/s_clog10.c (__clog10): Likewise.
42211         * math/s_clog10f.c (__clog10f): Likewise.
42212         * math/s_clog10l.c (__clog10l): Likewise.
42213         * math/s_clog.c (__clog): Likewise.
42214         * math/s_clogf.c (__clogf): Likewise.
42215         * math/s_clogl.c (__clogl): Likewise.
42216         * math/s_csin.c (__csin): Likewise.
42217         * math/s_csinf.c (__csinf): Likewise.
42218         * math/s_csinh.c (__csinh): Likewise.
42219         * math/s_csinhf.c (__csinhf): Likewise.
42220         * math/s_csinhl.c (__csinhl): Likewise.
42221         * math/s_csinl.c (__csinl): Likewise.
42222         * math/s_csqrt.c (__csqrt): Likewise.
42223         * math/s_csqrtf.c (__csqrtf): Likewise.
42224         * math/s_csqrtl.c (__csqrtl): Likewise.
42225         * math/s_ctan.c (__ctan): Likewise.
42226         * math/s_ctanf.c (__ctanf): Likewise.
42227         * math/s_ctanh.c (__ctanh): Likewise.
42228         * math/s_ctanhf.c (__ctanhf): Likewise.
42229         * math/s_ctanhl.c (__ctanhl): Likewise.
42230         * math/s_ctanl.c (__ctanl): Likewise.
42231         * math/w_pow.c: Likewise.
42232         * math/w_powf.c: Likewise.
42233         * math/w_powl.c: Likewise.
42234         * math/w_scalb.c (sysv_scalb): Likewise.
42235         * math/w_scalbf.c (sysv_scalbf): Likewise.
42236         * math/w_scalbl.c (sysv_scalbl): Likewise.
42237         * misc/error.c (error_tail): Likewise.
42238         * misc/pselect.c (__pselect): Likewise.
42239         * nis/nis_callback.c (__nis_create_callback): Likewise.
42240         * nis/nis_call.c (__nisfind_server): Likewise.
42241         * nis/nis_creategroup.c (nis_creategroup): Likewise.
42242         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
42243         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
42244         * nis/nis_getservlist.c (nis_getservlist): Likewise.
42245         * nis/nis_lookup.c (nis_lookup): Likewise.
42246         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
42247         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
42248         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
42249         * nis/nis_xdr.c (xdr_endpoint): Likewise.
42250         * nis/nss_compat/compat-grp.c (getgrent_next_file)
42251         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
42252         * nis/nss_compat/compat-initgroups.c (add_group)
42253         (internal_getgrent_r): Likewise.
42254         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
42255         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
42256         * nis/nss_compat/compat-spwd.c (getspent_next_file)
42257         (internal_getspnam_r): Likewise.
42258         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
42259         (_nss_nis_getaliasbyname_r): Likewise.
42260         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
42261         (_nss_nis_getntohost_r): Likewise.
42262         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
42263         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
42264         (_nss_nis_getgrgid_r): Likewise.
42265         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
42266         (internal_nis_gethostent_r, internal_gethostbyname2_r)
42267         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
42268         (_nss_nis_gethostbyname4_r): Likewise.
42269         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
42270         (initgroups_netid): Likewise.
42271         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
42272         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
42273         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
42274         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
42275         (_nss_nis_getprotobynumber_r): Likewise.
42276         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
42277         (_nss_nis_getsecretkey): Likewise.
42278         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
42279         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
42280         (_nss_nis_getpwuid_r): Likewise.
42281         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
42282         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
42283         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
42284         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
42285         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
42286         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
42287         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
42288         Likewise.
42289         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
42290         (_nss_nisplus_getntohost_r): Likewise.
42291         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
42292         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
42293         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
42294         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
42295         Likewise.
42296         * nis/nss_nisplus/nisplus-initgroups.c
42297         (_nss_nisplus_initgroups_dyn): Likewise.
42298         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
42299         (_nss_nisplus_getnetbyaddr_r): Likewise.
42300         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
42301         (_nss_nisplus_getprotobynumber_r): Likewise.
42302         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
42303         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
42304         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
42305         Likewise.
42306         * nis/nss_nisplus/nisplus-service.c
42307         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
42308         (_nss_nisplus_getservbyport_r): Likewise.
42309         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
42310         (_nss_nisplus_getspnam_r): Likewise.
42311         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
42312         Likewise.
42313         * nscd/aicache.c (addhstaiX): Likewise.
42314         * nscd/cache.c (cache_search, prune_cache): Likewise.
42315         * nscd/connections.c (register_traced_file, send_ro_fd)
42316         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
42317         (main_loop_epoll): Likewise.
42318         * nscd/grpcache.c (addgrbyX): Likewise.
42319         * nscd/hstcache.c (addhstbyX): Likewise.
42320         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42321         * nscd/mem.c (gc, mempool_alloc): Likewise.
42322         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
42323         (addinnetgrX): Likewise.
42324         * nscd/nscd-client.h (__nscd_acquire_maplock)
42325         (__nscd_drop_map_ref): Likewise.
42326         * nscd/nscd_getai.c (__nscd_getai): Likewise.
42327         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
42328         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
42329         Likewise.
42330         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
42331         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42332         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
42333         (__nscd_get_map_ref): Likewise.
42334         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
42335         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
42336         Likewise.
42337         * nscd/pwdcache.c (addpwbyX): Likewise.
42338         * nscd/selinux.c (preserve_capabilities): Likewise.
42339         * nscd/servicescache.c (addservbyX): Likewise.
42340         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
42341         * posix/fnmatch.c (fnmatch): Likewise.
42342         * posix/getopt.c (_getopt_internal_r): Likewise.
42343         * posix/glob.c (glob, glob_in_dir): Likewise.
42344         * posix/wordexp.c (exec_comm_child): Likewise.
42345         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
42346         (getanswer_r, gaih_getanswer_slice): Likewise.
42347         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
42348         * resolv/res_init.c: Likewise.
42349         * resolv/res_mkquery.c (res_nmkquery): Likewise.
42350         * resolv/res_query.c (__libc_res_nquery): Likewise.
42351         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
42352         Likewise.
42353         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
42354         * stdio-common/perror.c (perror): Likewise.
42355         * stdio-common/printf_fp.c (___printf_fp): Likewise.
42356         * stdio-common/tmpnam.c (tmpnam): Likewise.
42357         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42358         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
42359         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
42360         Likewise.
42361         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
42362         * stdlib/putenv.c (putenv): Likewise.
42363         * stdlib/setenv.c (__add_to_environ): Likewise.
42364         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42365         * stdlib/strtol_l.c (INTERNAL): Likewise.
42366         * string/memmem.c (memmem): Likewise.
42367         * string/strerror.c (strerror): Likewise.
42368         * string/strnlen.c (__strnlen): Likewise.
42369         * string/test-memmem.c (simple_memmem): Likewise.
42370         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
42371         * sunrpc/pm_getport.c (__get_socket): Likewise.
42372         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
42373         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
42374         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
42375         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
42376         Likewise.
42377         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
42378         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
42379         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
42380         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
42381         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
42382         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
42383         Likewise.
42384         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
42385         Likewise.
42386         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
42387         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
42388         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42389         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
42390         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
42391         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
42392         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42393         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
42394         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
42395         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
42396         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42397         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
42398         Likewise.
42399         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
42400         Likewise.
42401         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
42402         Likewise.
42403         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
42404         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42405         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
42406         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
42407         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
42408         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
42409         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42410         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
42411         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
42412         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
42413         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
42414         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42415         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42416         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
42417         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42418         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
42419         Likewise.
42420         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
42421         Likewise.
42422         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
42423         Likewise.
42424         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
42425         Likewise.
42426         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42427         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42428         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
42429         Likewise.
42430         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
42431         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
42432         * sysdeps/posix/opendir.c (__opendirat): Likewise.
42433         * sysdeps/posix/sleep.c: Likewise.
42434         * sysdeps/posix/tempname.c: Likewise.
42435         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
42436         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42437         Likewise.
42438         * sysdeps/powerpc/powerpc32/dl-machine.h
42439         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
42440         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42441         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42442         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
42443         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
42444         Likewise.
42445         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
42446         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
42447         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42448         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
42449         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42450         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
42451         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
42452         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
42453         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42454         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
42455         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
42456         (elf_machine_lazy_rel): Likewise.
42457         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42458         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
42459         (elf_machine_lazy_rel): Likewise.
42460         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
42461         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
42462         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
42463         * sysdeps/unix/grantpt.c (grantpt): Likewise.
42464         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
42465         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
42466         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
42467         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42468         Likewise.
42469         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
42470         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
42471         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
42472         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
42473         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42474         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
42475         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
42476         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
42477         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
42478         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
42479         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42480         Likewise.
42481         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
42482         (__posix_fallocate64_l64): Likewise.
42483         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
42484         (posix_fallocate): Likewise.
42485         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
42486         Likewise.
42487         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42488         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
42489         (getifaddrs_internal): Likewise.
42490         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
42491         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
42492         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
42493         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
42494         * sysdeps/unix/sysv/linux/posix_fallocate64.c
42495         (__posix_fallocate64_l64): Likewise.
42496         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
42497         Likewise.
42498         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
42499         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
42500         (__get_clockfreq): Likewise.
42501         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
42502         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
42503         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
42504         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42505         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42506         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
42507         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
42508         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
42509         Likewise.
42510         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
42511         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
42512         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
42513         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
42514         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42515         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
42516         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
42517         Likewise.
42518         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42519         (posix_fallocate): Likewise.
42520         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42521         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
42522         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
42523         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
42524         (elf_machine_rela, elf_machine_rela_relative)
42525         (elf_machine_lazy_rel): Likewise.
42526         * time/asctime.c (asctime_internal): Likewise.
42527         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
42528         * time/tzset.c (__tzset_parse_tz): Likewise.
42529         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42530         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42531         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
42532         * wcsmbs/wcsmbsload.h: Likewise.
42534         [BZ #15894]
42535         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
42537         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
42538         (arena_get2): Remove THREAD_STATS conditionals.
42539         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
42540         (__malloc_stats, int): Likewise.
42542 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
42544         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
42545         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
42547         * manual/setjmp.texi: Fix typos/grammar errors.
42549         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
42550         Only return early when n is <= 0.  Delete unused return statement.
42552         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
42553         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
42554         * debug/tst-longjmp_chk3.c: New file.
42556         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
42557         (test_main): Replace code with set_fortify_handler call.
42558         * debug/test-strcpy_chk.c: Likewise.
42559         * debug/tst-chk1.c: Likewise.
42560         * debug/tst-longjmp_chk.c: Likewise.
42561         * test-skeleton.c: Include fcntl.h & paths.h
42562         (set_fortify_handler): Define.
42564         * debug/tst-longjmp_chk.c: Add header comment and include
42565         ../test-skeleton.c.
42566         (do_test): Mark static.
42567         (TEST_FUNCTION): Define.
42569         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
42570         (IP_PMTUDISC_INTERFACE): Likewise.
42571         (IP_MULTICAST_IF): Likewise.
42572         (IP_MULTICAST_TTL): Likewise.
42573         (IP_MULTICAST_LOOP): Likewise.
42574         (IP_ADD_MEMBERSHIP): Likewise.
42575         (IP_DROP_MEMBERSHIP): Likewise.
42576         (IP_UNBLOCK_SOURCE): Likewise.
42577         (IP_BLOCK_SOURCE): Likewise.
42578         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
42579         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
42580         (IP_MSFILTER): Likewise.
42581         (MCAST_JOIN_GROUP): Likewise.
42582         (MCAST_BLOCK_SOURCE): Likewise.
42583         (MCAST_UNBLOCK_SOURCE): Likewise.
42584         (MCAST_LEAVE_GROUP): Likewise.
42585         (MCAST_JOIN_SOURCE_GROUP): Likewise.
42586         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
42587         (MCAST_MSFILTER): Likewise.
42588         (IP_MULTICAST_ALL): Likewise.
42589         (IP_UNICAST_IF): Likewise.
42591         * timezone/Makefile: Delete $(have-ksh) check.
42592         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
42593         * timezone/tzselect.ksh: Add +x mode bits.
42595         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
42596         (ANON_INODE_FS_MAGIC): Likewise.
42597         (BDEVFS_MAGIC): Likewise.
42598         (BINFMTFS_MAGIC): Likewise.
42599         (BTRFS_TEST_MAGIC): Likewise.
42600         (CRAMFS_MAGIC_WEND): Likewise.
42601         (DEBUGFS_MAGIC): Likewise.
42602         (ECRYPTFS_SUPER_MAGIC): Likewise.
42603         (EXT3_SUPER_MAGIC): Likewise.
42604         (EXT4_SUPER_MAGIC): Likewise.
42605         (FUTEXFS_SUPER_MAGIC): Likewise.
42606         (HOSTFS_SUPER_MAGIC): Likewise.
42607         (HUGETLBFS_MAGIC): Likewise.
42608         (MINIX3_SUPER_MAGIC): Likewise.
42609         (MTD_INODE_FS_MAGIC): Likewise.
42610         (NILFS_SUPER_MAGIC): Likewise.
42611         (OPENPROM_SUPER_MAGIC): Likewise.
42612         (PIPEFS_MAGIC): Likewise.
42613         (PSTOREFS_MAGIC): Likewise.
42614         (QNX6_SUPER_MAGIC): Likewise.
42615         (RAMFS_MAGIC): Likewise.
42616         (REISERFS_SUPER_MAGIC_STRING): Likewise.
42617         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
42618         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
42619         (SECURITYFS_MAGIC): Likewise.
42620         (SELINUX_MAGIC): Likewise.
42621         (SMACK_MAGIC): Likewise.
42622         (SOCKFS_MAGIC): Likewise.
42623         (SQUASHFS_MAGIC): Likewise.
42624         (STACK_END_MAGIC): Likewise.
42625         (TMPFS_MAGIC): Likewise.
42626         (USBDEVICE_SUPER_MAGIC): Likewise.
42627         (V9FS_MAGIC): Likewise.
42628         (XENFS_SUPER_MAGIC): Likewise.
42629         (CRAMFS_MAGIC): Fix typo in comment.
42630         (EXT2_SUPER_MAGIC): Update comment.
42631         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
42633 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
42635         * sysdeps/arm: Move directory from ports/sysdeps/arm.
42636         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
42637         * sysdeps/unix/sysv/linux/arm: Move directory from
42638         ports/sysdeps/unix/sysv/linux/arm.
42639         * README: Update listing for arm-*-linux-gnueabi.
42641         * README: Remove mention of am33.
42643 2014-02-07  Roland McGrath  <roland@hack.frob.com>
42645         * bits/sigset.h (__sigemptyset): Use a statement expression rather
42646         than the comma operator, to avoid "rhs of comma has no effect"
42647         compiler warnings.
42648         (__sigfillset, __sigandset, __sigorset): Likewise.
42649         * include/signal.h (__sigemptyset): Likewise.
42650         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
42652 2014-02-07  Allan McRae  <allan@archlinux.org>
42654         * version.h (RELEASE): Set to "development".
42655         (VERSION): Set to "2.19.90"
42656         * NEWS: Add 2.20 section.
42658 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
42660         [BZ #16529]
42661         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
42663 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42665         * manual/contrib.texi: Update entry for Carlos O'Donell,
42666         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
42668 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
42670         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
42672         * sysdeps/unix/sysv/linux/kernel-features.h
42673         [__LINUX_KERNEL_VERSION >= 0x020621]
42674         (__ASSUME_PROC_PID_TASK_COMM): Define.
42676 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42678         [BZ #16398]
42679         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
42680         conversion when destination buffer does not have enough space.
42681         * libio/tst-ftell-partial-wide.c: New test case.
42682         * libio/Makefile (tests): Add tst-ftell-partial-wide.
42684         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
42685         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
42686         Leonard and Allan McRae.
42688 2014-02-04  David S. Miller  <davem@davemloft.net>
42690         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
42691         32-bit.
42693 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42696         New file
42697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42698         New file
42699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42700         New file.
42701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42702         New file.
42703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42704         New file.
42705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42706         New file.
42707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42708         New file.
42709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42710         New file.
42711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42712         New file.
42713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42714         New file.
42715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42716         New file.
42717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42718         New file.
42719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42720         New file.
42722 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42724         * nptl/shlib-versions: Change powerpc*le start to 2.17.
42725         * shlib-versions: Likewise.
42727 2014-02-04  Roland McGrath  <roland@hack.frob.com>
42728             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42730         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
42731         (abilist-pattern): New variable, set to %-le.abilist.
42733         * Makerules (abilist-pattern): New variable.
42734         (vpath): Use $(abilist-pattern) in place of %.abilist.
42735         (check-abi-% pattern rule): Likewise.
42736         (check-abi, update-abi): Likewise.
42738 2014-02-04  Eric Wong  <normalperson@yhbt.net>
42740         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42742 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
42744         * manual/startup.texi: Add next, previous, and top entries for
42745         the `Program Arguments' and `Environment Variables' nodes.
42747 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
42749         * manual/macros.texi: Add comments before MTASC-safety macros.
42751         * manual/users.texi: Document MTASC-safety properties.
42753         * manual/threads.texi (pthread_key_create, pthread_key_delete)
42754         (pthread_getspecific, pthread_setspecific): Format with
42755         @deftypefun, and add @safety note.
42756         * manual/signal.texi: Move comments that analyze the above
42757         functions to their home place.
42759 2014-02-03  Allan McRae  <allan@archlinux.org>
42761         * po/sl.po: Update Slovenian translation from translation project.
42763 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
42765         * manual/time.texi (timegm): Add missing blank after @c.
42766         Reported by Joseph Myers <joseph@codesourcery.com>.
42768 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
42770         * manual/check-safety.sh: New.
42771         * manual/Makefile ($(objpfx)stamp-summary): Run it.
42773         * manual/terminal.texi: Document MTASC-safety properties.
42775         * manual/filesys.texi: Document MTASC-safety properties.
42777         * manual/errno.texi: Document MTASC-safety properties.
42779         * manual/intro.texi: Document safety identifiers and
42780         conditionals.
42782         * manual/string.texi (wcstok): Fix prototype.
42783         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
42785         * manual/time.texi: Document MTASC-safety properties.
42787         * manual/string.texi: Document MTASC-safety properties.
42789         * manual/threads.texi: Document MTASC-safety properties.
42791         * manual/stdio.texi: Document MTASC-safety properties.
42793         * manual/syslog.texi: Document MTASC-safety properties.
42795         * manual/sysinfo.texi: Document MTASC-safety properties.
42797         * manual/startup.texi: Document MTASC-safety properties.
42799         * manual/socket.texi: Document MTASC-safety properties.
42801         * manual/signal.texi: Document MTASC-safety properties.
42803 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
42805         * manual/setjmp.texi: Document MTASC-safety properties.
42807         * manual/search.texi: Document MTASC-safety properties.
42809         * manual/resource.texi: Document MTASC-safety properties.
42811         * manual/process.texi: Document MTASC-safety properties.
42813         * manual/platform.texi: Document MTASC-safety properties.
42815         * manual/pipe.texi: Document MTASC-safety properties.
42817         * manual/pattern.texi: Document MTASC-safety properties.
42819         * manual/message.texi: Document MTASC-safety properties.
42821         [BZ #12751]
42822         * manual/memory.texi: Document MTASC-safety properties.
42824         * manual/math.texi: Document MTASC-safety properties.
42826         * manual/locale.texi: Document MTASC-safety properties.
42828         * manual/llio.texi: Document MTASC-safety properties.
42830         * manual/libdl.texi: New.
42832         * manual/lang.texi: Document MTASC-safety properties.
42834         * manual/job.texi: Document MTASC-safety properties.
42836         * manual/getopt.texi: Document MTASC-safety properties.
42838         * manual/ctype.texi: Document MTASC-safety properties.
42840 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
42842         [BZ #16046]
42843         * csu/libc-tls.c (static_map): Remove variable.
42844         (__libc_setup_tls): Use main executable's link map for TLS data.
42845         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
42846         casing for LM_ID_BASE and GL(dl_nns).
42847         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
42848         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
42849         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
42850         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
42851         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
42852         member.
42853         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
42854         l_phnum members.
42856 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
42858         * manual/debug.texi: Document MTASC-safety properties.
42860 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
42862         [BZ #16510]
42863         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
42864         of __x86_64__ when disabling x87 inline functions.
42866 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
42868         * manual/charset.texi: Document MTASC-safety properties.
42870         * manual/crypt.texi: Document MTASC-safety properties.
42872         * manual/conf.texi: Document MTASC-safety properties.
42874         * manual/arith.texi: Document MTASC-safety properties.
42876         * manual/argp.texi: Document MTASC-safety properties.
42878         * manual/macros.texi: Introduce macros to document multi
42879         thread, asynchronous signal and asynchronous cancellation
42880         safety properties.
42881         * manual/intro.texi: Introduce the properties themselves.
42883 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42885         * sysdeps/sh/sh4/Makefile: New file.
42887 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
42889         * math/gen-libm-test.pl ($srcdir): New variable.
42890         ($auto_input): Use it.
42892 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42894         [BZ #16506]
42895         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
42896         access beyond array bounds when parsing netgroups file.
42898         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
42899         the old buffer before realloc.
42901 2014-01-27  Allan McRae  <allan@archlinux.org>
42903         * po/fr.po: Update French translation from translation project.
42905 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42907         * sysdeps/sh/libm-test-ulps: Regenerate.
42909 2014-01-24  David S. Miller  <davem@davemloft.net>
42911         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
42913 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42915         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
42916         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
42918 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42920         [BZ #16474]
42921         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
42922         string pointers after reallocation.
42924 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42926         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
42927         __SH4A__ instead of __SH_FPU_ANY__.
42929 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42931         * sysdeps/sh/fpu_control.h: New file.
42932         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
42933         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
42934         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
42935         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
42936         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
42937         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
42938         * sysdeps/sh/sys/ucontext.h: Remove.
42939         * sysdeps/sh/sys: Remove directory.
42941 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42943         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
42944         s390/sys/ucontext.h.
42945         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
42946         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
42948 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
42950         [BZ #15605]
42951         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
42953 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42955         [BZ#16431]
42956         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42957         Adjust the vDSO correctly for internal calls.
42958         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
42960 2014-01-20  Allan McRae  <allan@archlinux.org>
42962         * po/ca.po: Update Catalan translation from translation project.
42964 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
42966         * sysdeps/s390/sotruss-lib.c: New file.
42968 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42970         [BZ#16430]
42971         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
42972         (__GI___gettimeofday): Alias for a different internal symbol to avoid
42973         local calls issues by not having a PLT stub required for IFUNC calls.
42974         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
42976 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
42978         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
42979         * math/test-fpucw-static.c: Likewise.
42981 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42983         [BZ #16453]
42984         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
42986 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42988         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
42989         implementation for powerpc.
42991 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
42993         [BZ #14782]
42994         * sysdeps/posix/system.c (__libc_system): Do not enable
42995         asynchronous cancellation.
42997 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42999         [BZ #16427]
43000         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
43001         handling only for numbers special also in the IEEE case.
43003 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43005         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43007 2014-01-11  Allan McRae  <allan@archlinux.org>
43009         * po/bg.po: Update Bulgarian translation from translation project.
43011         * po/de.po: Update German translation from translation project.
43013 2014-01-10  Roland McGrath  <roland@hack.frob.com>
43015         * sysdeps/generic/gcc-compat.h: New file.
43017 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43019         * benchtests/asin-inputs: Correct slow inputs.
43020         * benchtests/acos-inputs: Likewise.
43022 2014-01-10  Allan McRae  <allan@archlinux.org>
43024         * po:sv.po: Update Swedish translation from translation project.
43026         * po/vi.po: Update Vietnamese translation from translation project.
43028         * po/eo.po: Update Esperanto translation from translation project.
43030         * po/cs.po: Update Czech translation from translation project.
43032         * po/nl.po: Update Dutch translation from translation project.
43034         * po/pl.po: Update Polish translation from translation project.
43036         * po/ru.po: Update Russian translation from translation project.
43038         * po/uk.po: Update Ukrainian translation from translation project.
43040 2014-01-08  Brooks Moses  <bmoses@google.com>
43042         * elf/dl-load.c: Fix comment typo.
43044 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
43046         * po/header.pot: Rename to...
43047         * po/pot.header: ... this.
43048         * po/Makefile: Use pot.header.
43050 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
43051             Maxim Kuvyrkov  <maxim@kugelworks.com>
43053         [BZ #16394]
43054         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
43055         SRC and DEST against LEN.
43057 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43059         [BZ #16414]
43060         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
43061         implementation.
43062         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
43064 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43068 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
43070         [BZ #16408]
43071         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
43072         for large positive arguments.
43074 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
43076         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43078         * math/auto-libm-test-in: Mark various tests with
43079         xfail-rounding:ldbl-128ibm.
43080         * math/auto-libm-test-out: Regenerated.
43082         [BZ #16407]
43083         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43084         Increase overflow threshold.
43086 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
43088         [BZ #14286]
43089         * stdio-common/vfprintf.c: Check for integer overflow.
43091 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43093         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
43094         the first argument and return value of __tls_get_addr_internal.
43096 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43098         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
43099         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
43101 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43103         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
43104         * sysdeps/s390/rtld-global-offsets.sym: New file.
43105         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
43106         GLIBC_2.19 symbol.
43107         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
43108         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
43109         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43110         ... this.
43111         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
43112         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
43113         ... this.
43114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43115         Regenerate.
43116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43117         Regenerate.
43118         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
43119         halfs of GPRs for high_gprs contexts.
43120         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
43121         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
43122         field.
43123         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
43124         uc_flags field.
43125         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
43126         64 bit versions:
43127         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
43128         for high GPRs (uc_high_gprs) and for future extensions
43129         (__reserved).
43130         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
43131         for future extensions (__reserved).
43132         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
43133         64 bit versions:
43134         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
43135         SC_HIGHGPRS offset definition.
43136         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
43137         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
43139         * Versions.def: Add GLIBC_2.19 for libpthread.
43140         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
43141         siglongjmp for libpthread with GLIBC_2.19 symver.
43142         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
43143         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
43144         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
43145         * sysdeps/s390/__longjmp.c: New file.
43146         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
43147         * sysdeps/s390/longjmp.c: New file.
43148         * sysdeps/s390/setjmp.S: New file.
43149         * sysdeps/s390/sigjmp.S: New file.
43150         * sysdeps/s390/v1-longjmp.c: New file.
43151         * sysdeps/s390/v1-setjmp.h: New file.
43152         * sysdeps/s390/v1-sigjmp.c: New file.
43153         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
43154         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
43155         GLIBC_2.19 version.
43156         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
43157         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
43158         versioned symbols for ____longjmp_chk.
43159         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
43160         Likewise.
43161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43162         Regenerate.
43163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43164         Regenerate.
43165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43166         Regenerate.
43167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43168         Regenerate.
43169         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
43170         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
43171         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
43172         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
43173         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
43174         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
43175         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
43176         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
43177         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
43178         * sysdeps/s390/rtld-__longjmp.c: New file.
43179         * sysdeps/s390/rtld-setjmp.S: New file.
43181 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
43183         [BZ #16400]
43184         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43185         Return -__logl (x) for small positive arguments without evaluating
43186         a polynomial.
43188 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
43190         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
43191         Rename to ...
43192         (__ptrace_peeksiginfo_args): ... this.
43193         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43194         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43195         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43197 2014-01-06  Allan McRae  <allan@archlinux.org>
43199         * inet/netinet/in.h: Fix typo in comment.
43201 2014-01-05  Andreas Jaeger  <aj@suse.de>
43203         * sysdeps/i386/fpu/libm-test-ulps: Update.
43205 2014-01-05  Allan McRae  <allan@archlinux.org>
43207         * po/libc.pot: Regenerated.
43209         * malloc/memusagestat.c: Fix gettext call formatting.
43211 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
43213         * nscd/nscd.c: Improve usage() output.
43215 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
43217         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
43218         * sysdeps/unix/sysv/linux/configure: Regenerated.
43219         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
43220         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
43222 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43224         [BZ #16390]
43225         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43226         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
43228 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43230         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
43231         extra tokens at end of #undef directive.
43232         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
43233         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
43234         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43236 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43238         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43240         * math/auto-libm-test-in: Mark various tests with
43241         xfail-rounding:ldbl-128ibm.
43242         * math/auto-libm-test-out: Regenerated.
43244 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
43246         [BZ #16386]
43247         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
43248         numbers with subnormal high part when calculating exponent.
43250         [BZ #16385]
43251         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
43252         fabs.
43254         [BZ #16384]
43255         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
43256         M_LN2l.
43257         (__ieee754_acoshl): Use __log1pl not __log1p.
43259 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
43261         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
43262         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
43263         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
43264         (grow_heap, heap_trim, _int_new_arena, get_free_list)
43265         (reused_arena, arena_get2): Convert to GNU style.
43266         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
43267         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
43268         (memalign_check, __malloc_set_state): Likewise.
43269         * malloc/mallocbug.c (main): Likewise.
43270         * malloc/malloc.c (__malloc_assert, malloc_init_state)
43271         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
43272         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
43273         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
43274         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
43275         (__posix_memalign, malloc_info): Likewise.
43276         * malloc/malloc.h: Likewise.
43277         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
43278         (mallochook, memalignhook, reallochook, mabort): Likewise.
43279         * malloc/mcheck.h: Likewise.
43280         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
43281         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
43282         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
43283         * malloc/morecore.c (__default_morecore): Likewise.
43284         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
43285         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
43286         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
43287         (print_and_abort): Likewise.
43288         * malloc/obstack.h: Likewise.
43289         * malloc/set-freeres.c (__libc_freeres): Likewise.
43290         * malloc/tst-mallocstate.c (main): Likewise.
43291         * malloc/tst-mtrace.c (main): Likewise.
43292         * malloc/tst-realloc.c (do_test): Likewise.
43294 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43296         [BZ #16366]
43297         * nscd/netgroupcache.c (do_notfound): New function.
43298         (addgetnetgrentX): Use it.
43300         [BZ # 16365]
43301         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
43302         NSS_STATUS_NOTFOUND.
43304 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
43306         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43309 2014-01-01  Allan McRae  <allan@archlinux.org>
43311         * scripts/update-copyrights: Update configure input file suffix.
43313         * NEWS: Update copyright year.
43314         * catgets/gencat.c: Likewise.
43315         * csu/version.c: Likewise.
43316         * debug/catchsegv.sh: Likewise.
43317         * debug/pcprofiledump.c: Likewise.
43318         * debug/xtrace.sh: Likewise.
43319         * elf/ldconfig.c: Likewise.
43320         * elf/ldd.bash.in: Likewise.
43321         * elf/pldd.c: Likewise.
43322         * elf/sotruss.ksh: Likewise.
43323         * elf/sprof.c: Likewise.
43324         * iconv/iconv_prog.c: Likewise.
43325         * iconv/iconvconfig.c: Likewise.
43326         * locale/programs/locale.c: Likewise.
43327         * locale/programs/localedef.c: Likewise.
43328         * login/programs/pt_chown.c: Likewise.
43329         * malloc/memusage.sh: Likewise.
43330         * malloc/memusagestat.c: Likewise.
43331         * malloc/mtrace.pl: Likewise.
43332         * manual/libc.texinfo: Likewise.
43333         * nscd/nscd.c: Likewise.
43334         * nss/getent.c: Likewise.
43335         * nss/makedb.c: Likewise.
43336         * posix/getconf.c: Likewise.
43337         * scripts/test-installation.pl: Likewise.
43339         * All files with FSF copyright notices: Update copyright dates
43340         using scripts/update-copyrights.
43341         * intl/plural.c: Regenerated.
43342         * locale/programs/charmap-kw.h: Likewise.
43343         * locale/programs/locfile-kw.h: Likewise.
43345 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
43347         * sysdeps/unix/sysv/linux/configure: Regenerated.
43348         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
43349         the linux/fanotify.h header.
43350         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
43351         HAVE_LINUX_FANOTIFY_H is defined.
43353 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43355         * benchtests/cos-inputs: New inputs.
43356         * benchtests/sin-inputs: Likewise.
43358         * benchtests/atan-inputs: New inputs. Fix name of multiple
43359         precision fallback inputs.
43361         * benchtests/atanh-inputs: New inputs.
43362         * benchtests/tanh-inputs: Likewise.
43364         * benchtests/acosh-inputs: New inputs.
43365         * benchtests/asinh-inputs: Likewise.
43367         * benchtests/cosh-inputs: New inputs.
43368         * benchtests/sinh-inputs: Likewise.
43370         * benchtests/acos-inputs: Add more inputs.
43371         * benchtests/asin-inputs: Likewise.
43373 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
43375         [BZ #16375]
43376         * manual/arith.texi: Fix spelling.
43377         * manual/charset.texi: Likewise.
43378         * manual/errno.texi: Likewise.
43379         * manual/filesys.texi: Likewise.
43380         * manual/lang.texi: Likewise.
43381         * manual/llio.texi: Likewise.
43382         * manual/locale.texi: Likewise.
43383         * manual/message.texi: Likewise.
43384         * manual/resource.texi: Likewise.
43385         * manual/search.texi: Likewise.
43386         * manual/setjmp.texi: Likewise.
43387         * manual/stdio.texi: Likewise.
43388         * manual/string.texi: Likewise.
43389         * manual/sysinfo.texi: Likewise.
43390         * manual/time.texi: Likewise.
43392 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
43394         * po/sl.po: New file.
43396 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
43398         * .gitignore: Add core/.gdbinit/.gdb_history.
43400 2013-12-27  Allan McRae  <allan@archlinux.org>
43402         [BZ #16369]
43403         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
43404         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
43406 2013-12-24  Brooks Moses  <bmoses@google.com>
43408         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
43409         all compilers that claim C++98 compliance, not just GCC.
43410         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
43411         Likewise.
43413 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43415         * NEWS: Restore accidentally deleted bug-fix entries.
43417 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43418             Ondřej Bílka  <neleai@seznam.cz>
43420         [BZ #15073]
43421         * malloc/malloc.c (_int_free): Perform sanity check only if we
43422         have_lock.
43424 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
43426         [BZ #12986]
43427         * manual/stdio.texi (String Input Conversions): Clarify that character
43428         classes are not supported.
43430 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43434 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
43436         [BZ #16337]
43437         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43438         Calculate results for small negative arguments directly rather
43439         than using reflection formula with special underflow handling.
43441         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
43442         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
43443         sysdeps/unix/bsd/bsd4.4/syscalls.list.
43444         (fchflags): Likewise.
43445         (revoke): Likewise.
43446         (setlogin): Likewise.
43447         (sigaltstack): Likewise.
43448         (wait4): Likewise.
43449         (sigblock): Remove.
43450         (sigsetmask): Likewise.
43451         (wait3): Likewise.
43452         (waitpid): Likewise.
43453         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
43454         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
43455         file.
43456         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
43457         * sysdeps/unix/bsd/Makefile: ... here.
43458         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
43459         * sysdeps/unix/bsd/Versions: ... here.
43460         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
43461         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
43462         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
43463         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
43464         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
43465         * sysdeps/unix/bsd/sigblock.c: ... here.
43466         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
43467         * sysdeps/unix/bsd/sigsetmask.c: ... here.
43468         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
43469         * sysdeps/unix/bsd/sigvec.c: ... here.
43470         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
43471         * sysdeps/unix/bsd/tcdrain.c: ... here.
43472         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
43473         * sysdeps/unix/bsd/tcgetattr.c: ... here.
43474         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
43475         * sysdeps/unix/bsd/tcsetattr.c: ... here.
43476         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
43477         * sysdeps/unix/bsd/wait.c: ... here.
43478         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
43479         * sysdeps/unix/bsd/wait3.c: ... here.
43480         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
43481         * sysdeps/unix/bsd/waitpid.c: ... here.
43483 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
43485         [BZ #16356]
43486         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
43487         round-to-nearest for [!USE_AS_EXPM1L].
43488         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
43489         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
43490         more tests of exp and exp10.  Expect some exp10 tests to miss
43491         exceptions or fail in directed rounding modes.
43492         * math/auto-libm-test-out: Regenerated.
43493         * math/libm-test.inc (exp10_tonearest_test_data): New array.
43494         (exp10_test_tonearest): New function.
43495         (exp10_towardzero_test_data): New array.
43496         (exp10_test_towardzero): New function.
43497         (exp10_downward_test_data): New array.
43498         (exp10_test_downward): New function.
43499         (exp10_upward_test_data): New array.
43500         (exp10_test_upward): New function.
43501         (main): Call the new functions.
43502         * sysdeps/i386/fpu/libm-test-ulps: Update.
43503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43505 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
43507         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
43508         asinh, atan, atan2, atanh, cbrt, cos and cosh.
43509         * math/auto-libm-test-out: Regenerated.
43510         * math/libm-test.inc (acosh_test_data): Add more tests.
43511         (atanh_test_data): Likewise.
43512         (ceil_test_data): Likewise.
43513         (copysign_test_data): Likewise.
43514         * sysdeps/i386/fpu/libm-test-ulps: Update.
43515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43517         * timezone/checktab.awk: Update from tzcode 2013i.
43518         * timezone/private.h: Likewise.
43519         * timezone/scheck.c: Likewise.
43520         * timezone/tzfile.h: Likewise.
43521         * timezone/tzselect.ksh: Likewise.
43522         * timezone/zdump.c: Likewise.
43523         * timezone/zic.c: Likewise.
43525         * math/auto-libm-test-in: Add tests of cpow.
43526         * math/auto-libm-test-out: Regenerated.
43527         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
43528         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43529         mpc_cc_c.
43530         (func_calc_desc): Add mpc_cc_c union field.
43531         (test_functions): Add cpow.
43532         (special_fill_2pi): New function.
43533         (special_real_inputs): Add 2pi.
43534         (calc_generic_results): Handle mpc_cc_c.
43535         * sysdeps/i386/fpu/libm-test-ulps: Update.
43536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43538         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
43539         csqrt, ctan and ctanh.
43540         * math/auto-libm-test-out: Regenerated.
43541         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43542         (TEST_COND_x86): Likewise.
43543         (ccos_test_data): Use AUTO_TESTS_c_c.
43544         (ccosh_test_data): Likewise.
43545         (cexp_test_data): Likewise.
43546         (clog_test_data): Likewise.
43547         (csqrt_test_data): Likewise.
43548         (ctan_test_data): Likewise.
43549         (ctan_tonearest_test_data): Likewise.
43550         (ctan_towardzero_test_data): Likewise.
43551         (ctan_downward_test_data): Likewise.
43552         (ctan_upward_test_data): Likewise.
43553         (ctanh_test_data): Likewise.
43554         (ctanh_tonearest_test_data): Likewise.
43555         (ctanh_towardzero_test_data): Likewise.
43556         (ctanh_downward_test_data): Likewise.
43557         (ctanh_upward_test_data): Likewise.
43558         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43559         mpc_c_c.
43560         (func_calc_desc): Add mpc_c_c union field.
43561         (FUNC_mpc_c_c): New macro.
43562         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
43563         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
43564         ctanh.
43565         (special_fill_min_subnorm_p120): New function.
43566         (special_real_inputs): Add min_subnorm_p120.
43567         (calc_generic_results): Handle mpc_c_c.
43568         * sysdeps/i386/fpu/libm-test-ulps: Update.
43569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43571 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43573         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
43574         (do_sin_slow): New functions.
43575         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
43576         (cslow2, csloww1, csloww2): Use the new functions.
43578         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
43579         Use M to change sign of result instead of X.  Assume X is
43580         positive.
43581         (csloww1): Likewise.
43582         (__sin): Adjust.
43583         (__cos): Adjust.
43585         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
43586         arguments A and DA.
43587         (__sin): Adjust.
43588         (__cos): Likewise.
43590         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
43591         (__cos): Likewise.
43592         (sloww1): Don't adjust sign of DX.
43593         (csloww1): Likewise.
43594         (sloww2): Use X directly and don't adjust sign of DX.
43595         (csloww2): Likewise.
43597 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43599         * math/auto-libm-test-in: Add tests of cabs and carg.
43600         * math/auto-libm-test-out: Regenerated.
43601         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
43602         (carg_test_data): Likewise.
43603         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43604         mpc_c_f.
43605         (func_calc_desc): Add mpc_c_f union field.
43606         (test_functions): Add cabs and carg.
43607         (calc_generic_results): Handle mpc_c_f.
43609         * sysdeps/powerpc/powerpc32/libgcc-compat.S
43610         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
43611         as a macro and a compat symbol.
43612         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43613         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43614         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43615         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43616         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
43617         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
43618         not use .hidden.
43619         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
43620         Likewise.
43621         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
43622         Likewise.
43623         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
43624         Likewise.
43625         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
43626         Likewise.
43627         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
43628         Likewise.
43629         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
43630         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
43631         from GLIBC_2.3.2.
43633 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43637 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43639         * manual/texinfo.tex: Update to version 2013-11-26.10 with
43640         trailing whitespace removed.
43641         * scripts/config.guess: Update to version 2013-11-29.
43642         * scripts/config.sub: Update to version 2013-10-01.
43644         * math/auto-libm-test-in: Add tests of sincos.
43645         * math/auto-libm-test-out: Regenerated.
43646         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
43647         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43648         mpfr_f_11.
43649         (func_calc_desc): Add mpfr_f_11 union field.
43650         (test_functions): Add sincos.
43651         (calc_generic_results): Handle mpfr_f_11.
43652         * sysdeps/i386/fpu/libm-test-ulps: Update.
43653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43655 2013-12-19  Andreas Schwab  <schwab@suse.de>
43657         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
43658         CALL_MCOUNT.
43659         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43660         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
43661         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
43663 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43665         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
43666         * sysdeps/i386/fpu/libm-test-ulps: Update.
43667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43669         [BZ #16293]
43670         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
43671         round-to-nearest mode when using frndint.
43672         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
43673         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43674         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43675         Likewise.
43676         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
43677         sinh test to fail.
43678         * math/auto-libm-test-out: Regenerated.
43679         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
43680         (TEST_COND_x86): Likewise.
43681         (expm1_tonearest_test_data): New array.
43682         (expm1_test_tonearest): New function.
43683         (expm1_towardzero_test_data): New array.
43684         (expm1_test_towardzero): New function.
43685         (expm1_downward_test_data): New array.
43686         (expm1_test_downward): New function.
43687         (expm1_upward_test_data): New array.
43688         (expm1_test_upward): New function.
43689         (main): Run the new test functions.
43690         * sysdeps/i386/fpu/libm-test-ulps: Update.
43691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43693         * include/features.h: Update comment documenting feature test
43694         macros.  Mention _DEFAULT_SOURCE in comment.
43695         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
43696         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
43697         _BSD_SOURCE and _SVID_SOURCE.
43698         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
43699         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
43700         !_SVID_SOURCE]: Likewise.
43701         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43702         (__USE_POSIX_IMPLICITLY): Define.
43703         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43704         (_POSIX_SOURCE): Undefine and redefine.
43705         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43706         (_POSIX_C_SOURCE): Likewise.
43707         * manual/creature.texi (_DEFAULT_SOURCE): Document.
43708         (Feature Test Macros): Update documentation of default features.
43710 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43712         * benchtests/Makefile: Add bench-strtok.
43713         * benchtests/bench-strtok.c: New file: strtok benchtest.
43715 2013-12-19  Allan McRae  <allan@archlinux.org>
43717         * manual/install.texi: Suppress menu for plain text output.
43718         * INSTALL: Regenerated.
43720 2013-12-18  Brooks Moses  <bmoses@google.com>
43722         [BZ #15846]
43723         * misc/getauxval.c: Include errno.h.
43724         (__getauxval): Set errno to ENOENT if the requested type is not
43725         found.
43726         * misc/sys/auxv.h (getauxval): Document that it may set errno;
43727         don't declare with __attribute_const__.
43728         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
43729         * manual/startup.texi: Document that getauxval sets errno.
43731 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43733         * math/auto-libm-test-in: Add tests of jn and yn.
43734         * math/auto-libm-test-out: Regenerated.
43735         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
43736         (yn_test_data): Likewise.
43737         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43738         mpfr_if_f.
43739         (func_calc_desc): Add mpfr_if_f union field.
43740         (FUNC_mpfr_if_f): New macro.
43741         (test_functions): Add jn and yn.
43742         (calc_generic_results): Assert type of second input for
43743         mpfr_ff_f.  Handle mpfr_if_f.
43744         (output_for_one_input_case): Disable all checking for arguments
43745         fitting floating-point types in case of an integer argument.
43746         * sysdeps/i386/fpu/libm-test-ulps: Update.
43747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43750         Don't expect fegetround reference in libm.so.
43752 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43754         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
43755         $(config-cflags-nofma).
43757 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43759         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
43760         * math/auto-libm-test-out: Regenerated.
43762         [BZ #16338]
43763         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
43764         to determine exponent and adjust argument to have exponent of -1.
43765         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
43766         log2.
43767         * math/auto-libm-test-out: Regenerated.
43768         * sysdeps/i386/fpu/libm-test-ulps: Update.
43769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43771 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
43773         * manual/probes.texi: Remove cases when per-thread arenas are
43774         disabled.
43776 2013-12-18  Andreas Schwab  <schwab@suse.de>
43778         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
43779         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
43780         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
43781         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
43782         * sysdeps/i386/i686/multiarch/Makefile: Update.
43783         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
43785 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43787         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
43788         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
43790 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
43792         [BZ #15968]
43793         Support TZ transition times < 00:00:00.
43794         This is needed for version-3 tz-format files; it supports time
43795         stamps past 2037 for America/Godthab (the only entry in the tz
43796         database for which this change is relevant).
43797         * manual/time.texi (TZ Variable): Document transition times
43798         from -167:59:59 through -00:00:01.
43799         * time/tzset.c (tz_rule): Time of day is now signed.
43800         (__tzset_parse_tz): Parse negative time of day.
43802         Document TZ transition times >= 25:00:00.
43803         * manual/time.texi (TZ Variable): Document transition times from
43804         25:00:00 through 167:59:59.  These are already supported, and this
43805         support will help with version-3 tz-format files.
43807         * manual/time.texi (TZ Variable): Modernize North America example
43808         to reflect current (i.e., 2007-and-later) daylight saving rules.
43810         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
43812 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43814         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
43815         * sysdeps/unix/bsd/bits/stat.h: Likewise.
43816         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
43817         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43818         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
43819         * sysdeps/unix/bsd/bsdstat.h: Likewise.
43820         * sysdeps/unix/bsd/clock.c: Likewise.
43821         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
43822         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
43823         * sysdeps/unix/bsd/init-posix.c: Likewise.
43824         * sysdeps/unix/bsd/poll.c: Likewise.
43825         * sysdeps/unix/bsd/ptsname.c: Likewise.
43826         * sysdeps/unix/bsd/seekdir.c: Likewise.
43827         * sysdeps/unix/bsd/setegid.c: Likewise.
43828         * sysdeps/unix/bsd/seteuid.c: Likewise.
43829         * sysdeps/unix/bsd/setgid.c: Likewise.
43830         * sysdeps/unix/bsd/setrgid.c: Likewise.
43831         * sysdeps/unix/bsd/setruid.c: Likewise.
43832         * sysdeps/unix/bsd/setsid.c: Likewise.
43833         * sysdeps/unix/bsd/setuid.c: Likewise.
43834         * sysdeps/unix/bsd/sigaction.c: Likewise.
43835         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
43836         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
43837         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
43838         * sysdeps/unix/bsd/telldir.c: Likewise.
43839         * sysdeps/unix/bsd/times.c: Likewise.
43840         * sysdeps/unix/bsd/usleep.c: Likewise.
43842         * misc/Makefile (install-lib): Remove libbsd-compat.a.
43843         ($(objpfx)libbsd-compat.a): Remove rule.
43845         * include/features.h (__FAVOR_BSD): Do not define.
43846         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
43847         features conflicting with POSIX.
43848         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
43849         (_BSD_SOURCE): Remove description of not being a subset of other
43850         feature test macros.
43851         * manual/job.texi (getpgrp): Do not document BSD version.
43852         (getpgid): Do not document by reference to BSD getpgrp.
43853         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
43854         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
43855         * signal/signal.h [__FAVOR_BSD]: Likewise.
43856         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
43857         instead of making contents conditional on [__FAVOR_BSD].
43858         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
43860 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43864 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43866         [BZ #16314]
43867         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
43868         values below 2**-450, not 2**-500.
43869         * math/auto-libm-test-in: Don't allow spurious underflow from
43870         hypot.
43871         * math/auto-libm-test-out: Regenerated.
43873         [BZ #16316]
43874         [BZ #16330]
43875         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
43876         values of ha and hb and sort them after adjusting subnormal
43877         arguments.
43878         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43879         Likewise.
43880         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43881         values of ea and eb and sort them after adjusting subnormal
43882         arguments.
43883         * math/auto-libm-test-in: Do not expect some hypot tests of
43884         subnormals to fail.  Add more hypot tests.
43885         * math/auto-libm-test-out: Regenerated.
43887 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43889         [BZ #13304]
43890         * sysdeps/sh/s_fma.c: New file.
43891         * sysdeps/sh/s_fmaf.c: New file.
43892         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
43893         version.
43894         * sysdeps/sh/Implies: Add sh/soft-fp.
43896 2013-12-16  Roland McGrath  <roland@hack.frob.com>
43898         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
43899         level of indirection to members `objname', `errstring', `malloced'.
43900         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
43901         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
43902         it as the __longjmp argument (just pass 1 instead).
43903         (_dl_catch_error): Initialize C with argument pointers and address of
43904         volatile local ERRCODE rather than copying values out of C at return.
43906 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
43908         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
43909         * math/auto-libm-test-out: Regenerated.
43910         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
43911         (hypot_test_data): Likewise.
43912         (pow_test_data): Likewise.
43913         (pow_tonearest_test_data): Likewise.
43914         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43915         mpfr_ff_f.
43916         (func_calc_desc): Add mpfr_ff_f union field.
43917         (FUNC_mpfr_ff_f): New macro.
43918         (test_functions): Add atan2, hypot and pow.
43919         (special_fill_min): New function.
43920         (special_fill_minus_min): Likewise.
43921         (special_fill_min_subnorm): Likewise.
43922         (special_fill_minus_min_subnorm): Likewise.
43923         (special_real_inputs): Add min, -min, min_subnorm and
43924         -min_subnorm.
43925         (calc_generic_results): Handle mpfr_ff_f.
43926         * sysdeps/i386/fpu/libm-test-ulps: Update.
43927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43929 2013-12-16  Will Newton  <will.newton@linaro.org>
43931         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
43932         (Aligned Memory Blocks): Add documentation for aligned_alloc
43933         and suggest it as an alternative to posix_memalign.
43934         (Hooks for Malloc): Document __memalign_hook is also called
43935         for aligned_alloc.  (Summary of Malloc): Add summary for
43936         aligned alloc.  Document __memalign_hook is also called
43937         for aligned_alloc.
43939 2013-12-16  Will Newton  <will.newton@linaro.org>
43941         * manual/memory.texi (Malloc Examples): Clarify default
43942         alignment documentation.  Suggest posix_memalign rather
43943         than memalign or valloc.
43944         (Aligned Memory Blocks): Remove suggestion to use memalign
43945         or valloc.  Remove obsolete comment about BSD.
43946         Document memalign errno values and mark the function obsolete.
43947         Document posix_memalign returned error codes.  Mark valloc
43948         as obsolete.  (Hooks for Malloc): __memalign_hook is also
43949         called for posix_memalign and valloc.
43950         (Summary of Malloc): Add posix_memalign to function summary.
43951         __memalign_hook is also called for posix_memalign and valloc.
43953 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43955         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
43956         TAYLOR_SIN.
43957         (__sin): Adjust.
43958         (__cos): Likewise.
43959         (sloww): Use mynumber union.  Expand ternary operator into
43960         if-else statements.
43961         (cslow): use mynumber union.
43963 2013-12-16  Allan McRae  <allan@archlinux.org>
43965         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
43966         * configure: Regenerated.
43968         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
43970         [BZ #14120]
43971         * configure.ac: Added --enable-maintainer-mode. Check for
43972         autoconf when enabled.
43973         * configure: Regenerated.
43975         * nscd/nscd.service: New file.
43976         * nscd/nscd.tmpfiles: New file.
43978 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
43980         [BZ #12100]
43981         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
43982         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
43983         * sysdeps/x86_64/multiarch/strstr.c: ... here.
43984         (strstr): Add __strstr_sse2_unaligned ifunc.
43985         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
43986         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
43987         (strcasestr): Remove __strcasestr_sse42 ifunc.
43988         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
43989         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43990         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43992 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43994         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
43995         * sysdeps/sh/bits/fenv.h: ... here.
43996         * sysdeps/sh/sh4/fpu/bits: Remove directory.
43998 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44000         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
44002         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
44003         hypotf multiarch implementations.
44004         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
44005         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
44006         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
44007         multiarch hypot for PPC64.
44008         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
44009         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
44010         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
44011         multiarch hypotf for PPC64.
44013         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
44014         modff multiarch implementations.
44015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
44016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
44017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
44018         multiarch modf for PPC64.
44019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
44020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
44021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
44022         multiarch modff for PPC64.
44024         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
44025         and logl multiarch implementations.
44026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
44027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
44028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
44029         multiarch logb for PPC64.
44030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
44031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
44032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
44033         multiarch logb for PPC64.
44034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
44035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
44036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
44037         multiarch logb for PPC64.
44039         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
44040         isinff multiarch implementation.
44041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
44042         file.
44043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
44044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
44045         multiarch isinf for PPC64.
44046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
44047         file.
44048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
44049         multiarch isinff for PPC64.
44051         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
44052         finitef multiarch implementation.
44053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
44054         file.
44055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
44056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
44057         multiarch finite for PPC64.
44058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
44059         file.
44060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
44061         multiarch finitef for PPC64.
44063         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
44064         lrint multiarch implementation.
44065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
44066         file.
44067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
44068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
44069         multiarch llrint for PPC64.
44070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
44071         multiarch lrint for PPC64.
44073         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
44074         copysignf multiarch implementation.
44075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
44076         file.
44077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
44078         file.
44079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
44080         multiarch copysign for PPC64.
44081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
44082         multiarch copysignf for PPC64.
44084         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
44085         multiarch implementation.
44086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
44087         file.
44088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
44089         file.
44090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
44091         file.
44092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
44093         file.
44094         multiarch llround for PPC64.
44095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
44096         multiarch trunc for PPC64.
44097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
44098         multiarch truncf for PPC64.
44100         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
44101         multiarch implementation.
44102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
44103         file.
44104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
44105         file.
44106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
44107         file.
44108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
44109         file.
44110         multiarch llround for PPC64.
44111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
44112         multiarch round for PPC64.
44113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
44114         multiarch roundf for PPC64.
44116         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
44117         multiarch implementation.
44118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
44119         file.
44120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
44121         file.
44122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
44123         file.
44124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
44125         file.
44126         multiarch llround for PPC64.
44127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
44128         multiarch floor for PPC64.
44129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
44130         multiarch floorf for PPC64.
44132         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
44133         multiarch implementation.
44134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
44135         file.
44136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
44137         file.
44138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
44139         file.
44140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
44141         file.
44142         multiarch llround for PPC64.
44143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
44144         multiarch ceil for PPC64.
44145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
44146         multiarch ceilf for PPC64.
44148         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44149         multiarch implementation.
44150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
44151         file.
44152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
44153         file.
44154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
44155         file.
44156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
44157         multiarch llround for PPC64.
44158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
44159         multiarch lround for PPC64.
44161         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44162         multiarch implementation.
44163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
44164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
44165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
44166         file.
44167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
44168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
44169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
44170         multiarch isnan for PPC64.
44171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
44172         multiarch isnanf for PPC64.
44174         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
44175         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
44176         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
44177         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
44178         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
44179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
44181         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
44182         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44183         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44184         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
44187         multiarch implementations.
44188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44189         (__libc_ifunc_impl_list): Likewise.
44190         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
44191         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
44192         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
44193         multiarch stpcpy for PPC64.
44195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
44196         multiarch implementations.
44197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44198         (__libc_ifunc_impl_list): Likewise.
44199         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
44200         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
44201         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
44202         multiarch strcpy for PPC64.
44204         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
44205         redefine function name.
44206         (_wordcopy_fwd_dest_aligned): Likewise.
44207         (_wordcopy_bwd_aligned): Likewise.
44208         (_wordcopy_bwd_dest_aligned): Likewise.
44209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
44210         multiarch implementations.
44211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44212         (__libc_ifunc_impl_list): Likewise.
44213         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
44214         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
44215         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
44216         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
44217         multiarch wcscpy for PPC64.
44219         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
44220         multiarch implementations.
44221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44222         (__libc_ifunc_impl_list): Likewise.
44223         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
44224         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
44225         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
44226         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
44227         multiarch wcscpy for PPC64.
44229         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
44230         multiarch implementations.
44231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44232         (__libc_ifunc_impl_list): Likewise.
44233         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
44234         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
44235         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
44236         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
44237         multiarch wcsrchr for PPC64.
44239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
44240         multiarch implementations.
44241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44242         (__libc_ifunc_impl_list): Likewise.
44243         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
44244         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
44245         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
44246         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
44247         multiarch wcschr for PPC64.
44249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
44250         multiarch implementations.
44251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44252         (__libc_ifunc_impl_list): Likewise.
44253         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
44254         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
44255         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
44256         multiarch strchrnul for PPC64.
44258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
44259         implementations.
44260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44261         (__libc_ifunc_impl_list): Likewise.
44262         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
44263         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
44264         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
44265         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
44266         strchr for PPC64.
44268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
44269         implementations.
44270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44271         (__libc_ifunc_impl_list): Likewise.
44272         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
44273         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
44274         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
44275         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
44276         strncmp for PPC64.
44278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
44279         multiarch implementations.
44280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44281         (__libc_ifunc_impl_list): Likewise.
44282         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
44283         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
44284         strncasecmp for PPC64.
44285         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
44286         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
44287         multiarch strncasecmp_l for PPC64.
44289         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
44290         multiarch implementations.
44291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44292         (__libc_ifunc_impl_list): Likewise.
44293         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
44294         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
44295         multiarch strcasecmp for PPC64.
44296         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
44297         file.
44298         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
44299         multiarch strcasecmp_l for PPC64.
44301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
44302         implementations.
44303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44304         (__libc_ifunc_impl_list): Likewise.
44305         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
44306         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
44307         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
44308         strnlen for PPC64.
44310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
44311         implementations.
44312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44313         (__libc_ifunc_impl_list): Likewise.
44314         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
44315         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
44316         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
44317         strlen for PPC64.
44319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
44320         implementations.
44321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44322         (__libc_ifunc_impl_list): Likewise.
44323         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
44324         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
44325         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
44326         rawmemrchr for PPC64.
44328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
44329         implementation.
44330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44331         (__libc_ifunc_impl_list): Likewise.
44332         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
44333         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
44334         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
44335         memrchr for PPC64.
44337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
44338         implementation.
44339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44340         (__libc_ifunc_impl_list): Likewise.
44341         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
44342         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
44343         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
44344         memchr for PPC64.
44346         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
44347         implementation.
44348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44349         (__libc_ifunc_impl_list): Likewise.
44350         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
44351         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
44352         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
44353         mempcpy for PPC64.
44355         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
44356         avoid cretion of __bzero symbol.
44357         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
44358         Likewise.
44359         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
44360         Likewise.
44361         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
44362         Likewise.
44363         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
44364         multiarch implementations.
44365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44366         (__libc_ifunc_impl_list): Likewise.
44367         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
44368         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
44369         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
44370         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
44371         bzero for PPC32.
44372         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
44373         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
44374         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
44375         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
44376         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
44377         memset for PPC64.
44378         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
44380         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
44381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
44382         implementations.
44383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44384         (__libc_ifunc_impl_list): Likewise.
44385         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
44386         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
44387         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
44388         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
44389         memcmp for PPC64.
44391         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
44392         multiarch for POWER/PPC64.
44393         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
44394         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
44395         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
44396         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
44397         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
44398         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
44399         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
44400         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
44401         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
44402         memcpy for PPC64.
44404         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
44405         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
44406         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
44407         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
44408         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
44409         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
44410         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
44411         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
44412         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
44413         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
44414         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
44415         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
44416         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
44417         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
44418         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
44419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
44420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
44421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
44422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
44423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
44424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
44425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
44427 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44429         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
44431 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44433         * benchtests/Makefile (bench): Add exp2 and log2.
44434         (LDLIBS-bench-exp2): Add -lm.
44435         (LDLIBS-bench-log2): Likewise.
44436         * benchtests/exp2-inputs: New inputs file.
44437         * benchtests/log2-inputs: New inputs file.
44438         * benchtests/log-inputs: Add new inputs.
44439         * benchtests/tan-inputs: Likewise.
44441 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44443         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
44444         definition...
44445         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
44446         (csloww2): ... from here.
44448         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
44449         instead of structures.
44450         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
44451         (POLYNOMIAL): Likewise.
44452         (TAYLOR_SLOW): Likewise.
44453         (__sin): Likewise.
44454         (__cos): Likewise.
44455         (slow1): Likewise.
44456         (slow2): Likewise.
44457         (sloww): Likewise.
44458         (sloww1); Likewise.
44459         (sloww2): Likewise.
44460         (bsloww1): Likewise.
44461         (bsloww2): Likewise.
44462         (cslow2): Likewise.
44463         (csloww): Likewise.
44464         (csloww1): Likewise.
44465         (csloww2): Likewise.
44467 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
44469         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
44470         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
44471         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
44472         * malloc/hooks.c (realloc_check): Likewise.
44474         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
44475         * malloc/arena.c: Remove PER_THREAD conditional.
44476         [!PER_THREAD]: Remove code.
44477         (ptmalloc_unlock_all2): Likewise.
44478         (ptmalloc_init): Likewise.
44479         (_int_new_arena): Likewise.
44480         (arena_get2): Likewise.
44481         * malloc/hooks.c (__malloc_get_state): Likewise.
44482         (__malloc_set_state): Likewise.
44483         * malloc/malloc.c: Likewise.
44484         (struct malloc_state): Likewise.
44485         (struct malloc_par): Likewise.
44486         (__libc_realloc): Likewise.
44487         (__libc_mallopt): Likewise.
44489 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44491         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
44493 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
44495         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
44496         macro to a function.  Check for zero perturb_byte.
44497         (_int_malloc, _int_free): Remove zero perturb_byte checks.
44499         * malloc/malloc.c: (force_reg): Remove.
44500         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
44501         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
44502         force_reg by atomic_forced_read.
44503         * malloc/arena.c (ptmalloc_init): Likewise.
44504         * malloc/hooks.c (top_check): Likewise.
44506 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44510 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
44512         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44514 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
44516         * math/auto-libm-test-in: Add tests of lgamma.
44517         * math/auto-libm-test-out: Regenerated.
44518         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
44519         (M_LOG_2_SQRT_PIl): Likewise.
44520         (lgamma_test_data): Use AUTO_TESTS_f_f1.
44521         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44522         mpfr_f_f1.
44523         (func_calc_desc): Add mpfr_f_f1 union field.
44524         (ARGS1): New macro.
44525         (ARGS2): Likewise.
44526         (ARGS3): Likewise.
44527         (ARGS4): Likewise.
44528         (RET1): Likewise.
44529         (RET2): Likewise.
44530         (CALC): Likewise.
44531         (FUNC): Likewise.
44532         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
44533         (test_functions): Add lgamma.
44534         (calc_generic_results): Handle mpfr_f_f1.
44535         * sysdeps/i386/fpu/libm-test-ulps: Update.
44536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44538 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44540         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
44541         __mpn_add_n for PowerPC64/POWER7.
44542         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
44543         __mpn_sub_n for PowerPC64/POWER7.
44545         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
44546         __mpn_addmul_1 for PowerPC64.
44547         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
44548         __mpn_submul_1 for PowerPC64.
44549         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
44550         for PowerPC64.
44551         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
44552         for PowerPC64.
44554 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
44556         [BZ #15089]
44557         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
44559 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44561         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
44563         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
44564         add multiarch folders.
44565         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
44566         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
44567         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
44568         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
44569         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
44570         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
44571         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
44572         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
44573         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
44574         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
44575         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
44576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
44577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
44578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
44579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
44580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
44581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
44583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44584         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
44585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
44586         New file.
44587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
44588         New file.
44589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
44590         multiarch __ieee754_hypot for PowerPC32.
44591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
44592         New file.
44593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
44594         New file.
44595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
44596         multiarch __ieee754_hypotf for PowerPC32.
44598         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
44599         long_double_symbol only if __logbl is defined.
44600         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
44601         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
44602         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
44603         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
44604         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
44605         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
44606         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
44607         path for implementation.
44608         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
44609         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
44610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
44611         logb, and logbl multiarch implementations for PowerPC32.
44612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
44613         file.
44614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
44615         file.
44616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
44617         multiarch logb for PowerPC32.
44618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
44619         file.
44620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
44621         file.
44622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
44623         multiarch logbf for PowerPC32.
44624         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
44625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
44626         file.
44627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
44628         multiarch logbl implementation for PowerPC32.
44630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
44631         and modff multiarch implementations.
44632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
44633         New file.
44634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
44635         New file.
44636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
44637         multiarch modf for PowerPC32.
44638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
44639         New file.
44640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
44641         New file.
44642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
44643         multiarch modff for PowerPC32.
44645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
44646         and lrintf multiarch implementations.
44647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
44648         New file.
44649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
44650         New file.
44651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
44652         multiarch lrint for PowerPC32.
44653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
44654         file: multiarch lrintf for PowerPC32.
44656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
44657         and lroundf multiarch implementations.
44658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
44659         New file.
44660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
44661         New file.
44662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
44663         New file.
44664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
44665         multiarch lround for PowerPC32.
44666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
44667         file: multiarch lroundf for PowerPC32.
44669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44670         copysign and copysignf multiarch implementations.
44671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
44672         New file.
44673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
44674         New file.
44675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
44676         file: multiarch copysign for PowerPC32.
44677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
44678         file: multiarch copysignf for PowerPC32.
44680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
44681         and truncf multiarch implementations.
44682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
44683         New file.
44684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
44685         file.
44686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
44687         multiarch trunc for PowerPC32.
44688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
44689         New file.
44690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
44691         New file.
44692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
44693         multiarch truncf for PowerPC32.
44695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
44696         and roundf multiarch implementations.
44697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
44698         New file.
44699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
44700         file.
44701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
44702         multiarch round for PowerPC32.
44703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
44704         New file.
44705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
44706         New file.
44707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
44708         multiarch roundf for PowerPC32.
44710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
44711         and floorf multiarch implementations.
44712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
44713         New file.
44714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
44715         file.
44716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
44717         multiarch floor for PowerPC32.
44718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
44719         New file.
44720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
44721         New file.
44722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
44723         multiarch floorf for PowerPC32.
44725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
44726         and ceilf multiarch implementations.
44727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
44728         New file.
44729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
44730         file.
44731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
44732         multiarch ceil for PowerPC32.
44733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
44734         New file.
44735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
44736         file.
44737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
44738         multiarch ceilf for PowerPC32.
44740         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
44741         is defined.
44742         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
44743         FINITEF is defined.
44744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
44745         and finitef multiarch implementations.
44746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
44747         New file.
44748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
44749         file.
44750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
44751         multiarch finite for PowerPC32.
44752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
44753         New file.
44754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
44755         file: multiarch finitef for PowerPC32.
44757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
44758         and isinff multiarch implementations.
44759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
44760         file.
44761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
44762         file.
44763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
44764         multiarch isinf for PowerPC32.
44765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
44766         New file.
44767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
44768         multiarch isinff for PowerPC32.
44770         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
44771         alias when __isnan is defined.
44772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
44773         and isnanf multiarch implementations.
44774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
44775         file.
44776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
44777         file.
44778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
44779         file.
44780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
44781         file.
44782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
44783         multiarch isnan for PowerPC32.
44784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
44785         New file.
44786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
44787         New file.
44788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
44789         multiarch isnanf for PowerPC32.
44791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
44792         and sqrtf multiarch implementations.
44793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
44794         file.
44795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
44796         file.
44797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
44798         multiarch sqrt for PowerPC32.
44799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
44800         file.
44801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
44802         file.
44803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
44804         multiarch sqrtf for PowerPC32.
44806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
44807         and llroundf multiarch implementations.
44808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
44809         New file.
44810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
44811         New file.
44812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
44813         New file.
44814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
44815         file: multiarch llround for PowerPC32.
44816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
44817         file: multiarch llroundf for PowerPC32.
44819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
44820         multiarch PowerPC32 fpu implementations.
44821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
44822         New file.
44823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
44824         New file.
44825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
44826         multiarch llrint for PowerPC32.
44827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44828         New file.
44829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
44830         New file.
44831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
44832         file.
44834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
44836         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
44837         file.
44838         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
44839         file.
44840         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
44841         file.
44842         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
44843         multiarch wordcopy for PPC32.
44844         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44845         wordcopy objects.
44846         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44847         (__libc_ifunc_impl_list): Likewise.
44848         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
44849         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
44850         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
44851         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
44852         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
44853         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
44855         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
44856         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
44857         file.
44858         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
44859         file.
44860         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
44861         file.
44862         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
44863         multiarch wcscpy for PPC32.
44864         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44865         multiarch objects.
44866         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44867         (__libc_ifunc_impl_list): Likewise.
44868         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44869         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44870         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
44871         sysdeps/powerpc/power6/wcscpy.c.
44873         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
44874         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
44875         file.
44876         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
44877         file.
44878         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44879         file.
44880         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44881         multiarch wcsrchr for PPC32.
44882         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44883         multiarch objects.
44884         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44885         (__libc_ifunc_impl_list): Likewise.
44886         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44887         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44888         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44889         sysdeps/powerpc/power6/wcsrchr.c.
44891         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
44892         file.
44893         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
44894         file.
44895         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
44896         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
44897         multiarch wcschr for PPc32.
44898         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44899         multiarch objects.
44900         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44901         (__libc_ifunc_impl_list): Likewise.
44902         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
44903         * sysdeps/powerpc/power6/wcschr.c: ... to here.
44904         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
44905         sysdeps/powerpc/power6/wcschr.c.
44907         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
44908         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
44909         file.
44910         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
44911         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
44912         file: multiarch strchr for PPC32.
44913         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
44914         multiarch objects.
44915         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44916         (__libc_ifunc_impl_list): Likewise.
44918         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
44919         name.
44920         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
44921         file.
44922         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
44923         file.
44924         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
44925         multiarch strchrnul for PPC32.
44926         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
44927         multiarch objects.
44928         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44929         (__libc_ifunc_impl_list): Likewise.
44931         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
44932         file.
44933         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
44934         multiarch strncasecmp for PPC32.
44935         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
44936         file.
44937         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
44938         multiarch strncasecmp_l for PPC32.
44939         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
44940         strncasecmp multiarch objects.
44941         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44942         (__libc_ifunc_impl_list): Likewise.
44944         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
44945         file.
44946         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
44947         multiarch strncasecmp for PPC32.
44948         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44949         New file.
44950         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
44951         multiarch strcasecmp_l for PPC32.
44952         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
44953         multiarch objects.
44954         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44955         (__libc_ifunc_impl_list): Likewise.
44957         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
44958         file.
44959         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
44960         file.
44961         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
44962         multiarch strncmp for PPC32.
44963         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
44964         multiarch objects.
44965         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44966         (__libc_ifunc_impl_list): Likewise.
44968         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
44969         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
44970         file.
44971         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
44972         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
44973         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
44974         multiarch objects.
44975         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44976         (__libc_ifunc_impl_list): Likewise.
44978         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
44979         file.
44980         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
44981         file.
44982         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
44983         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
44984         multiarch objects.
44985         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44986         (__libc_ifunc_impl_list): Likewise.
44988         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
44989         file.
44990         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
44991         file.
44992         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
44993         multiarch rawmemchr for PPC32.
44994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
44995         multiarch objects.
44996         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44997         (__libc_ifunc_impl_list): Likewise.
44999         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
45000         file.
45001         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
45002         file.
45003         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
45004         file: memrchr multiarch for PPC32.
45005         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
45006         multiarch objects.
45007         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45008         (__libc_ifunc_impl_list): Likewise.
45010         * string/memchr.c (__memchr): Using macro to redefine symbol name.
45011         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
45012         file.
45013         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
45014         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
45015         multiarch memchr for PPC32.
45016         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
45017         multiarch objects.
45018         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45019         (__libc_ifunc_impl_list): Likewise.
45021         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
45022         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
45023         file.
45024         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
45025         file.
45026         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
45027         file: multiarch mempcpy for PPC32.
45028         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
45029         multiarch objects.
45030         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45031         (__libc_ifunc_impl_list): Likewise.
45033         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
45034         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
45035         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
45036         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
45037         multiarch bzero for PPC32.
45038         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
45039         file.
45040         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
45041         file.
45042         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
45043         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
45044         file: multiarch memset for PPC32.
45045         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
45046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
45047         memset multiarch objects.
45048         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45049         (__libc_ifunc_impl_list): Likewise.
45051         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
45052         file.
45053         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
45054         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
45055         memcmp for PPC32.
45056         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
45057         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
45058         multiarch objects.
45059         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45060         (__libc_ifunc_impl_list): Likewise.
45062         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
45063         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
45064         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
45065         file.
45066         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
45067         file.
45068         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
45069         file.
45070         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
45071         multiarch memcpy for PPC32.
45072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
45073         multiarch objects.
45074         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45075         (__libc_ifunc_impl_list): Likewise.
45077         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
45078         support multiarch for POWER/PPC32.
45079         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
45080         Likewise.
45081         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
45082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
45083         Implies file to make multiarch folder appers before the fpu and
45084         default folder for power4 configuration.
45086 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45088         * scripts/bench.pl: Append volatile keyword to type.
45090 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45092         * sysdeps/sh/sotruss-lib.c: New file.
45093         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
45095 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45099 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
45101         [BZ #6810]
45102         * math/w_tgamma.c: Include <errno.h>.
45103         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
45104         * math/w_tgammaf.c: Include <errno.h>.
45105         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
45106         * math/w_tgammal.c: Include <errno.h>.
45107         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
45108         * math/auto-libm-test-in: Do not allow missing errno on tgamma
45109         underflow.  Add more tgamma tests.
45110         * math/auto-libm-test-out: Regenerated.
45111         * sysdeps/i386/fpu/libm-test-ulps: Update.
45112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45114         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
45115         sin, sinh, tan, tanh, tgamma, y0 and y1.
45116         * math/auto-libm-test-out: Regenerated.
45117         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45118         (TEST_COND_x86): Likewise.
45119         (M_E2l): Remove macro.
45120         (M_E3l): Likewise.
45121         (M_2_SQRT_PIl): Likewise.
45122         (M_SQRT_PIl): Likewise.
45123         (M_1_DIV_El): Likewise.
45124         (log_test_data): Use AUTO_TESTS_f_f.
45125         (log10_test_data): Likewise.
45126         (log1p_test_data): Likewise.
45127         (log2_test_data): Likewise.
45128         (sin_test_data): Likewise.
45129         (sin_tonearest_test_data): Likewise.
45130         (sin_towardzero_test_data): Likewise.
45131         (sin_downward_test_data): Likewise.
45132         (sin_upward_test_data): Likewise.
45133         (sinh_test_data): Likewise.
45134         (sinh_tonearest_test_data): Likewise.
45135         (sinh_towardzero_test_data): Likewise.
45136         (sinh_downward_test_data): Likewise.
45137         (sinh_upward_test_data): Likewise.
45138         (tan_test_data): Likewise.
45139         (tan_tonearest_test_data): Likewise.
45140         (tan_towardzero_test_data): Likewise.
45141         (tan_downward_test_data): Likewise.
45142         (tan_upward_test_data): Likewise.
45143         (tanh_test_data): Likewise.
45144         (tgamma_test_data): Likewise.
45145         (y0_test_data): Likewise.
45146         (y1_test_data): Likewise.
45147         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
45148         (special_real_inputs): Add pi/4.
45149         * sysdeps/i386/fpu/libm-test-ulps: Update.
45150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45152 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45154         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
45155         "longjmp_target" static probes.
45156         (__longjmp): Rename to __longjmp_symbol.
45157         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45158         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
45159         on which longjmp to generate.
45160         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45161         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
45162         probe.
45163         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45164         (__sigjmp_save): Rename to __sigjmp_save_symbol.
45165         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
45166         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
45167         and __sigjmp_save_symbol based on which sigsetjmp to generated.
45168         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
45170         __longjmp_symbol based on which __longjmp to generate.
45171         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
45172         probe.
45173         (setjmp): Rename to setjmp_symbol.
45174         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45175         (_setjmp): Rename to _setjmp_symbol.
45176         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45177         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
45178         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
45179         which setjmp to generate.
45180         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
45181         "longjmp_target" static probes.
45183 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45185         * benchtests/README: Add note about output arguments.
45186         * benchtests/bench-sincos.c: Remove file.
45187         * benchtests/sincos-inputs: New file.
45188         * scripts/bench.pl: Identify output arguments and define
45189         static variables for them.
45191         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
45193         [BZ #15941]
45194         * Makefile (INSTALL): Add install-plain.texi as the primary
45195         dependency.
45196         * manual/install-plain.texi: New file.
45197         * manual/install.texi: Include node directive only for
45198         non-plaintext output.
45200 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
45202         * stdlib/longlong.h: Update from GCC.
45204         [BZ #6807]
45205         [BZ #15901]
45206         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
45207         * math/w_j0f.c (y0f): Likewise.
45208         * math/w_j0l.c (__y0l): Likewise.
45209         * math/w_j1.c (y1): Likewise.
45210         * math/w_j1f.c (y1f): Likewise.
45211         * math/w_j1l.c (__y1l): Likewise.
45212         * math/w_jn.c (yn): Likewise.
45213         * math/w_jnf.c (ynf): Likewise.
45214         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
45215         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
45216         value for Bessel function domain errors outside _SVID_ mode.
45217         Adjust sign of return value for yn (negative integer, 0).
45218         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
45219         by zero in return for negative x and set sign appropriately for
45220         negative n.
45221         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
45222         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45223         * math/libm-test.inc (y0_test_data): Add more tests and adjust
45224         expectations in error cases.
45225         (y1_test_data): Likewise.
45226         (yn_test_data): Likewise.
45227         * sysdeps/i386/fpu/libm-test-ulps: Update.
45228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45230 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45232         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
45233         "64" to "64-v1".  Add "64-v2".
45234         (abi-64-options): Rename to ...
45235         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
45236         (abi-64-condition): Rename to ...
45237         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
45238         (abi-64-ld-soname): Rename to ...
45239         (abi-64-v1-ld-soname): ... this.
45240         (abi-64-v2-options): Define.
45241         (abi-64-v2-condition): Likewise.
45242         (abi-64-v2-ld-soname): Likewise.
45243         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
45244         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
45245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
45246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
45247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
45249 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45250             Alan Modra  <amodra@gmail.com>
45252         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
45253         New versions for use with the ELFv2 ABI.
45254         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
45255         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
45256         declaration.
45257         (struct La_ppc64v2_retval): Likewise.
45258         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
45259         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
45260         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
45261         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
45262         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
45263         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45264         Do not save or restore CR.
45265         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
45266         (_dl_profile_resolve): Do no save or restore CR.  Support extended
45267         return values for ELFv2 ABI.  Fix location of FPR return registers.
45268         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
45269         updated values for _CALL_ELF == 2.
45270         (La_regs, La_retval, int_retval): Likewise.
45272 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45274         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
45275         (FRAME_MIN_SIZE_PARM): Likewise.
45276         (FRAME_BACKCHAIN): Likewise.
45277         (FRAME_CR_SAVE): Likewise.
45278         (FRAME_LR_SAVE): Likewise.
45279         (FRAME_TOC_SAVE): Likewise.
45280         (FRAME_PARM_SAVE): Likewise.
45281         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
45282         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
45283         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45284         (call_mcount_parm_offset): New macro.
45285         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
45286         (PROF): Use symbolic stack frame offsets.
45287         (TAIL_CALL_SYSCALL_ERROR): Likewise.
45288         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
45289         Redefine in terms of FRAME_MIN_SIZE.
45290         (_dl_runtime_resolve): Use symbolic stack frame offsets.
45291         (_dl_profile_resolve): Likewise.  Update comment.
45292         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
45293         symbols stack frame offsets.
45294         (__sigsetjmp): Likewise.
45295         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
45296         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
45297         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
45298         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
45300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
45301         (FRAME_BACKCHAIN): Remove.
45302         (FRAME_CR_SAVE): Likewise.
45303         (FRAME_LR_SAVE): Likewise.
45304         (FRAME_COMPILER_DW): Likewise.
45305         (FRAME_LINKER_DW): Likewise.
45306         (FRAME_TOC_SAVE): Likewise.
45307         (FRAME_PARM_SAVE): Likewise.
45308         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
45309         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
45310         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
45312         (CHECK_SP): Use symbolic stack frame offsets.
45313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
45314         zone" instead of caller's parameter save area for temp storage.
45315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45316         Likewise.  Also, use symbolic stack frame offsets.
45317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
45318         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
45319         our own stack frame instead of the caller's.
45320         (__socket): Use symbolic stack frame offsets.
45322 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45323             Alan Modra  <amodra@gmail.com>
45325         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
45326         Define.
45327         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
45328         (PPC64_LOCAL_ENTRY_OFFSET): Define.
45329         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
45330         New function.
45331         (elf_machine_fixup_plt): Call it.
45332         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
45333         reloc arguments.
45334         (elf_machine_rela): Update call to elf_machine_plt_conflict.
45335         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45336         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
45337         r2 before calling target.
45339 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45340             Alan Modra  <amodra@gmail.com>
45342         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
45343         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
45344         versions of macros to support ELFv2 ABI.
45345         (LOCALENTRY): New macro.
45346         (ENTRY, EALIGN): Use it.
45347         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
45348         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
45349         fall through into ENTRY entry point.
45350         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
45351         Only define if _CALL_ELF != 2.
45353         (elf_machine_matches_host): Verify ABI version matches.
45354         (RTLD_START): Use LOCALENTRY.
45355         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
45356         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
45357         (PLT_ENTRY_WORDS): New macro.
45358         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
45359         (elf_machine_runtime_setup): Support ELFv2 ABI.
45360         (elf_machine_fixup_plt): Likewise.
45361         (elf_machine_plt_conflict): Likewise.
45362         (resolve_ifunc): Likewise.
45363         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
45364         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45365         Likewise.
45366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
45367         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
45368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45369         (makecontext): Support ELFv2 ABI.
45370         * elf/elf.h (EF_PPC64_ABI): Define.
45372 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45374         * sysdeps/powerpc/powerpc64/sysdep.h
45375         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
45376         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
45377         (ENTRY) [ASSEMBLER]: ... but instead here ...
45378         (EALIGN) [ASSEMBLER]: ... and here.
45379         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
45380         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
45381         (ENTRY_2) [!ASSEMBLER]: Use it.
45382         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
45383         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
45384         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45385         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
45386         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
45387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
45388         Use PPC64_LOAD_FUNCPTR.
45390         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
45392 2013-12-04  Alan Modra  <amodra@gmail.com>
45394         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
45395         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
45396         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
45397         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
45399         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
45400         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
45401         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
45402         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
45403         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
45404         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
45406 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45409         (__makecontext): Fix incorrect CFI when backtracing out of
45410         context created via makecontext.
45411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
45412         (__setcontext): Fix incorrect CFI during switch to new context.
45413         (__novec_setcontext): Likewise.
45415 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45417         [BZ #4772]
45418         * time/strptime_l.c (__strptime_internal): Allow modifiers
45419         in strptime.
45420         * time/tst-strptime.c (day_tests): Add testcase.
45422 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45424         * scripts/bench.pl: Skip over blank lines.
45426 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
45428         [BZ #926]
45429         * manual/time.texi (Calendar Time): Clarify what timezone functions
45430         use.
45432 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45436 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45438         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
45439         implementation.
45440         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
45441         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
45442         * debug/memset_chk.c (__memset_chk): Likewise.
45443         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
45444         * debug/strncpy_chk.c: Likewise.
45446 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45448         [BZ #15268]
45449         [BZ #15425]
45450         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
45451         (__ieee754_exp): For possibly underflowing results, check size of
45452         result and force underflow exception if required.
45453         * math/auto-libm-test-in: Add more tests of exp.
45454         * math/auto-libm-test-out: Regenerated.
45455         * sysdeps/i386/fpu/libm-test-ulps: Update.
45456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45458         [BZ #16283]
45459         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
45460         * math/w_exp2f.c (__exp2f): Likewise.
45461         * math/w_exp2l.c (__exp2l): Likewise.
45462         * math/auto-libm-test-in: Do not allow missing errno on exp2
45463         underflow.
45464         * math/auto-libm-test-out: Regenerated.
45466 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
45468         [BZ #16274]
45469         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
45470         handle filename validation.
45471         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
45472         (do_open): Delete.
45474 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45476         [BZ #6786]
45477         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
45478         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
45479         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
45480         <float.h>.
45481         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
45482         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
45483         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45484         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
45485         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45486         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
45487         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45488         * math/auto-libm-test-in: Don't allow missing errno from erfc.
45489         Add more erfc tests.
45490         * math/auto-libm-test-out: Regenerated.
45491         * sysdeps/i386/fpu/libm-test-ulps: Update.
45492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45494         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
45495         exp2, expm1, j0 and j1.
45496         * math/auto-libm-test-out: Regenerated.
45497         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
45498         (erfc_test_data): Likewise.
45499         (exp_test_data): Likewise.
45500         (exp_tonearest_test_data): Likewise.
45501         (exp_towardzero_test_data): Likewise.
45502         (exp_downward_test_data): Likewise.
45503         (exp_upward_test_data): Likewise.
45504         (exp10_test_data): Likewise.
45505         (exp2_test_data): Likewise.
45506         (expm1_test_data): Likewise.
45507         (j0_test_data): Likewise.
45508         (j1_test_data): Likewise.
45509         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
45510         (input_flag_type): Add flag_xfail_rounding.
45511         (input_flags): Add xfail-rounding.
45512         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
45513         (output_for_one_input_case): Handle flag_xfail_rounding.
45514         * sysdeps/i386/fpu/libm-test-ulps: Update.
45515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45517 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
45519         [BZ #16289]
45520         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
45521         division by 0.
45523 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45525         [BZ #16195]
45526         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
45527         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
45528         (STAP_PROBE0): New macro.
45529         (STAP_PROBE1): Likewise.
45530         (STAP_PROBE2): Likewise.
45531         (STAP_PROBE3): Likewise.
45532         (STAP_PROBE4): Likewise.
45534 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
45536         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
45538 2013-12-02  Steve Ellcey  <sellcey@mips.com>
45540         * benchtests/Makefile (bench): Add sqrt.
45541         (LDLIBS-bench-sqrt): New.
45542         * benchtests/sqrt-input: New.
45544 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
45546         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
45547         (GAIH_EAI): Likewise.
45548         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
45549         (gaih_inet): Likewise.
45550         (getaddrinfo): Don't use GAIH_EAI.
45552         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
45553         (struct gaih): Remove definition.
45555 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45557         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
45558         Use HERRNOP directly.
45560 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45564 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
45566         * math/gen-auto-libm-tests.c (test_functions): Add more
45567         single-argument functions.
45568         (special_fill_pi_2): New function.
45569         (special_fill_minus_pi_2): Likewise.
45570         (special_fill_pi_6): Likewise.
45571         (special_fill_minus_pi_6): Likewise.
45572         (special_fill_pi_3): Likewise.
45573         (special_fill_2pi_3): Likewise.
45574         (special_fill_e): Likewise.
45575         (special_fill_1_e): Likewise.
45576         (special_fill_e_minus_1): Likewise.
45577         (special_real_inputs): Add more special inputs.
45578         (output_for_one_input_case): Do not require ERANGE on underflow to
45579         zero if round-to-nearest result does not underflow to zero, unless
45580         exact results required.
45581         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
45582         atan, atanh, cbrt, cos and cosh.
45583         * math/auto-libm-test-out: Regenerated.
45584         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
45585         (acos_tonearest_test_data): Likewise.
45586         (acos_towardzero_test_data): Likewise.
45587         (acos_downward_test_data): Likewise.
45588         (acos_upward_test_data): Likewise.
45589         (acosh_test_data): Likewise.
45590         (asin_test_data): Likewise.
45591         (asin_tonearest_test_data): Likewise.
45592         (asin_towardzero_test_data): Likewise.
45593         (asin_upward_test_data): Likewise.
45594         (asinh_test_data): Likewise.
45595         (atan_test_data): Likewise.
45596         (atanh_test_data): Likewise.
45597         (cbrt_test_data): Likewise.
45598         (cos_test_data): Likewise.
45599         (cos_tonearest_test_data): Likewise.
45600         (cos_towardzero_test_data): Likewise.
45601         (cos_downward_test_data): Likewise.
45602         (cos_upward_test_data): Likewise.
45603         (cosh_test_data): Likewise.
45604         (cosh_tonearest_test_data): Likewise.
45605         (cosh_towardzero_test_data): Likewise.
45606         (cosh_downward_test_data): Likewise.
45607         (cosh_upward_test_data): Likewise.
45608         * sysdeps/i386/fpu/libm-test-ulps: Update.
45609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45611 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
45613         [BZ #6787]
45614         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
45615         * math/w_exp10f.c (__exp10f): Likewise.
45616         * math/w_exp10l.c (__exp10l): Likewise.
45617         * math/libm-test.inc (exp10_test_data): Add more tests and expect
45618         errno settings in existing tests.
45620         [BZ #14032]
45621         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
45622         precision control set to double precision.
45623         * sysdeps/i386/fpu/w_sqrt.c: New file.
45624         * math/auto-libm-test-in: Add more tests.
45625         * math/auto-libm-test-out: Update.
45627         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
45628         (sqrt_test_tonearest): New function.
45629         (sqrt_towardzero_test_data): New variable.
45630         (sqrt_test_towardzero): New function.
45631         (sqrt_downward_test_data): New variable.
45632         (sqrt_test_downward): New function.
45633         (sqrt_upward_test_data): New variable.
45634         (sqrt_test_upward): New function.
45635         (main): Call the new functions.
45637         * math/gen-auto-libm-tests.c: New file.
45638         * math/auto-libm-test-in: Likewise.
45639         * math/auto-libm-test-out: New generated file.
45640         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
45641         variables.
45642         (%beautify): Add generated representations of zero.
45643         (top level): Set $auto_input and call parse_auto_input.
45644         (beautify): Remove trailing "f" from hex float constants.
45645         (parse_args): Handle XFAIL_TEST.
45646         (convert_condition): New function.
45647         (or_value): Likewise.
45648         (or_cond_value): Likewise.
45649         (generate_testfile): Handle AUTO_TESTS_* lines.
45650         (parse_auto_input): New function.
45651         * math/libm-test.inc (XFAIL_TEST): New macro.
45652         (ERRNO_UNCHANGED): Update value.
45653         (ERRNO_EDOM): Likewise.
45654         (ERRNO_ERANGE): Likewise.
45655         (IGNORE_RESULT): Likewise.
45656         (TEST_COND_flt_32): New macro.
45657         (TEST_COND_dbl_64): Likewise.
45658         (TEST_COND_ldbl_96_intel): Likewise.
45659         (TEST_COND_ldbl_96_m68k): Likewise.
45660         (TEST_COND_ldbl_128): Likewise.
45661         (TEST_COND_ldbl_128ibm): Likewise.
45662         (TEST_COND_long32): Likewise.
45663         (TEST_COND_long64): Likewise.
45664         (TEST_COND_before_rounding): Likewise.
45665         (TEST_COND_after_rounding): Likewise.
45666         (enable_test): Handle XFAIL_TEST flag.
45667         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
45668         with finite results.
45669         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
45670         auto-libm-test-out.
45672 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45673             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45675         [BZ #16214]
45676         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
45677         __tls_get_addr_internal instead of __tls_get_offset in order to
45678         avoid GOT pointer dependency.  Make rtld export
45679         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
45680         __tls_get_addr since we are a __tls_get_offset platform.
45681         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
45682         GOT pointer being set up before.
45683         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
45685 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
45687         * manual/math.texi (Errors in Math Functions): Document accuracy
45688         goals.
45690         [BZ #15004]
45691         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
45692         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
45693         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45694         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45695         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45696         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45697         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45698         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45699         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45700         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45701         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45702         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45703         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45704         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45705         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45706         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45708         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
45709         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
45710         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
45711         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
45712         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
45713         Likewise.
45714         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
45715         Likewise.
45716         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
45717         Likewise.
45718         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
45719         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
45720         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
45721         atomic-feupdateenv and flt-rounds.
45722         * sysdeps/powerpc/nofpu/Versions (libc): Add
45723         __atomic_feholdexcept, __atomic_feclearexcept,
45724         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
45725         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
45726         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
45727         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
45728         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
45729         here.
45730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45731         Update.
45733         * manual/arith.texi (FP Exceptions): Document that exceptions may
45734         not be raised when matherr is used.
45735         (Math Error Reporting): Document overflow in directed rounding
45736         modes.  Document that errno may not be set when finite values are
45737         returned on overflow.  Document intent to set errno on underflow
45738         only for underflow to zero.
45740         [BZ #16271]
45741         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
45742         round-to-nearest then adjust result for other rounding modes.
45743         * include/fenv.h (fegetround): Use libm_hidden_proto.
45744         * math/fegetround.c (fegetround): Use libm_hidden_def.
45745         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
45746         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
45747         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45748         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
45749         Likewise.
45750         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
45751         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45752         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
45753         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
45755 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45757         [BZ #16077]
45758         * nss/Versions (libnss_files): Add
45759         _nss_files_gethostbyname3_r.
45760         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
45761         New function.
45762         (HOST_DB_LOOKUP): Remove macro.
45763         (_nss_files_gethostbyname_r): Implement function without the
45764         HOST_DB_LOOKUP macro.
45765         (_nss_files_gethostbyname2_r): Likewise.
45767 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
45769         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
45771 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
45773         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
45774         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
45775         warning.
45777 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45779         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
45780         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
45781         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45782         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
45783         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
45784         __fe_nomask_env_priv and attribute_hidden.
45785         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
45786         (libc_feupdateenv_test_ppc): Likewise.
45787         (libc_feresetround_ppc): Likewise.
45788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45789         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
45790         compat_symbol macro.
45791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45792         (__fe_nomask_env): Likewise.
45793         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
45795 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45797         * string/Makefile: Remove ifunc tests.
45798         * string/test-string.h: Define TEST_IFUNC.
45799         * string/test-bcopy-ifunc.c: Remove.
45800         * string/test-bzero-ifunc.c: Likewise.
45801         * string/test-memccpy-ifunc.c: Likewise.
45802         * string/test-memchr-ifunc.c: Likewise.
45803         * string/test-memcmp-ifunc.c: Likewise.
45804         * string/test-memcpy-ifunc.c: Likewise.
45805         * string/test-memmem-ifunc.c: Likewise.
45806         * string/test-memmove-ifunc.c: Likewise.
45807         * string/test-mempcpy-ifunc.c: Likewise.
45808         * string/test-memrchr-ifunc.c: Likewise.
45809         * string/test-memset-ifunc.c: Likewise.
45810         * string/test-rawmemchr-ifunc.c: Likewise.
45811         * string/test-stpcpy-ifunc.c: Likewise.
45812         * string/test-stpncpy-ifunc.c: Likewise.
45813         * string/test-strcasecmp-ifunc.c: Likewise.
45814         * string/test-strcasestr-ifunc.c: Likewise.
45815         * string/test-strcat-ifunc.c: Likewise.
45816         * string/test-strchr-ifunc.c: Likewise.
45817         * string/test-strchrnul-ifunc.c: Likewise.
45818         * string/test-strcmp-ifunc.c: Likewise.
45819         * string/test-strcpy-ifunc.c: Likewise.
45820         * string/test-strcspn-ifunc.c: Likewise.
45821         * string/test-strlen-ifunc.c: Likewise.
45822         * string/test-strncasecmp-ifunc.c: Likewise.
45823         * string/test-strncat-ifunc.c: Likewise.
45824         * string/test-strncmp-ifunc.c: Likewise.
45825         * string/test-strncpy-ifunc.c: Likewise.
45826         * string/test-strnlen-ifunc.c: Likewise.
45827         * string/test-strpbrk-ifunc.c: Likewise.
45828         * string/test-strrchr-ifunc.c: Likewise.
45829         * string/test-strspn-ifunc.c: Likewise.
45830         * string/test-strstr-ifunc.c: Likewise.
45832 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45834         * benchtests/Makefile: Remove ifunc tests.
45835         * benchtests/bench-string.h: Define TEST_IFUNC.
45836         * benchtests/bench-bcopy-ifunc.c: Remove.
45837         * benchtests/bench-bzero-ifunc.c: Likewise.
45838         * benchtests/bench-memccpy-ifunc.c: Likewise.
45839         * benchtests/bench-memchr-ifunc.c: Likewise.
45840         * benchtests/bench-memcmp-ifunc.c: Likewise.
45841         * benchtests/bench-memcpy-ifunc.c: Likewise.
45842         * benchtests/bench-memmem-ifunc.c: Likewise.
45843         * benchtests/bench-memmove-ifunc.c: Likewise.
45844         * benchtests/bench-mempcpy-ifunc.c: Likewise.
45845         * benchtests/bench-memrchr-ifunc.c: Likewise.
45846         * benchtests/bench-memset-ifunc.c: Likewise.
45847         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
45848         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
45849         * benchtests/bench-stpcpy-ifunc.c: Likewise.
45850         * benchtests/bench-stpncpy-ifunc.c: Likewise.
45851         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
45852         * benchtests/bench-strcasestr-ifunc.c: Likewise.
45853         * benchtests/bench-strcat-ifunc.c: Likewise.
45854         * benchtests/bench-strchr-ifunc.c: Likewise.
45855         * benchtests/bench-strchrnul-ifunc.c: Likewise.
45856         * benchtests/bench-strcmp-ifunc.c: Likewise.
45857         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
45858         * benchtests/bench-strcpy-ifunc.c: Likewise.
45859         * benchtests/bench-strcspn-ifunc.c: Likewise.
45860         * benchtests/bench-strlen-ifunc.c: Likewise.
45861         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
45862         * benchtests/bench-strncat-ifunc.c: Likewise.
45863         * benchtests/bench-strncmp-ifunc.c: Likewise.
45864         * benchtests/bench-strncpy-ifunc.c: Likewise.
45865         * benchtests/bench-strnlen-ifunc.c: Likewise.
45866         * benchtests/bench-strpbrk-ifunc.c: Likewise.
45867         * benchtests/bench-strrchr-ifunc.c: Likewise.
45868         * benchtests/bench-strsep-ifunc.c: Likewise.
45869         * benchtests/bench-strspn-ifunc.c: Likewise.
45870         * benchtests/bench-strstr-ifunc.c: Likewise.
45872 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45874         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
45876 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45878         * resolv/netdb.h: Use __glibc_reserved instead __unused.
45879         * rt/aio.h: Likewise.
45880         * sysdeps/gnu/bits/utmp.h: Likewise.
45881         * sysdeps/gnu/bits/utmpx.h: Likewise.
45882         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45883         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45884         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45885         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45886         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45887         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45888         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45889         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
45890         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
45891         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
45892         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
45893         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
45894         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
45895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
45896         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45897         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
45898         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
45899         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
45900         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
45901         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
45902         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
45903         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
45904         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
45905         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45906         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
45907         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45908         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
45909         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
45910         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
45911         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
45912         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
45913         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
45914         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
45915         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45916         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
45917         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
45918         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
45919         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
45920         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
45921         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
45922         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
45923         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45925 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
45927         [BZ #16245]
45928         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
45929         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
45931 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
45933         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
45934         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
45935         Likewise.
45937 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45939         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
45940         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
45941         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
45942         (__fesetround): Remove define.
45943         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
45944         rounding and exceptions handling.
45945         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
45946         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
45947         (__fe_nomask_env): Likewise.
45948         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
45949         __fegetround instead of fegetround.
45950         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45951         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
45953 2013-11-21  Roland McGrath  <roland@hack.frob.com>
45955         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
45956         it's there.
45958         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
45960 2013-11-21  Meador Inge  <meadori@codesourcery.com>
45962         [BZ #11157]
45963         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
45964         (encrypt_r): Likewise.
45965         * malloc/obstack.h (obstack_free): Likewise.
45966         * posix/unistd.h (encrypt): Likewise.
45968 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
45970         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
45971         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
45972         DL_CALL_DT_FINI() that call the functions directly.
45973         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
45974         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
45975         * elf/dl-fini.c: Likewise.
45977 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
45979         * malloc/hooks.c (memalign_check): Add alignment rounding.
45980         * malloc/malloc.c (_mid_memalign): New function.
45981         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
45982         Implement by calling _mid_memalign.
45983         * manual/probes.texi (Memory Allocation Probes): Remove
45984         memory_valloc_retry and memory_pvalloc_retry.
45986 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45988         * locale/programs/locarchive.c (open_archive): Add const
45989         qualifier to ARCHIVEFNAME and copy default fname to
45990         DEFAULT_FNAME.
45992         [BZ #15601]
45993         * libio/tst-widetext.input: Rename Oriya to Odia.
45994         * locale/iso-639.def: Likewise.
45996         * manual/probes.texi (Mathematical Function Probes): Add
45997         documentation for sin, cos, asin and acos probes.
45998         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
45999         (__sin32): Add slowasin probe.
46000         (__cos32): Add slowacos probe.
46001         (__mpsin): Add slowsin probe.
46002         (__mpcos): Add slowcos probe.
46004 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
46006         [BZ #15483]
46007         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
46008         thread-local __sim_exceptions_thread and global
46009         __sim_exceptions_global.
46010         (__sim_disabled_exceptions): Change to thread-local
46011         __sim_disabled_exceptions_thread and global
46012         __sim_disabled_exceptions_global.
46013         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46014         and global __sim_round_mode_global.
46015         (__simulate_exceptions): Use thread-local floating-point state and
46016         set global state from it as needed.
46017         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
46018         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
46019         __sim_round_mode_thread.
46020         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
46021         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
46022         and global __sim_exceptions_global.
46023         (__sim_disabled_exceptions): Change to thread-local
46024         __sim_disabled_exceptions_thread and global
46025         __sim_disabled_exceptions_global.
46026         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46027         and global __sim_round_mode_global.
46028         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
46029         (SIM_SET_GLOBAL): Likewise.
46030         * sysdeps/powerpc/soft-fp/sfp-machine.h
46031         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
46032         __sim_round_mode_thread.
46033         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
46034         __sim_disabled_exceptions_thread.
46035         (__sim_exceptions): Change to __sim_exceptions_thread.
46036         (__sim_disabled_exceptions): Change to
46037         __sim_disabled_exceptions_thread.
46038         (__sim_round_mode): Change to __sim_round_mode_thread.
46039         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
46040         thread-local floating-point state and set global state from it as
46041         needed.
46042         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
46043         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
46044         (__sim_disabled_exceptions): Remove extern declaration.
46045         (feenableexcept): Use thread-local floating-point state and set
46046         global state from it as needed.
46047         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
46048         extern declaration.
46049         (__sim_disabled_exceptions): Likewise.
46050         (__sim_round_mode): Likewise.
46051         (__fegetenv): Use thread-local floating-point state.
46052         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
46053         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
46054         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
46055         floating-point state and set global state from it as needed.
46056         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
46057         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
46058         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
46059         Likewise.
46060         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
46061         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
46062         Likewise.
46063         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
46064         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
46065         Use __sim_round_mode_thread.
46066         * math/test-fenv-tls.c: New file.
46067         * math/Makefile (tests): Add test-fenv-tls.
46068         ($(objpfx)test-fenv-tls): Depend on
46069         $(common-objpfx)nptl/libpthread.so.
46071 2013-11-19  Andreas Schwab  <schwab@suse.de>
46073         * locale/programs/locale.c (show_info): Decode wordarray elements.
46074         * locale/categories.def (LC_MONETARY): Add element for
46075         _NL_MONETARY_CRNCYSTR.
46076         * locale/C-monetary.c (conversion_rate): New variable.
46077         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
46078         element.
46080 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
46082         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
46083         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
46085 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46087         * elf/Makefile (tst-auxv): New test.
46088         * elf/tst-auxv.c: New
46089         * elf/rtld.c (dl_main): Adjust AT_EXECFN
46091 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
46093         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
46094         (hidden_proto): Caller changed.
46095         (hidden_tls_proto): New macro.
46096         (libc_hidden_tls_proto): Likewise.
46097         (rtld_hidden_tls_proto): Likewise.
46098         (libm_hidden_tls_proto): Likewise.
46099         (libresolv_hidden_tls_proto): Likewise.
46100         (librt_hidden_tls_proto): Likewise.
46101         (libdl_hidden_tls_proto): Likewise.
46102         (libnss_files_hidden_tls_proto): Likewise.
46103         (libnsl_hidden_tls_proto): Likewise.
46104         (libnss_nisplus_hidden_tls_proto): Likewise.
46105         (libutil_hidden_tls_proto): Likewise.
46107 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
46109         [BZ #10253]
46110         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
46111         (decompose_rpath): Defer expansion to fillin_rpath.
46112         (_dl_init_paths): Pass linkmap to fillin_rpath.
46114 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46116         * benchtests/Makefile: Add strsep.
46117         * benchtests/bench-strsep.c: New file: strsep benchtest.
46118         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
46120 2013-11-18  Andreas Schwab  <schwab@suse.de>
46122         * locale/programs/locale.c (show_info) [case byte]: Check for
46123         '\377' instead of '\177'.
46124         * locale/C-monetary.c (not_available): Always use "\377".
46125         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
46126         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
46127         detect unavailable sign_posn locale elements.
46128         * locale/localeconv.c (__localeconv): For grouping and
46129         mon_grouping handle "\177" and "\377" like no grouping.
46130         (INT_ELEM): New macro.  Use it to set all numeric members.
46131         * locale/programs/ld-monetary.c (monetary_read)
46132         <tok_mon_grouping>: Normalize single -1 to the empty string.
46133         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
46134         Likewise.
46136 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46138         [BZ #16055]
46139         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
46140         when we match (nil).
46141         * stdio-common/tst-sscanf.c (struct test): Add testcase.
46143 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
46145         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
46146         (NO_TEST_INLINE): Update value.
46147         (ERRNO_UNCHANGED): Likewise.
46148         (ERRNO_EDOM): Likewise.
46149         (ERRNO_ERANGE): Likewise.
46150         (IGNORE_RESULT): Likewise.
46151         (check_float_internal): Check signs of NaN results if
46152         TEST_NAN_SIGN used.
46153         (check_complex): Pass TEST_NAN_SIGN flag through to second
46154         check_float_internal call.
46155         (copysign_test_data): Add tests with quiet NaNs as second
46156         argument.  Use TEST_NAN_SIGN.
46157         (fabs_test_data): Add test of negative quiet NaN argument.  Use
46158         TEST_NAN_SIGN.
46159         (signbit_test_data): Add tests of quiet NaN argument.
46160         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
46162         * math/gen-libm-test.pl (show_exceptions): Take extra argument
46163         $ignore_result.
46164         (parse_args): Handle function results specified as IGNORE.
46165         * math/libm-test.inc (IGNORE_RESULT): New macro.
46166         (check_float_internal): Do not check numerical result if flag
46167         IGNORE_RESULT set.
46168         (check_complex): Pass through IGNORE_RESULT to second
46169         check_float_internal call.
46170         (check_int): Do not check numerical result if flag IGNORE_RESULT
46171         set.
46172         (check_long): Likewise.
46173         (check_bool): Likewise.
46174         (check_longlong): Likewise.
46175         (lrint_test_data): Add tests of infinite and NaN arguments.
46176         (lrint_tonearest_test_data): Likewise.
46177         (lrint_towardzero_test_data): Likewise.
46178         (lrint_downward_test_data): Likewise.
46179         (lrint_upward_test_data): Likewise.
46180         (llrint_test_data): Likewise.
46181         (llrint_tonearest_test_data): Likewise.
46182         (llrint_towardzero_test_data): Likewise.
46183         (llrint_downward_test_data): Likewise.
46184         (llrint_upward_test_data): Likewise.
46185         (lround_test_data): Likewise.
46186         (llround_test_data): Likewise.
46188         * math/libm-test.inc (NO_TEST_INLINE): New macro.
46189         (ERRNO_UNCHANGED): Update value.
46190         (ERRNO_EDOM): Likewise.
46191         (ERRNO_ERANGE): Likewise.
46192         (NO_TEST_INLINE_FLOAT): New macro.
46193         (NO_TEST_INLINE_DOUBLE): Likewise.
46194         (enable_test): New function.
46195         (RUN_TEST_f_f): Check enable_test before running test.
46196         (RUN_TEST_2_f): Likewise.
46197         (RUN_TEST_fff_f): Likewise.
46198         (RUN_TEST_c_f): Likewise.
46199         (RUN_TEST_f_f1): Likewise.
46200         (RUN_TEST_fF_f1): Likewise.
46201         (RUN_TEST_fI_f1): Likewise.
46202         (RUN_TEST_ffI_f1): Likewise.
46203         (RUN_TEST_c_c): Likewise.
46204         (RUN_TEST_cc_c): Likewise.
46205         (RUN_TEST_f_i): Likewise.
46206         (RUN_TEST_f_i_tg): Likewise.
46207         (RUN_TEST_ff_i_tg): Likewise.
46208         (RUN_TEST_f_b): Likewise.
46209         (RUN_TEST_f_b_tg): Likewise.
46210         (RUN_TEST_f_l): Likewise.
46211         (RUN_TEST_f_L): Likewise.
46212         (RUN_TEST_fFF_11): Likewise.
46213         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
46214         conditionals.
46215         (cosh_test_data): Likewise.
46216         (exp_test_data): Likewise.
46217         (expm1_test_data): Likewise.
46218         (hypot_test_data): Likewise.
46219         (pow_test_data): Likewise.
46220         (sinh_test_data): Likewise.
46221         (tanh_test_data): Likewise.
46222         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
46223         flags argument.
46225         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
46226         tests with quiet NaN input and output.
46227         (acosh_test_data): Likewise.
46228         (asin_test_data): Likewise.
46229         (asinh_test_data): Likewise.
46230         (atan_test_data): Likewise.
46231         (atanh_test_data): Likewise.
46232         (atan2_test_data): Likewise.
46233         (cbrt_test_data): Likewise.
46234         (cos_test_data): Likewise.
46235         (cosh_test_data): Likewise.
46236         (erf_test_data): Likewise.
46237         (erfc_test_data): Likewise.
46238         (exp_test_data): Likewise.
46239         (exp10_test_data): Likewise.
46240         (exp2_test_data): Likewise.
46241         (expm1_test_data): Likewise.
46242         (hypot_test_data): Likewise.
46243         (j0_test_data): Likewise.
46244         (j1_test_data): Likewise.
46245         (jn_test_data): Likewise.
46246         (lgamma_test_data): Likewise.
46247         (log_test_data): Likewise.
46248         (log10_test_data): Likewise.
46249         (log1p_test_data): Likewise.
46250         (log2_test_data): Likewise.
46251         (pow_test_data): Likewise.
46252         (scalb_test_data): Likewise.
46253         (sin_test_data): Likewise.
46254         (sincos_test_data): Likewise.
46255         (sinh_test_data): Likewise.
46256         (tan_test_data): Likewise.
46257         (tanh_test_data): Likewise.
46258         (tgamma_test_data): Likewise.
46259         (y0_test_data): Likewise.
46260         (y1_test_data): Likewise.
46261         (yn_test_data): Likewise.
46263         [BZ #16167]
46264         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
46265         argument being NaN and avoid computations with second argument in
46266         that case.
46267         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46268         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46269         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46271 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
46273         * locale/iso-639.def: Add Chitwani Tharu (the).
46275 2013-11-14  Andreas Schwab  <schwab@suse.de>
46277         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
46278         word instead of empty string.
46280 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46283         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
46284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46285         (__fe_nomask_env): Likewise.
46287 2013-11-13  Steve Ellcey  <sellcey@mips.com>
46289         * benchtests/bench-timing.h: Include time.h.
46291 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
46293         [BZ #15997]
46294         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
46295         to 3.4.0 for x32.
46296         * sysdeps/unix/sysv/linux/configure: Regenerated.
46298 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
46300         [BZ #16151]
46301         * stdlib/strtod_l.c (round_and_return): Do not consider
46302         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
46303         exponent one less than half the least subnormal exponent.
46304         * stdlib/test-strtod-round-data: Add more tests.
46305         * stdlib/tst-strtod-round.c (tests): Regenerated.
46307 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46309         [BZ #14143]
46310         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
46311         (__fe_mask_env): Likewise.
46312         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
46313         libm_hidden_proto and add function prototype.
46314         (__fe_mask_env): Add function prototype.
46315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46316         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
46317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46318         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
46319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46320         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
46322 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46324         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
46325         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
46327 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46329         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
46330         of htab_find_slot().
46332 2013-11-11  David S. Miller  <davem@davemloft.net>
46334         [BZ #16150]
46335         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
46336         symbol in the non-vis3 case in static builds.
46337         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
46338         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
46339         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
46340         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
46342 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
46344         [BZ #387]
46345         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
46346         it is empty.
46348 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46350         * benchtests/Makefile: Add bench-strtod.
46351         * benchtests/bench-strtod.c: New file: strtod benchtest
46353 2013-11-11  Andreas Schwab  <schwab@suse.de>
46355         [BZ #16153]
46356         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
46357         terminating NUL in key length.
46359 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46361         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46362         Add artificial ODP entry for vDSO symbol for PPC64.
46363         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
46364         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
46366 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46368         [BZ #15374]
46369         * nss/getent.c (services_keys): Recognize services starting with digit.
46371 2013-11-06  David S. Miller  <davem@davemloft.net>
46373         [BZ #15985]
46374         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
46375         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
46377 2013-11-06  Will Newton  <will.newton@linaro.org>
46379         * manual/memory.texi (Malloc Examples): Remove register
46380         keyword from examples.
46382 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
46384         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
46386 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
46388         [BZ #6981]
46389         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
46390         depending on [__GCC_IEC_559 > 0].
46391         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
46392         depending on [__GCC_IEC_559_COMPLEX > 0].
46394 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
46396         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
46397         to iso-639.def.
46399 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
46401         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
46403 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
46405         [BZ #16112]
46406         * malloc/malloc (malloc_info): Do not handle first bin as
46407         special case.
46409 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
46411         * locale/iso-639.def: Add Central Nahuatl (nhn).
46413 2013-11-01  Bruno Haible  <bruno@clisp.org>
46415         [BZ #7003]
46416         * manual/math.texi (BSD Random): Specify range upper bound as
46417         in POSIX.
46419 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
46421         * locale/iso-639.def: Add Meadow Mari (mhr).
46423 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
46425         [BZ #14752], [BZ #15763]
46426         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
46427         Validate name.
46428         * rt/tst_shm.c: Add test for escaping directory.
46430 2013-10-31  Andreas Schwab  <schwab@suse.de>
46432         [BZ #15917]
46433         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
46434         followed by 'x' as part of digit sequence.
46435         * stdio-common/tst-sscanf.c (double_tests2): New tests.
46437 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
46439         [BZ #16037]
46440         * configure.ac: allow GNU Make 4.0 and greater.
46441         * configure: Regenerated.
46443 2013-10-30  Will Newton  <will.newton@linaro.org>
46445         [BZ #16038]
46446         * malloc/hooks.c (memalign_check): Limit alignment to the
46447         maximum representable power of two.
46448         * malloc/malloc.c (__libc_memalign): Likewise.
46449         * malloc/tst-memalign.c (do_test): Add test for very
46450         large alignment values.
46451         * malloc/tst-posix_memalign.c (do_test): Likewise.
46453 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46455         [BZ #11087]
46456         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
46457         (munmap_chunk): Likewise.
46458         (mremap_chunk): Likewise.
46460 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46462         [BZ #15799]
46463         * stdlib/div.c (div): Remove obsolete code.
46464         * stdlib/ldiv.c (ldiv): Likewise.
46465         * stdlib/lldiv.c (lldiv): Likewise.
46467 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46469         [BZ #16071]
46470         * nss/nss_files/files-XXX.c (get_contents_ret): New
46471         enumerator.
46472         (get_contents): New function.
46473         (internal_getent): Use it.  Expand size of LINEBUFLEN.
46475 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
46477         * configure.in: Moved to ...
46478         * configure.ac: ... here. Change reference to configure.in
46479         to configure.ac.
46480         * sysdeps/arm/preconfigure.ac: ... here.
46481         configure.in to configure.ac.
46482         * sysdeps/gnu/configure.in: Moved to ...
46483         * sysdeps/gnu/configure.ac: ... here.
46484         * sysdeps/i386/configure.in: Moved to ...
46485         * sysdeps/i386/configure.ac: ... here.
46486         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
46487         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
46488         * sysdeps/mach/configure.in: Moved to ...
46489         * sysdeps/mach/configure.ac: ... here.
46490         * sysdeps/mach/hurd/configure.in: Moved to ...
46491         * sysdeps/mach/hurd/configure.ac: ... here.
46492         * sysdeps/powerpc/configure.in: Moved to ...
46493         * sysdeps/powerpc/configure.ac: ... here.
46494         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
46495         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
46496         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
46497         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
46498         * sysdeps/s390/s390-32/configure.in: Moved to ...
46499         * sysdeps/s390/s390-32/configure.ac: ... here.
46500         * sysdeps/s390/s390-64/configure.in: Moved to ...
46501         * sysdeps/s390/s390-64/configure.ac: ... here.
46502         * sysdeps/sh/configure.in: Moved to ...
46503         * sysdeps/sh/configure.ac: ... here.
46504         * sysdeps/sparc/configure.in: Moved to ...
46505         * sysdeps/sparc/configure.ac: ... here.
46506         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
46507         * sysdeps/unix/sysv/linux/configure.ac: ... here.
46508         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
46509         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
46510         * sysdeps/x86_64/configure.in: Moved to ...
46511         * sysdeps/x86_64/configure.ac: ... here.
46512         * sysdeps/x86_64/preconfigure.in: Moved to ...
46513         * sysdeps/x86_64/preconfigure.ac: ... here.
46514         * aclocal.m4: Change reference to configure.in to configure.ac.
46515         * config.h.in: Likewise.
46516         * manual/install.texi: Likewise.
46517         * manual/maint.texi: Likewise.
46518         * Makefile: Likewise.
46519         * malloc/Makefile: Likewise.
46520         * nscd/Makefile: Likewise.
46521         * Makeconfig: Change reference to configure.in and
46522         preconfigure.in to configure.ac and preconfigure.ac
46523         respectively.
46524         * INSTALL: Regenerated.
46525         * configure: Likewise.
46526         * sysdeps/gnu/configure: Likewise.
46527         * sysdeps/i386/configure: Likewise.
46528         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
46529         * sysdeps/mach/configure: Likewise.
46530         * sysdeps/mach/hurd/configure: Likewise.
46531         * sysdeps/powerpc/configure: Likewise.
46532         * sysdeps/powerpc/powerpc32/configure: Likewise.
46533         * sysdeps/powerpc/powerpc64/configure: Likewise.
46534         * sysdeps/s390/s390-32/configure: Likewise.
46535         * sysdeps/s390/s390-64/configure: Likewise.
46536         * sysdeps/sh/configure: Likewise.
46537         * sysdeps/sparc/configure: Likewise.
46538         * sysdeps/unix/sysv/linux/configure: Likewise.
46539         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
46540         * sysdeps/x86_64/configure: Likewise.
46541         * sysdeps/x86_64/preconfigure: Likewise.
46543 2013-10-29  Andreas Schwab  <schwab@suse.de>
46545         * stdio-common/Makefile (tst-swscanf-ENV): Define.
46547 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46549         * benchtests/pow-inputs: Add new inputs.
46551         * benchtests/exp-inputs: Add new inputs.
46553         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
46554         conditional check for return value.
46555         (__cos32): Likewise.
46557 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46559         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
46560         to provide a boost for large inputs with word alignment.
46561         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
46562         implementation based on optimized PPC64 strcpy.
46563         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
46564         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
46565         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
46566         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
46568 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46570         [BZ #2801]
46571         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
46573 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46575         [BZ #14876]
46576         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
46577         * time/tst-strptime.c (day_tests): Add testcase.
46579 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46581         [BZ #14029]
46582         * manual/pattern.texi: Acknowledge that fnmatch can fail.
46584 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
46586         [BZ #16074]
46587         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
46588         MAP_FAILED on error.
46590 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46592         [BZ #16072]
46593         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
46594         heap for large requests.
46596 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
46598         [BZ #9954]
46599         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
46600         result if the result has no associated interface.
46601         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
46602         interface for all 127.X.Y.Z addresses.
46604 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
46606         * locale/iso-639.def: Add Ligurian (lij)
46608 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
46610         [BZ #15825]
46611         * sunrpc/rpc_main.c: Document rpcgen -5.
46613 2013-10-19  Michael Stahl  <mstahl@redhat.com>
46615         * elf/rtld.c (do_preload): Print the reason why preloading failed.
46617 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46619         [BZ #10278]
46620         * posix/glob.c: Match only directories when trailing slash is present.
46621         * posix/tst-gnuglob.c (my_opendir): Do not open files.
46622         (main): Add testcase.
46624 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46626         [BZ #15670]
46627         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
46629 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
46631         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
46632         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
46633         AUTH_DES and cindex for FIPS 140-2.
46634         (DES Encryption): Add cindex FIPS 46-3.
46636         * locale/locarchive.h (struct locarhandle): Add fname.
46637         * locale/programs/localedef.c (main): Pass ARGV[remaining]
46638         if an optional argument was specified to --list-archive,
46639         otherwise NULL.
46640         * locale/programs/locarchive.c (show_archive_content): Take new
46641         argument fname and pass it via ah.fname to open_archive.
46642         * locale/programs/localedef.h: Update decl.
46643         (open_archive): If AH->fname is non-null, open that file
46644         rather than the default file name, and don't ignore ENOENT.
46645         (create_archive): Set AH.fname to NULL.
46646         (delete_locales_from_archive): Likewise.
46647         (add_locales_to_archive): Likewise.
46648         * locale/programs/locfile.c (write_all_categories): Likewise.
46650 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
46651             Aldy Hernandez  <aldyh@redhat.com>
46653         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
46654         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
46655         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
46656         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
46657         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
46658         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
46659         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
46660         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
46661         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
46662         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
46663         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
46664         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
46665         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
46666         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
46667         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
46668         Likewise.
46669         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
46670         Likewise.
46671         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
46672         Likewise.
46673         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
46674         Likewise.
46675         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
46676         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
46677         Likewise.
46678         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
46679         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
46680         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
46681         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
46682         Likewise.
46683         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
46684         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
46685         * sysdeps/powerpc/preconfigure: Likewise.
46686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
46687         Likewise.
46688         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
46689         Replace contents of file by #include of <fenv_libc.h>.
46690         * sysdeps/powerpc/soft-fp/sfp-machine.h
46691         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
46692         and <sys/prctl.h>.
46693         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
46694         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
46695         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
46696         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
46697         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
46698         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
46699         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
46700         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
46701         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
46702         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
46703         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
46704         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
46705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46706         Allow copysignl PLT reference to be missing.
46708 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
46709             Joseph Myers  <joseph@codesourcery.com
46711         [BZ #15948]
46712         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
46713         single character.
46714         (add_to_tablewc): Assert sequence of wide characters is nonempty.
46716 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46718         * elf/tst-tls-dlinfo.c: Don't include tls.h.
46719         * elf/tst-tls1.c: Likewise.
46720         * elf/tst-tls10.h: Likewise.
46721         * elf/tst-tls14.c: Likewise.
46722         * elf/tst-tls2.c: Likewise.
46723         * elf/tst-tls3.c: Likewise.
46724         * elf/tst-tls4.c: Likewise.
46725         * elf/tst-tls5.c: Likewise.
46726         * elf/tst-tls6.c: Likewise.
46727         * elf/tst-tls7.c: Likewise.
46728         * elf/tst-tls8.c: Likewise.
46729         * elf/tst-tls9.c: Likewise.
46730         * elf/tst-tlsmod1.c: Likewise.
46731         * elf/tst-tlsmod13.c: Likewise.
46732         * elf/tst-tlsmod13a.c: Likewise.
46733         * elf/tst-tlsmod14a.c: Likewise.
46734         * elf/tst-tlsmod16a.c: Likewise.
46735         * elf/tst-tlsmod16b.c: Likewise.
46736         * elf/tst-tlsmod2.c: Likewise.
46737         * elf/tst-tlsmod3.c: Likewise.
46738         * elf/tst-tlsmod4.c: Likewise.
46739         * elf/tst-tlsmod5.c: Likewise.
46740         * elf/tst-tlsmod6.c: Likewise.
46742 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
46744         [BZ #12486]
46745         * malloc/malloc.c: remove checks for statistics.
46747 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46749         [BZ #15277]
46750         * inet/inet_net.c (inet_network): Detect additional invalid strings.
46751         * inet/tst-network.c: Add testcase.
46753 2013-10-17  Andreas Schwab  <schwab@suse.de>
46755         [BZ #15218]
46756         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
46757         to determine canonical name.
46759 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46761         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
46762         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
46763         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46764         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46765         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46766         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46767         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46768         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46769         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46770         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46771         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46772         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46773         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46774         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46775         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46776         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46777         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46778         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46779         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46780         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46781         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46782         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46783         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46784         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
46785         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
46786         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46787         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46788         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
46789         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46790         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
46791         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46792         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46793         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46794         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46795         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46796         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46797         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46798         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46799         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46800         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46801         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46802         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46803         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46804         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46805         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46806         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46807         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46808         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46809         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46810         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46811         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46812         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46813         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46814         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46815         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46816         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46817         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46818         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46820 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
46822         [BZ #16041]
46823         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
46824         make result into a quiet NaN.
46826 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
46828         * soft-fp/adddf3.c: Fix horizontal whitespace.
46829         * soft-fp/addsf3.c: Likewise.
46830         * soft-fp/addtf3.c: Likewise.
46831         * soft-fp/divdf3.c: Likewise.
46832         * soft-fp/divsf3.c: Likewise.
46833         * soft-fp/divtf3.c: Likewise.
46834         * soft-fp/double.h: Likewise.
46835         * soft-fp/eqdf2.c: Likewise.
46836         * soft-fp/eqsf2.c: Likewise.
46837         * soft-fp/eqtf2.c: Likewise.
46838         * soft-fp/extenddftf2.c: Likewise.
46839         * soft-fp/extended.h: Likewise.
46840         * soft-fp/extendsfdf2.c: Likewise.
46841         * soft-fp/extendsftf2.c: Likewise.
46842         * soft-fp/extendxftf2.c: Likewise.
46843         * soft-fp/fixdfdi.c: Likewise.
46844         * soft-fp/fixdfsi.c: Likewise.
46845         * soft-fp/fixdfti.c: Likewise.
46846         * soft-fp/fixsfdi.c: Likewise.
46847         * soft-fp/fixsfsi.c: Likewise.
46848         * soft-fp/fixsfti.c: Likewise.
46849         * soft-fp/fixtfdi.c: Likewise.
46850         * soft-fp/fixtfsi.c: Likewise.
46851         * soft-fp/fixtfti.c: Likewise.
46852         * soft-fp/fixunsdfdi.c: Likewise.
46853         * soft-fp/fixunsdfsi.c: Likewise.
46854         * soft-fp/fixunsdfti.c: Likewise.
46855         * soft-fp/fixunssfdi.c: Likewise.
46856         * soft-fp/fixunssfsi.c: Likewise.
46857         * soft-fp/fixunssfti.c: Likewise.
46858         * soft-fp/fixunstfdi.c: Likewise.
46859         * soft-fp/fixunstfsi.c: Likewise.
46860         * soft-fp/fixunstfti.c: Likewise.
46861         * soft-fp/floatdidf.c: Likewise.
46862         * soft-fp/floatdisf.c: Likewise.
46863         * soft-fp/floatditf.c: Likewise.
46864         * soft-fp/floatsidf.c: Likewise.
46865         * soft-fp/floatsisf.c: Likewise.
46866         * soft-fp/floatsitf.c: Likewise.
46867         * soft-fp/floattidf.c: Likewise.
46868         * soft-fp/floattisf.c: Likewise.
46869         * soft-fp/floattitf.c: Likewise.
46870         * soft-fp/floatundidf.c: Likewise.
46871         * soft-fp/floatundisf.c: Likewise.
46872         * soft-fp/floatunditf.c: Likewise.
46873         * soft-fp/floatunsidf.c: Likewise.
46874         * soft-fp/floatunsisf.c: Likewise.
46875         * soft-fp/floatunsitf.c: Likewise.
46876         * soft-fp/floatuntidf.c: Likewise.
46877         * soft-fp/floatuntisf.c: Likewise.
46878         * soft-fp/floatuntitf.c: Likewise.
46879         * soft-fp/fmadf4.c: Likewise.
46880         * soft-fp/fmasf4.c: Likewise.
46881         * soft-fp/fmatf4.c: Likewise.
46882         * soft-fp/gedf2.c: Likewise.
46883         * soft-fp/gesf2.c: Likewise.
46884         * soft-fp/getf2.c: Likewise.
46885         * soft-fp/ledf2.c: Likewise.
46886         * soft-fp/lesf2.c: Likewise.
46887         * soft-fp/letf2.c: Likewise.
46888         * soft-fp/muldf3.c: Likewise.
46889         * soft-fp/mulsf3.c: Likewise.
46890         * soft-fp/multf3.c: Likewise.
46891         * soft-fp/negdf2.c: Likewise.
46892         * soft-fp/negsf2.c: Likewise.
46893         * soft-fp/negtf2.c: Likewise.
46894         * soft-fp/op-1.h: Likewise.
46895         * soft-fp/op-2.h: Likewise.
46896         * soft-fp/op-4.h: Likewise.
46897         * soft-fp/op-8.h: Likewise.
46898         * soft-fp/op-common.h: Likewise.
46899         * soft-fp/quad.h: Likewise.
46900         * soft-fp/single.h: Likewise.
46901         * soft-fp/soft-fp.h: Likewise.
46902         * soft-fp/sqrtdf2.c: Likewise.
46903         * soft-fp/sqrtsf2.c: Likewise.
46904         * soft-fp/sqrttf2.c: Likewise.
46905         * soft-fp/subdf3.c: Likewise.
46906         * soft-fp/subsf3.c: Likewise.
46907         * soft-fp/subtf3.c: Likewise.
46908         * soft-fp/truncdfsf2.c: Likewise.
46909         * soft-fp/trunctfdf2.c: Likewise.
46910         * soft-fp/trunctfsf2.c: Likewise.
46911         * soft-fp/trunctfxf2.c: Likewise.
46912         * soft-fp/unorddf2.c: Likewise.
46913         * soft-fp/unordsf2.c: Likewise.
46914         * soft-fp/unordtf2.c: Likewise.
46916 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
46918         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
46919         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
46921 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
46923         * elf/dl-libc.c: Clear initfini list after freeing.
46925 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
46927         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
46928         * soft-fp/addsf3.c: Likewise.
46929         * soft-fp/addtf3.c: Likewise.
46930         * soft-fp/divdf3.c: Likewise.
46931         * soft-fp/divsf3.c: Likewise.
46932         * soft-fp/divtf3.c: Likewise.
46933         * soft-fp/double.h: Likewise.
46934         * soft-fp/eqdf2.c: Likewise.
46935         * soft-fp/eqsf2.c: Likewise.
46936         * soft-fp/eqtf2.c: Likewise.
46937         * soft-fp/extenddftf2.c: Likewise.
46938         * soft-fp/extended.h: Likewise.
46939         * soft-fp/extendsfdf2.c: Likewise.
46940         * soft-fp/extendsftf2.c: Likewise.
46941         * soft-fp/extendxftf2.c: Likewise.
46942         * soft-fp/fixdfdi.c: Likewise.
46943         * soft-fp/fixdfsi.c: Likewise.
46944         * soft-fp/fixdfti.c: Likewise.
46945         * soft-fp/fixsfdi.c: Likewise.
46946         * soft-fp/fixsfsi.c: Likewise.
46947         * soft-fp/fixsfti.c: Likewise.
46948         * soft-fp/fixtfdi.c: Likewise.
46949         * soft-fp/fixtfsi.c: Likewise.
46950         * soft-fp/fixtfti.c: Likewise.
46951         * soft-fp/fixunsdfdi.c: Likewise.
46952         * soft-fp/fixunsdfsi.c: Likewise.
46953         * soft-fp/fixunsdfti.c: Likewise.
46954         * soft-fp/fixunssfdi.c: Likewise.
46955         * soft-fp/fixunssfsi.c: Likewise.
46956         * soft-fp/fixunssfti.c: Likewise.
46957         * soft-fp/fixunstfdi.c: Likewise.
46958         * soft-fp/fixunstfsi.c: Likewise.
46959         * soft-fp/fixunstfti.c: Likewise.
46960         * soft-fp/floatdidf.c: Likewise.
46961         * soft-fp/floatdisf.c: Likewise.
46962         * soft-fp/floatditf.c: Likewise.
46963         * soft-fp/floatsidf.c: Likewise.
46964         * soft-fp/floatsisf.c: Likewise.
46965         * soft-fp/floatsitf.c: Likewise.
46966         * soft-fp/floattidf.c: Likewise.
46967         * soft-fp/floattisf.c: Likewise.
46968         * soft-fp/floattitf.c: Likewise.
46969         * soft-fp/floatundidf.c: Likewise.
46970         * soft-fp/floatundisf.c: Likewise.
46971         * soft-fp/floatunsidf.c: Likewise.
46972         * soft-fp/floatunsisf.c: Likewise.
46973         * soft-fp/floatuntidf.c: Likewise.
46974         * soft-fp/floatuntisf.c: Likewise.
46975         * soft-fp/floatuntitf.c: Likewise.
46976         * soft-fp/fmadf4.c: Likewise.
46977         * soft-fp/fmasf4.c: Likewise.
46978         * soft-fp/fmatf4.c: Likewise.
46979         * soft-fp/gedf2.c: Likewise.
46980         * soft-fp/gesf2.c: Likewise.
46981         * soft-fp/getf2.c: Likewise.
46982         * soft-fp/ledf2.c: Likewise.
46983         * soft-fp/lesf2.c: Likewise.
46984         * soft-fp/letf2.c: Likewise.
46985         * soft-fp/muldf3.c: Likewise.
46986         * soft-fp/mulsf3.c: Likewise.
46987         * soft-fp/multf3.c: Likewise.
46988         * soft-fp/negdf2.c: Likewise.
46989         * soft-fp/negsf2.c: Likewise.
46990         * soft-fp/negtf2.c: Likewise.
46991         * soft-fp/op-1.h: Likewise.
46992         * soft-fp/op-2.h: Likewise.
46993         * soft-fp/op-4.h: Likewise.
46994         * soft-fp/op-8.h: Likewise.
46995         * soft-fp/op-common.h: Likewise.
46996         * soft-fp/quad.h: Likewise.
46997         * soft-fp/single.h: Likewise.
46998         * soft-fp/soft-fp.h: Likewise.
46999         * soft-fp/sqrtdf2.c: Likewise.
47000         * soft-fp/sqrtsf2.c: Likewise.
47001         * soft-fp/sqrttf2.c: Likewise.
47002         * soft-fp/subdf3.c: Likewise.
47003         * soft-fp/subsf3.c: Likewise.
47004         * soft-fp/subtf3.c: Likewise.
47005         * soft-fp/truncdfsf2.c: Likewise.
47006         * soft-fp/trunctfdf2.c: Likewise.
47007         * soft-fp/trunctfsf2.c: Likewise.
47008         * soft-fp/trunctfxf2.c: Likewise.
47009         * soft-fp/unorddf2.c: Likewise.
47010         * soft-fp/unordsf2.c: Likewise.
47011         * soft-fp/unordtf2.c: Likewise.
47013 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
47015         [BZ #15672]
47016         * misc/error.c (error_tail): Fix possible buffer overflow.
47018 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
47020         [BZ #13028]
47021         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
47022         address.
47024 2013-10-14  P. J. McDermott  <pj@pehjota.net>
47026         [BZ #832]
47027         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
47028         testing pipefail option.
47030 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47032         * soft-fp/double.h: Indent preprocessor directives inside #if.
47033         * soft-fp/extended.h: Likewise.
47034         * soft-fp/op-2.h: Likewise.
47035         * soft-fp/op-4.h: Likewise.
47036         * soft-fp/op-common.h: Likewise.
47037         * soft-fp/quad.h: Likewise.
47038         * soft-fp/single.h: Likewise.
47039         * soft-fp/soft-fp.h: Likewise.
47041 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
47043         * iconv/iconv_prog.c: Fix typos.
47044         * stdio-common/psiginfo-data.h: Likewise.
47046 2013-10-12   Reuben Thomas <rrt@sc3d.org>
47048         [BZ #15764]
47049         * locale/setlocale.c: Fix typo.
47051 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47053         [BZ #16036]
47054         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
47055         signaling NaN arguments.
47056         * soft-fp/unordsf2.c (__unordsf2): Likewise.
47057         * soft-fp/unordtf2.c (__unordtf2): Likewise.
47059         [BZ #14910]
47060         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
47061         unordered operands.
47062         * soft-fp/gesf2.c (__gesf2): Likewise.
47063         * soft-fp/getf2.c (__getf2): Likewise.
47064         * soft-fp/ledf2.c (__ledf2): Likewise.
47065         * soft-fp/lesf2.c (__lesf2): Likewise.
47066         * soft-fp/letf2.c (__letf2): Likewise.
47068         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
47069         * soft-fp/eqsf2.c (__eqsf2): Likewise.
47070         * soft-fp/eqtf2.c (__eqtf2): Likewise.
47071         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
47072         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
47073         * soft-fp/fixdfti.c (__fixdfti): Likewise.
47074         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
47075         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
47076         * soft-fp/fixsfti.c (__fixsfti): Likewise.
47077         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
47078         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
47079         * soft-fp/fixtfti.c (__fixtfti): Likewise.
47080         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
47081         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
47082         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
47083         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
47084         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
47085         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
47086         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
47087         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
47088         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
47089         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
47090         * soft-fp/floatdisf.c (__floatdisf): Likewise.
47091         * soft-fp/floatsisf.c (__floatsisf): Likewise.
47092         * soft-fp/floattidf.c (__floattidf): Likewise.
47093         * soft-fp/floattisf.c (__floattisf): Likewise.
47094         * soft-fp/floattitf.c (__floattitf): Likewise.
47095         * soft-fp/floatundidf.c (__floatundidf): Likewise.
47096         * soft-fp/floatundisf.c (__floatundisf): Likewise.
47097         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
47098         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
47099         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
47100         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
47101         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
47102         * soft-fp/gesf2.c (__gesf2): Likewise.
47103         * soft-fp/getf2.c (__getf2): Likewise.
47104         * soft-fp/ledf2.c (__ledf2): Likewise.
47105         * soft-fp/lesf2.c (__lesf2): Likewise.
47106         * soft-fp/letf2.c (__letf2): Likewise.
47108         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
47109         Undefine and redefine.
47110         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
47111         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
47112         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
47113         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
47114         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47115         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
47116         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47117         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
47118         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47119         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
47120         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47121         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
47122         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47123         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
47124         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47126         [BZ #16032]
47127         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
47128         without decrementing exponent if mantissa >= that for the
47129         denominator, not >.
47130         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
47131         denominator, not >.  Decrement exponent in < case instead of
47132         incrementing in >= case.
47133         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
47134         without decrementing exponent if mantissa >= that for the
47135         denominator, not >.
47137         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
47138         computing saturated result for unsigned overflow.
47140 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47141             Jeff Law  <law@redhat.com>
47143         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
47144         (atan2Mp): Add systemtap probe marker.
47145         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
47146         (__ieee754_log): Add systemtap probe marker.
47147         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
47148         (atanMp): Add systemtap probe marker.
47149         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
47150         (tanMp): Add systemtap probe marker.
47151         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
47152         (__slowexp): Add systemtap probe marker.
47153         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
47154         (__slowpow): Add systemtap probe marker.
47155         * manual/probes.texi: Document probes.
47157 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
47159         [BZ #15362]
47160         * libio/fileops.c (_IO_new_file_write): Return count of bytes
47161         written.
47162         (_IO_new_file_xsputn): Don't return EOF if nothing has been
47163         written.
47164         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
47165         written to buffer but not flushed.
47166         * libio/iofwrite_u.c:  Likewise.
47167         * libio/iopadn.c:  Return bytes returned even if EOF was
47168         encountered.
47169         * libio/iowpadn.c:  Likewise.
47170         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
47171         if _IO_padn does not write the whole buffer.
47172         [!COMPILE_WPRINTF] (PAD): Likewise.
47174 2013-10-10  David S. Miller  <davem@davemloft.net>
47176         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
47177         directory block.
47179 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47181         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
47182         instead of FSF address.
47183         * soft-fp/fixdfti.c: Likewise.
47184         * soft-fp/fixsfti.c: Likewise.
47185         * soft-fp/fixtfti.c: Likewise.
47186         * soft-fp/fixunsdfti.c: Likewise.
47187         * soft-fp/fixunssfti.c: Likewise.
47188         * soft-fp/fixunstfti.c: Likewise.
47189         * soft-fp/floattidf.c: Likewise.
47190         * soft-fp/floattisf.c: Likewise.
47191         * soft-fp/floattitf.c: Likewise.
47192         * soft-fp/floatuntidf.c: Likewise.
47193         * soft-fp/floatuntisf.c: Likewise.
47194         * soft-fp/floatuntitf.c: Likewise.
47195         * soft-fp/trunctfxf2.c: Likewise.
47197         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
47198         * soft-fp/fixdfti.c: Likewise.
47199         * soft-fp/fixsfti.c: Likewise.
47200         * soft-fp/fixtfti.c: Likewise.
47201         * soft-fp/fixunsdfti.c: Likewise.
47202         * soft-fp/fixunssfti.c: Likewise.
47203         * soft-fp/fixunstfti.c: Likewise.
47204         * soft-fp/floattidf.c: Likewise.
47205         * soft-fp/floattisf.c: Likewise.
47206         * soft-fp/floattitf.c: Likewise.
47207         * soft-fp/floatuntidf.c: Likewise.
47208         * soft-fp/floatuntisf.c: Likewise.
47209         * soft-fp/floatuntitf.c: Likewise.
47210         * soft-fp/trunctfxf2.c: Likewise.
47212 2013-10-10  David S. Miller  <davem@davemloft.net>
47214         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47216 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
47218         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47219         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
47220         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
47221         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
47222         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
47223         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
47224         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
47226         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
47227         for NaNs before doing comparisons on argument.
47228         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
47229         Likewise.
47231 2013-10-10  Will Newton  <will.newton@linaro.org>
47233         * malloc/hooks.c (memalign_check): Ensure the value of bytes
47234         passed to _int_memalign does not overflow.
47236 2013-10-10  Torvald Riegel  <triegel@redhat.com>
47238         * scripts/bench.pl: Add include-sources directive.
47239         * benchtests/README: Update documentation.
47241 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47243         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
47244         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
47245         instead of FP_INIT_ROUNDMODE.
47246         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
47247         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
47249         [BZ #16034]
47250         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
47251         copy class of input value.
47252         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
47253         not handle exceptions.
47254         * soft-fp/negsf2.c (__negsf2): Likewise.
47255         * soft-fp/negtf2.c (__negtf2): Likewise.
47256         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
47258 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
47260         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
47261         semicolon.  From Linux kernel.
47263 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
47265         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
47267 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
47269         [BZ #156]
47270         * manual/socket.texi: Added statement about buffer
47271         for gethostbyname2_r.
47273 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
47275         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
47276         Use .p2align directive instead, throughout.
47277         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47278         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
47279         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
47280         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47281         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47282         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
47283         * sysdeps/x86_64/strchr.S: Likewise.
47284         * sysdeps/x86_64/strrchr.S: Likewise.
47286 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47288         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
47290         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
47292         * sysdeps/generic/math_private.h (__mpsin1): Remove
47293         declaration.
47294         (__mpcos1): Likewise.
47295         (__mpsin): New argument __range_reduce.
47296         (__mpcos): Likewise.
47297         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47298         (slow): Use __mpsin and __mpcos.
47299         (slow1): Likewise.
47300         (slow2): Likewise.
47301         (sloww): Likewise.
47302         (sloww1): Likewise.
47303         (sloww2): Likewise.
47304         (bsloww): Likewise.
47305         (bsloww1): Likewise.
47306         (bsloww2): Likewise.
47307         (cslow2): Likewise.
47308         (csloww): Likewise.
47309         (csloww1): Likewise.
47310         (csloww2): Likewise.
47311         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
47312         range_reduce.  Merge in __mpsin1.
47313         (__mpcos): Likewise.
47314         (__mpsin1): Remove.
47315         (__mpcos1): Likewise.
47317 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
47319         * locale/loadlocale.c (_nl_intern_locale_data): Use
47320         LOCFILE_ALIGNED_P.
47321         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
47322         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
47323         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
47324         obstack data is appropriately aligned.
47325         (obstack_int32_grow_fast): Likewise.
47326         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
47327         * locale/programs/locfile.c (add_locale_uint32): Likewise.
47328         (add_locale_uint32_array): Likewise.
47330 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47332         * benchtests/Makefile: Remove ARGLIST and RET variables.
47333         ($(objpfx)bench-%.c): Pass only function name to the script.
47334         * benchtests/README: Update documentation.
47335         * benchtests/acos-inputs: Add new directives.
47336         * benchtests/acosh-inputs: Likewise.
47337         * benchtests/asin-inputs: Likewise.
47338         * benchtests/asinh-inputs: Likewise.
47339         * benchtests/atan-inputs: Likewise.
47340         * benchtests/atanh-inputs: Likewise.
47341         * benchtests/cos-inputs: Likewise.
47342         * benchtests/cosh-inputs: Likewise.
47343         * benchtests/exp-inputs: Likewise.
47344         * benchtests/log-inputs: Likewise.
47345         * benchtests/pow-inputs: Likewise.
47346         * benchtests/rint-inputs: Likewise.
47347         * benchtests/sin-inputs: Likewise.
47348         * benchtests/sinh-inputs: Likewise.
47349         * benchtests/tan-inputs: Likewise.
47350         * benchtests/tanh-inputs: Likewise.
47351         * scripts/bench.pl: Add support for new directives.
47353 2013-10-07  Alan Modra  <amodra@gmail.com>
47355         * README: Fix careless merge.
47357 2013-10-05  Alan Modra  <amodra@gmail.com>
47359         * NEWS: Mention powerpc64le support and bugs fixed.
47360         * README: Both big-endian and little-endian powerpc64 supported.
47362 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47364         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
47365         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
47366         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
47367         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
47369 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
47371         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
47372         match prototype.
47374 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
47376         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
47377         Move -mhard-float appending from
47378         ports/sysdeps/powerpc/powerpc32/Makefile.
47379         [$(with-fp) = yes] (ASFLAGS): Likewise.
47380         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
47381         * sysdeps/powerpc/nofpu: Move directory from
47382         ports/sysdeps/powerpc/nofpu.
47383         * sysdeps/powerpc/soft-fp: Move directory from
47384         ports/sysdeps/powerpc/soft-fp.
47385         * sysdeps/powerpc/powerpc32/405: Move directory from
47386         ports/sysdeps/powerpc/powerpc32/405.
47387         * sysdeps/powerpc/powerpc32/440: Move directory from
47388         ports/sysdeps/powerpc/powerpc32/440.
47389         * sysdeps/powerpc/powerpc32/464: Move directory from
47390         ports/sysdeps/powerpc/powerpc32/464.
47391         * sysdeps/powerpc/powerpc32/476: Move directory from
47392         ports/sysdeps/powerpc/powerpc32/476.
47393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
47394         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
47395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
47396         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
47397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
47398         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
47399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
47400         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
47401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
47402         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
47403         * README: Update for powerpc-*-linux-gnu software floating point
47404         support in libc.
47406         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
47407         case to powerpc/powerpc32*.
47408         * sysdeps/unix/sysv/linux/configure: Regenerated.
47410         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
47411         (_FPU_MASK_OM): Define as 0x04.
47412         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
47413         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
47414         0x00c10080.
47415         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
47416         0x0000003c.
47417         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
47419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
47420         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47421         getcontext_e500.
47422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
47423         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47424         setcontext_e500.
47425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
47426         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
47427         and setcontext_e500.
47429 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
47431         * locale/iso-3166.def: Update iso-1366.def and related occurrences
47433 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47435         * manual/threads.texi (Default Thread Attributes): Fix typo.
47437 2013-10-04  Will Newton  <will.newton@linaro.org>
47439         * malloc/Makefile: Add tst-memalign.
47440         * malloc/tst-memalign.c: New file.
47442         * malloc/tst-posix_memalign.c: Add comments.
47443         (do_test): Add comments and call free on all potentially
47444         allocated pointers. Add space after cast.
47446         * malloc/tst-pvalloc.c: Add comments.
47447         (do_test): Add comments and call free on all potentially
47448         allocated pointers. Remove duplicate check for NULL pointer.
47449         Add space after cast.
47451         * malloc/tst-valloc.c: Add comments.
47452         (do_test): Add comments and call free on all potentially
47453         allocated pointers. Remove duplicate check for NULL pointer.
47454         Add space after cast.
47456 2013-10-04  Alan Modra  <amodra@gmail.com>
47458         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47459         Use stdint types in rather than __attribute__((mode())).
47460         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47462 2013-10-04  Alan Modra  <amodra@gmail.com>
47464         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47465         Correct handling of unaligned relocs for little-endian.
47466         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47468 2013-10-04  Alan Modra  <amodra@gmail.com>
47470         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
47471         * configure: Regenerate.
47472         * nptl/shlib-versions: Powerpc*le starts at 2.18.
47473         * shlib-versions: Likewise.
47475 2013-10-04  Alan Modra  <amodra@gmail.com>
47477         * string/tester.c (test_memrchr): Increment reported test cycle.
47479 2013-10-04  Alan Modra  <amodra@gmail.com>
47481         * string/test-memcpy.c (do_one_test): When reporting errors, print
47482         string address and don't overrun end of string.
47484 2013-10-04  Alan Modra  <amodra@gmail.com>
47486         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
47487         insrdi.  Make better use of reg selection to speed exit slightly.
47488         Schedule entry path a little better.  Remove useless "are we done"
47489         checks on entry to main loop.  Handle wrapping around zero address.
47490         Correct main loop count.  Handle single left-over word from main
47491         loop inline rather than by using loop_small.  Remove extra word
47492         case in loop_small caused by wrong loop count.  Add little-endian
47493         support.
47494         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47495         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
47496         cache hint.
47497         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47498         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
47499         support.  Avoid rlwimi.
47500         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
47502 2013-10-04  Alan Modra  <amodra@gmail.com>
47504         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
47505         insrdi.  Formatting.
47506         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
47507         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47508         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
47509         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47510         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47511         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
47513 2013-10-04  Alan Modra  <amodra@gmail.com>
47515         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
47516         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47517         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47518         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
47519         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47520         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47521         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47522         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47523         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
47524         use of regs.  Use power7 mtocrf.  Tidy function tails.
47526 2013-10-04  Alan Modra  <amodra@gmail.com>
47528         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
47529         Formatting.  Consistently use rXXX register defines or rN defines.
47530         Use early exit labels that avoid restoring unused non-volatile regs.
47531         Make cr field use more consistent with rWORDn compares.  Rename
47532         regs used as shift registers for unaligned loop, using rN defines
47533         for short lifetime/multiple use regs.
47534         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47535         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
47536         addi 1,1,64 to pop stack frame.  Simplify return value code.
47537         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47539 2013-10-04  Alan Modra  <amodra@gmail.com>
47541         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
47542         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
47543         rather than rlwimi.
47544         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
47545         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
47546         little-endian support.  Correct typos.
47547         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
47548         rather than rlwimi.
47549         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
47550         in loop and entry code to keep "and." results.
47551         (strchr): Add little-endian support.  Comment.  Move cntlzd
47552         earlier in tail.
47553         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
47555 2013-10-04  Alan Modra  <amodra@gmail.com>
47557         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
47558         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
47559         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
47560         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
47562 2013-10-04  Alan Modra  <amodra@gmail.com>
47564         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
47565         (rTMP): Define as r11.
47566         (strcmp): Add little-endian support.  Optimise tail.
47567         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
47568         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47569         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47570         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47571         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47572         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47573         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47575 2013-10-04  Alan Modra  <amodra@gmail.com>
47577         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
47578         little-endian support.  Remove unnecessary "are we done" tests.
47579         Handle "s" wrapping around zero and extremely large "size".
47580         Correct main loop count.  Handle single left-over word from main
47581         loop inline rather than by using small_loop.  Correct comments.
47582         Delete "zero" tail, use "end_max" instead.
47583         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
47585 2013-10-04  Alan Modra  <amodra@gmail.com>
47587         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
47588         support.  Don't branch over align.
47589         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
47590         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
47591         support.  Rearrange tmp reg use to suit.  Comment.
47592         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
47594 2013-10-04  Alan Modra  <amodra@gmail.com>
47596         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
47598 2013-10-04  Alan Modra  <amodra@gmail.com>
47600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
47601         conditional form of branch and link when obtaining pc.
47602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47604 2013-10-04  Alan Modra  <amodra@gmail.com>
47606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
47607         HIWORD/LOWORD.
47608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
47609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
47611 2013-10-04  Alan Modra  <amodra@gmail.com>
47613         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
47614         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
47615         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
47616         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
47617         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47618         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47619         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
47620         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47621         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
47622         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
47624 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47625             Alistair Popple <alistair@ozlabs.au.ibm.com>
47626             Alan Modra <amodra@gmail.com>
47628         [BZ #15723]
47629         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
47630         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
47631         _dl_hwcap access for little-endian.
47632         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
47633         destroy vmx regs when saving unaligned.
47634         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
47635         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
47636         destroy vmx regs when saving unaligned.
47638 2013-10-04  Alan Modra  <amodra@gmail.com>
47640         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
47641         Don't use a union to pack hi/low value.
47643 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47645         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
47646         for little-endian.
47647         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47648         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
47649         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47650         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47651         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47653 2013-10-04  Alan Modra  <amodra@gmail.com>
47655         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
47656         constants to usual value for .cst8 section, and remove redundant
47657         high address load.
47658         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
47659         constant for 0x1p52.  Load little-endian words of double from
47660         correct stack offsets.
47662 2013-10-04  Alan Modra  <amodra@gmail.com>
47664         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
47665         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
47666         words of double from correct stack offsets.
47667         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
47668         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
47669         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47670         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47671         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47672         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47673         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47674         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
47675         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
47676         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47677         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47678         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47679         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47680         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47681         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47682         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
47683         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
47685 2013-10-04  Alan Modra  <amodra@gmail.com>
47687         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
47688         64-bit int/double union.
47689         (_FPU_SETCW): Likewise.
47690         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
47691         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
47693 2013-10-04  Alan Modra  <amodra@gmail.com>
47695         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
47696         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
47698 2013-10-04  Alan Modra  <amodra@gmail.com>
47700         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
47701         use vector int constants.
47702         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
47704 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47706         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
47707         array with long long.
47708         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
47709         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
47710         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
47711         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
47712         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
47713         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
47714         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
47715         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
47716         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
47717         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
47718         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
47719         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
47720         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
47722 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47724         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
47725         (__signbit): Likewise.  Correct for little-endian.
47726         (__signbitl): Call __signbit.
47727         (lrint): Correct for little-endian.
47728         (lrintf): Call lrint.
47730 2013-10-04  Alan Modra  <amodra@gmail.com>
47732         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
47733         union 32-bit int array member with 64-bit int array.
47734         (t515, tm256): Double rather than long double.
47735         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
47737 2013-10-04  Alan Modra  <amodra@gmail.com>
47739         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
47740         Delete.
47741         (IEEE854_LONG_DOUBLE_BIAS): Delete.
47742         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
47743         version of math_ldbl.h.
47745 2013-10-04  Alan Modra  <amodra@gmail.com>
47747         [BZ #15734], [BZ #15735]
47748         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
47749         all uses of ieee875 long double macros and unions.  Simplify test
47750         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
47751         ldbl_extract_mantissa value for ix,iy exponents.  Properly
47752         normalize after ldbl_extract_mantissa, and don't add hidden bit
47753         already handled.  Don't treat low word of ieee854 mantissa like
47754         low word of IBM long double and mask off bit when testing for
47755         zero.
47756         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
47757         all uses of ieee875 long double macros and unions.  Simplify tests
47758         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
47759         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
47760         two1022, instead use their values.  Recognise that tests for large
47761         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
47762         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
47763         Rewrite all uses of ieee875 long double macros and unions.  Simplify
47764         test for 0.0L and nan.  Correct negation.
47765         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
47766         ieee875 long double macros and unions.  Correct output for large
47767         magnitude x.  Correct absolute value calculation.
47768         (__erfcl): Likewise.
47769         * math/libm-test.inc: Add tests for errors discovered in IBM long
47770         double versions of fmodl, remainderl, erfl and erfcl.
47772 2013-10-04  Alan Modra  <amodra@gmail.com>
47774         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
47775         all uses of ieee854 long double macros and unions.  Simplify tests
47776         for long doubles that are fully specified by the high double.
47777         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
47778         Likewise.
47779         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
47780         Remove dead code too.
47781         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
47782         (__ieee754_ynl): Likewise.
47783         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
47784         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
47785         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
47786         Remove dead code too.
47787         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
47788         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
47789         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
47790         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
47791         Simplify.
47792         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
47793         Simplify.
47794         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
47795         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
47796         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
47797         Comment on variable precision.
47798         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
47799         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47800         Likewise.
47801         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
47802         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47803         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47804         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
47805         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
47807 2013-10-04  Alan Modra  <amodra@gmail.com>
47809         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
47810         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
47811         all uses of ieee854 long double macros and unions.
47812         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
47813         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47814         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
47815         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
47816         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
47817         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47818         Likewise.
47819         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
47820         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47821         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
47822         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47823         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
47824         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
47825         Simplify sign and nan test too.
47826         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
47827         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
47828         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
47829         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
47830         Likewise.
47831         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47832         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
47833         Likewise.
47834         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47835         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
47836         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
47837         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
47838         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
47839         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
47841 2013-10-04  Alan Modra  <amodra@gmail.com>
47843         * stdio-common/printf_size.c (__printf_size): Don't use
47844         union ieee854_long_double in fpnum union.
47845         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
47846         signbit macro to retrieve sign from long double.
47847         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
47848         retrieve sign from long double.
47849         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
47850         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
47851         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
47852         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47853         * math/test-misc.c (main): Don't use union ieee854_long_double.
47855 2013-10-04  Alan Modra  <amodra@gmail.com>
47857         [BZ #15680]
47858         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
47859         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
47860         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
47861         calculation.  Remove unnecessary test for denormal exponent.
47862         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
47863         Correct handling of denormals.  Avoid undefined shift behaviour.
47864         Correct normalisation of low mantissa when low double is denormal.
47865         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
47866         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
47867         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
47868         Correct normalisation of low mantissa.  Test for overflow of high
47869         mantissa and normalise.
47870         (ldbl_nearbyint): Use more readable constant for two52.
47871         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
47872         (__mpn_construct_long_double): Fix test for overflow of high
47873         mantissa and correct normalisation.  Avoid undefined shift.
47875 2013-10-04  Alan Modra  <amodra@gmail.com>
47877         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47878         (union ibm_extended_long_double): Define as an array of ieee754_double.
47879         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47880         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47881         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47882         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47883         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47884         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47885         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47886         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47887         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47888         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47889         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47891 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
47893         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
47894         page size instead of calling getpagesize.
47896         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
47897         (LOCFILE_ALIGN_MASK): Likewise.
47898         (LOCFILE_ALIGN_UP): Likewise.
47899         (LOCFILE_ALIGNED_P): Likewise.
47900         * locale/programs/ld-collate.c (collate_output): Use the new
47901         macros instead of __alignof__ (int32_t).
47902         * locale/weight.h (findidx): Likewise.
47904 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
47906         [BZ #431]
47907         * manual/string.texi: Fix strncat and wcsncat.
47909 2013-10-03  Brooks Moses  <bmoses@google.com>
47911         [BZ #15915]
47912         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
47913         * Makerules: ...here, and adjust associated comments.
47915 2013-10-02  Will Newton  <will.newton@linaro.org>
47917         * malloc/Makefile: Add tst-pvalloc.
47918         * malloc/tst-pvalloc.c: New file.
47920 2013-10-02  Will Newton  <will.newton@linaro.org>
47922         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
47923         improve test coverage.
47925 2013-10-02  Will Newton  <will.newton@linaro.org>
47927         * malloc/Makefile: Add tst-posix_memalign.
47928         * malloc/tst-posix_memalign.c: New file.
47930 2013-10-01  Eric Blake  <eblake@redhat.com>
47932         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
47933         Use __THROWNL rather than __THROW on static functions.
47935 2013-09-30  Petr Machata  <pmachata@redhat.com>
47937         * elf/elf.h (R_AARCH64_ABS16): New macro.
47938         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
47939         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
47940         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
47941         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
47942         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
47943         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
47944         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
47945         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
47946         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
47947         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
47948         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
47949         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
47950         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
47951         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
47952         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
47953         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
47954         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
47955         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
47956         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
47957         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
47958         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
47959         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
47960         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
47961         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
47962         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
47963         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
47964         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
47965         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
47966         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
47967         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
47968         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
47969         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
47970         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
47971         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
47972         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
47973         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
47974         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
47975         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
47976         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
47977         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
47978         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
47979         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
47980         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
47981         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
47982         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
47983         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
47984         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
47985         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
47986         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
47987         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
47988         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
47989         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
47990         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
47991         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
47992         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
47993         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
47994         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
47995         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
47996         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
47997         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
47998         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
47999         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
48000         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
48001         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
48002         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
48003         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
48004         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
48005         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
48006         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
48007         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
48008         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
48009         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
48010         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
48011         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
48012         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
48013         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
48014         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
48015         (R_AARCH64_TLSDESC_LDR): Likewise.
48016         (R_AARCH64_TLSDESC_ADD): Likewise.
48017         (R_AARCH64_TLSDESC_CALL): Likewise.
48019 2013-09-30  Andreas Schwab  <schwab@suse.de>
48021         [BZ #15048]
48022         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
48023         the nss database lookup.
48024         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48025         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48027 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
48029         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
48031 2013-09-28  P. J. McDermott  <pj@pehjota.net>
48033         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
48034         ${Bash-specific parameter/pattern/string} parameter expansion.
48035         * sysdeps/unix/make-syscalls.sh: Likewise.
48037 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48039         * sysdeps/sh/stackguard-macros.h: New file.
48041 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
48043         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48044         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
48045         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
48046         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
48047         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48048         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
48050 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48052         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
48053         Fix thread ID register.
48055 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
48057         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
48058         [POSIX || UNIX98]: Require rather than permitting all symbols from
48059         <time.h>.
48060         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
48061         element of struct sched_param.
48062         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
48063         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
48064         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
48065         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
48066         constant.
48068 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
48070         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
48071         argument calculation.
48073 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48075         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
48076         Expect macro.
48077         [POSIX] (pthread_attr_t): Do not require type.
48078         [POSIX] (pthread_cond_t): Likewise.
48079         [POSIX] (pthread_condattr_t): Likewise.
48080         [POSIX] (pthread_key_t): Likewise.
48081         [POSIX] (pthread_mutex_t): Likewise.
48082         [POSIX] (pthread_mutexattr_t): Likewise.
48083         [POSIX] (pthread_once_t): Likewise.
48084         [POSIX] (pthread_t): Likewise.
48085         [POSIX-based standards] (pthread_atfork): Expect function.
48087 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48088             Richard Sandiford  <richard@codesourcery.com>
48090         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
48091         (swap_endianness_p): New extern variable.
48092         (set_big_endian): New inline function.
48093         (maybe_swap_uint32): Likewise.
48094         (maybe_swap_uint32_array): Likewise.
48095         (maybe_swap_uint32_obstack): Likewise.
48096         * locale/programs/locfile.c: Include <stdbool.h>.
48097         (swap_endianness_p): New variable.
48098         (add_locale_uint32): Call maybe_swap_uint32.
48099         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
48100         (write_locale_data): Call maybe_swap_uint32_array.
48101         * locale/programs/ld-collate.c (obstack_int32_grow): Call
48102         maybe_swap_uint32.
48103         (obstack_int32_grow_fast): Likewise.
48104         (output_weightwc): Call maybe_swap_uint32_obstack.
48105         (collate_output): Likewise.
48106         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
48107         (OPT_LITTLE_ENDIAN): Likewise.
48108         (options): Add --little-endian and --big-endian options.
48109         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
48110         * locale/programs/locarchive.c: Include "locfile.h".
48111         (GET): New macro.
48112         (SET): Likewise.
48113         (INC): Likewise.
48114         (create_archive): Use the new macros to access fields of
48115         structures directly mapped from or written to locale archives.
48116         (oldlocrecentcmp): Likewise.
48117         (enlarge_archive): Likewise.
48118         (insert_name): Likewise.
48119         (add_alias): Likewise.
48120         (add_locale): Likewise.
48121         (delete_locales_from_archive): Likewise.
48122         (show_archive_content): Likewise.
48123         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
48124         locale data.
48126 2013-09-24  Roland McGrath  <roland@hack.frob.com>
48128         * manual/freemanuals.texi: Updated from (newly) canonical copy at
48129         http://www.gnu.org/doc/freemanuals.texi.
48130         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
48132 2013-09-24  Will Newton  <will.newton@linaro.org>
48134         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
48135         macro.
48137 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
48139         * locale/hashval.h (compute_hashval): Interpret bytes of key as
48140         unsigned char.
48142 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
48144         * manual/threads.texi (POSIX Threads): Fix a typo.
48146 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48148         [BZ #14547]
48149         * string/tst-strcoll-overflow.c: New test case.
48150         * string/Makefile (xtests): Add tst-strcoll-overflow.
48151         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
48152         cache if string sizes may cause integer overflow.
48154         [BZ #14547]
48155         * string/strcoll_l.c (coll_seq): New members rule, idx,
48156         save_idx and back_us.
48157         (get_next_seq_nocache): New function.
48158         (do_compare_nocache): New function.
48159         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
48160         when malloc fails.
48162 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
48164         [BZ #15754]
48165         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
48166         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
48167         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
48169         [BZ #15754]
48170         * elf/Makefile (tests): Add tst-ptrguard1.
48171         (tests-static): Add tst-ptrguard1-static.
48172         (tst-ptrguard1-ARGS): Define.
48173         (tst-ptrguard1-static-ARGS): Define.
48174         * elf/tst-ptrguard1.c: New file.
48175         * elf/tst-ptrguard1-static.c: New file.
48176         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
48177         * sysdeps/i386/stackguard-macros.h: Likewise.
48178         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48179         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48180         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48181         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48182         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48183         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48185 2013-09-23  Hector Marco  <hecmargi@upv.es>
48186             Ismael Ripoll  <iripoll@disca.upv.es>
48187             Carlos O'Donell  <carlos@redhat.com>
48189         [BZ #15754]
48190         * sysdeps/generic/stackguard-macros.h: Define
48191         __pointer_chk_guard_local and POINTER_CHK_GUARD.
48192         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
48193         Define __pointer_chk_guard_local.
48194         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
48195         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
48197 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
48199         [BZ #15859]
48200         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
48202 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
48204         * include/string.h (__ffs): Declare as hidden.
48205         * string/ffs.c (__ffs): Define as hidden.
48206         * sysdeps/i386/ffs.c (__ffs): Likewise.
48207         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
48208         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
48209         * sysdeps/s390/ffs.c (__ffs): Likewise.
48210         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
48212 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
48214         * NEWS: Mention malloc probes.
48216         * malloc/arena.c (new_heap): New memory_heap_new probe.
48217         (grow_heap): New memory_heap_more probe.
48218         (shrink_heap): New memory_heap_less probe.
48219         (heap_trim): New memory_heap_free probe.
48220         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
48221         (systrim): New memory_sbrk_less probe.
48222         * manual/probes.texi: Document them.
48224         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
48225         * manual/probes.texi: Document it.
48227         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
48228         (__libc_realloc): Add memory_realloc_retry probe.
48229         (__libc_memalign): Add memory_memalign_retry probe.
48230         (__libc_valloc): Add memory_valloc_retry probe.
48231         (__libc_pvalloc): Add memory_pvalloc_retry probe.
48232         (__libc_calloc): Add memory_calloc_retry probe.
48233         * manual/probes.texi: Document them.
48235         * malloc/arena.c (get_free_list): Add probe
48236         memory_arena_reuse_free_list.
48237         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
48238         and memory_arena_reuse.
48239         (arena_get2) [!PER_THREAD]: Likewise.
48240         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
48241         memory_arena_reuse_realloc.
48242         * manual/probes.texi: Document them.
48244         * malloc/malloc.c (__libc_free): Add
48245         memory_mallopt_free_dyn_thresholds probe.
48246         (__libc_mallopt): Add multiple memory_mallopt probes.
48247         * manual/probes.texi: Document them.
48249         * malloc/malloc.c: Include stap-probe.h.
48250         (__libc_mallopt): Add memory_mallopt probe.
48251         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
48252         * manual/probes.texi: New.
48253         * manual/Makefile (chapters): Add probes.
48254         * manual/threads.texi: Set next node.
48256 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
48258         [BZ #15963, #13985]
48259         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
48260         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
48261         Add `Chinese' to `nan' entry name.
48263 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48265         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
48266         (POLYNOMIAL): Likewise.
48267         (TAYLOR_SINCOS): Likewise.
48268         (TAYLOR_SLOW): Likewise.
48269         (__sin): Use TAYLOR_SINCOS.
48270         (__cos): Likewise.
48271         (slow): Use TAYLOR_SLOW.
48272         (sloww): Likewise.
48273         (bsloww): Likewise.
48274         (csloww): Likewise.
48276 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48278         * stdlib/strtod_l.c: Fix buffer overrun.
48280 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48282         * benchtests/Makefile (bench): Add sincos.
48283         * benchtests/bench-sincos.c: New file.
48285         * math/libm-test.inc (cos_test_data): New test inputs.
48286         (sin_test_data): Likewise.
48288         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
48289         macro.
48290         (__sin): Use it.
48291         (__cos): Likewise.
48292         (slow1): Likewise.
48293         (slow2): Likewise.
48294         (sloww1): Likewise.
48295         (sloww2): Likewise.
48296         (bsloww1): Likewise.
48297         (bsloww2): Likewise.
48298         (cslow2): Likewise.
48299         (csloww1): Likewise.
48300         (csloww2): Likewise.
48302         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
48303         function.
48304         (__sin): Use it.
48305         (__cos): Likewise.
48307         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
48308         gotos.
48309         (__cos): Likewise.
48311 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
48313         * config.h.in (HAVE_MIPS_NAN2008): New macro.
48314         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
48315         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
48316         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
48317         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
48318         * elf/cache.c (print_entry): Handle the new cache flags.
48320 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48321             Aldy Hernandez  <aldyh@redhat.com>
48323         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
48324         Change condition to [_SOFT_FLOAT].
48325         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
48326         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
48327         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
48328         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
48329         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
48330         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
48331         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
48332         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
48333         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
48334         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
48335         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
48336         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
48337         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
48338         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
48339         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
48340         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
48341         declaration.
48343 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48345         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
48346         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48347         (__longjmp): Use LOAD_GP to load saved GPRs.
48348         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
48349         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48350         (__sigsetjmp): Use SAVE_GP to save GPRs.
48352         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
48353         Do not append -msoft-float.
48354         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
48356 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48358         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
48360 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
48362         [BZ #15966]
48363         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
48364         (_FPU_GETCW): Use initial "__" on variable and field names but not
48365         on macro parameter name.
48366         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
48367         parentheses around reference to macro parameter.
48369 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
48371         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
48372         prototype.
48373         (ctype_startup): Use uint32_t in cast and sizeof for
48374         ctype->charnames.
48376 2013-09-11  Jia Liu  <proljc@gmail.com>
48378         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
48379         __daddr_t_defined.
48380         [__FreeBSD__]: Likewise.
48382 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
48384         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
48385         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
48386         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
48387         (strchr): Remove __strchr_sse42 ifunc selection.
48388         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
48389         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
48391 2013-09-11  Will Newton  <will.newton@linaro.org>
48393         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
48394         parameter to RES. Remove hardcoded 1000 value.
48395         * benchtests/bench-skeleton.c (main): Pass RES parameter
48396         to TIMING_INIT and multiply result by 1000.
48398 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48402 2013-09-11  Andreas Schwab  <schwab@suse.de>
48404         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
48405         if not defined.
48406         (O_TMPFILE) [__USE_GNU]: Define.
48407         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
48408         Define.
48410 2013-09-11  Will Newton  <will.newton@linaro.org>
48412         [BZ #15857]
48413         * malloc/malloc.c (__libc_memalign): Check the value of bytes
48414         does not overflow.
48416 2013-09-11  Will Newton  <will.newton@linaro.org>
48418         [BZ #15856]
48419         * malloc/malloc.c (__libc_valloc): Check the value of bytes
48420         does not overflow.
48422 2013-09-11  Will Newton  <will.newton@linaro.org>
48424         [BZ #15855]
48425         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
48426         does not overflow.
48428 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
48430         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
48431         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48432         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48433         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48434         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48436 2013-09-10  Allan McRae  <allan@archlinux.org>
48438         [BZ #15748]
48439         * manual/arith.texi (Parsing of Floats): Clarify
48440         cross-reference.
48442         [BZ #15849]
48443         * manual/install.texi (Running make install): Mention
48444         --enable-pt-chown.
48445         * INSTALL: Regenerated.
48447 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
48449         * csu/init-first.c (_init): Remove the !SHARED condition around
48450         FPU control word initialization.
48451         * elf/dl-support.c (_dl_fpu_control): New variable.
48452         (_dl_aux_init) <AT_FPUCW>: Initialize it.
48453         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
48454         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
48455         * math/test-fpucw-static.c: New file.
48456         * math/test-fpucw-ieee.c: New file.
48457         * math/test-fpucw-ieee-static.c: New file.
48458         * math/Makefile (tests): Add `test-fpucw-ieee' and
48459         `$(tests-static)'.
48460         (tests-static): New variable.
48461         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
48462         dependency to...
48463         [($(build-shared),yes)]
48464         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48465         ... this.
48466         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
48467         New dependency.
48469 2013-09-09  Allan McRae  <allan@archlinux.org>
48471         [BZ #15939]
48472         * manual/string.texi (Collation Functions): Fix typo in
48473         strcoll example.
48474         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
48476         [BZ #15893]
48477         * stdlib/isomac.c (get_null_defines): Fix memory leak.
48479         [BZ #15892]
48480         * libio/memstream.c (open_memstream): Fix memory leak.
48481         * libio/wmemstream.c (open_wmemstream): Likewise.
48483         [BZ #15895]
48484         * nscd/netgroupcache.c: Fix nesting of ifdefs.
48486 2013-09-09  Will Newton  <will.newton@linaro.org>
48488         * malloc/Makefile: Add tst-realloc to tests.
48489         * malloc/tst-realloc.c: New file.
48491 2013-09-09  Allan McRae  <allan@archlinux.org>
48493         [BZ #15844]
48494         * COPYING: Update from GNU website to fix FSF address.
48495         * COPYING.LIB: Likewise.
48497 2013-09-06  David S. Miller  <davem@davemloft.net>
48499         * po/zh_TW.po: Update Chinese (traditional) translation from
48500         translation project.
48502 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
48503             Joseph Myers  <joseph@codesourcery.com>
48505         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
48506         "localeinfo.h".
48507         (obstack_chunk_alloc): New macro.
48508         (obstack_chunk_free): Likewise.
48509         (record_offset): New function.
48510         (init_locale_data): Likewise.
48511         (align_locale_data): Likewise.
48512         (add_locale_empty): Likewise.
48513         (add_locale_raw_data): Likewise.
48514         (add_locale_raw_obstack): Likewise.
48515         (add_locale_string): Likewise.
48516         (add_locale_wstring): Likewise.
48517         (add_locale_uint32): Likewise.
48518         (add_locale_uint32_array): Likewise.
48519         (add_locale_char): Likewise.
48520         (start_locale_structure): Likewise.
48521         (end_locale_structure): Likewise.
48522         (start_locale_prelude): Likewise.
48523         (end_locale_prelude): Likewise.
48524         (write_locale_data): Take locale_file structure rather than an
48525         iovec.
48526         * locale/programs/locfile.h: Include "obstack.h".
48527         (struct locale_file): Change to store locale file contents instead
48528         of header.
48529         (init_locale_data): New prototype.
48530         (align_locale_data): Likewise.
48531         (add_locale_empty): Likewise.
48532         (add_locale_raw_data): Likewise.
48533         (add_locale_raw_obstack): Likewise.
48534         (add_locale_string): Likewise.
48535         (add_locale_wstring): Likewise.
48536         (add_locale_uint32): Likewise.
48537         (add_locale_uint32_array): Likewise.
48538         (add_locale_char): Likewise.
48539         (start_locale_structure): Likewise.
48540         (end_locale_structure): Likewise.
48541         (start_locale_prelude): Likewise.
48542         (end_locale_prelude): Likewise.
48543         (write_locale_data): Update prototype.
48544         * locale/programs/3level.h (struct TABLE): Remove result field.
48545         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
48546         Use new locale_file interface.
48547         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
48548         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
48549         * locale/programs/ld-address.c (address_output): Use new
48550         locale_file interface.
48551         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
48552         NO_ADD_LOCALE.
48553         (collate_finish): Don't call collseq_table_finalize.
48554         (collate_output): Use new locale_file interface.
48555         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
48556         in file.
48557         (NO_FINALIZE): Change to NO_ADD_LOCALE.
48558         (TABLE): Move defines earlier in file.
48559         (ELEMENT): Likewise.
48560         (DEFAULT): Likewise.
48561         (wctrans_table_add): Move macro and inline function earlier in
48562         file.
48563         (struct wctype_table): Move type earlier in file.
48564         (add_locale_wctype_table): New static prototype.
48565         (struct locale_ctype_t): Use logical types instead of struct iovec
48566         pointers for members.
48567         (ctype_output): Use new locale_file interface.
48568         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
48569         new locale_file interface.
48570         (allocate_arrays): Update for use of new locale_file interface.
48571         * locale/programs/ld-identification.c (identification_output): Use
48572         new locale_file interface.
48573         * locale/programs/ld-measurement.c (measurement_output): Likewise.
48574         * locale/programs/ld-messages.c (messages_output): Likewise.
48575         * locale/programs/ld-monetary.c (monetary_output): Likewise.
48576         * locale/programs/ld-name.c (name_output): Likewise.
48577         * locale/programs/ld-numeric.c (numeric_output): Likewise.
48578         * locale/programs/ld-paper.c (paper_output): Likewise.
48579         * locale/programs/ld-telephone.c (telephone_output): Likewise.
48580         * locale/programs/ld-time.c (time_output): Likewise.
48582 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48584         * benchtests/Makefile: Add memrchr benchmark.
48585         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
48586         benchmark as memrchr.
48587         * benchtests/bench-memrchr-ifunc.c: New file.
48588         * benchtests/bench-memrchr.c: New file.
48590 2013-09-06   Will Newton  <will.newton@linaro.org>
48592         * benchtests/Makefile (string-bench): Add memcpy.
48594 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
48595             Cong Wang  <amwang@redhat.com>
48597         [BZ #15850]
48598         * sysdeps/unix/sysv/linux/bits/in.h
48599         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
48600         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
48601         before __USE_KERNEL_IPV6_DEFS uses.
48602         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
48603         IPPROTO_BEETPH.
48604         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
48605         sockaddr_in6, or ipv6_mreq.
48607 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48609         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
48610         memory access for final bytes in some large inputs.
48611         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
48613 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48615         * string/test-memrchr.c: New file.
48616         * string/test-memrchr-ifunc.c: New file.
48617         * string/Makefile: Add new memrchr testcase.
48619 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
48621         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
48622         fanotify_init returns EPERM.
48624 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48626         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
48627         errors.
48628         (top level): Treat second token from macro or constant entries for
48629         allowed headers as allowed.
48630         * include/complex.h: Condition internal declarations on
48631         [!_ISOMAC].
48632         * include/fenv.h: Condition include of <stdbool.h> and internal
48633         declarations on [!_ISOMAC].
48635 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
48637         [BZ #15923]
48638         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
48640 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48642         * configure.in (--enable-versioning): Remove configure option.
48643         (libc_cv_asm_symver_directive): Remove configure test.
48644         (libc_cv_ld_version_script_option): Likewise.
48645         (VERSIONING): Remove variable and AC_SUBST.
48646         (DO_VERSIONING): Remove AC_DEFINE.
48647         * configure: Regenerated.
48648         * config.h.in (DO_VERSIONING): Remove macro.
48649         * Makerules [$(versioning) = yes]: Change conditionals to
48650         [$(build-shared) = yes].
48651         * config.make.in (versioning): Remove variable.
48652         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
48653         [$(build-shared) = yes].
48654         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
48655         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
48656         * elf/Makefile [$(versioning) = yes]: Change conditionals to
48657         [$(build-shared) = yes].
48658         * extra-lib.mk [$(versioning) = yes]: Likewise.
48659         * hurd/Makefile [$(versioning) = yes]: Likewise.
48660         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
48661         [SHARED].
48662         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
48663         [SHARED].
48664         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48665         [SHARED && !NO_HIDDEN].
48666         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
48667         [SHARED].
48668         [SHARED && DO_VERSIONING]: Likewise..
48669         * libio/Makefile [$(versioning) = yes]: Change conditionals to
48670         [$(build-shared) = yes].
48671         * manual/install.texi (--disable-versioning): Remove
48672         documentation.
48673         * INSTALL: Regenerated.
48674         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
48675         to [SHARED].
48676         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
48677         [$(build-shared) = yes].
48678         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
48679         * sysdeps/i386/i686/multiarch/strstr-c.c
48680         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48681         [SHARED && !NO_HIDDEN].
48682         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
48683         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
48684         * sysdeps/powerpc/powerpc32/dl-machine.c
48685         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
48686         * sysdeps/powerpc/powerpc32/sysdep.h
48687         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
48688         to [SHARED && PIC && !NO_HIDDEN].
48689         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
48690         conditional to [SHARED].
48692 2013-09-04   Will Newton  <will.newton@linaro.org>
48694         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
48695         * benchtests/bench-string.h: Include bench-timing.h instead
48696         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
48697         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
48698         call to HP_TIMING_DIFF_INIT.
48699         * benchtests/bench-memccpy.c: Use bench-timing.h macros
48700         instead of hp-timing.h macros.
48701         * benchtests/bench-memchr.c: Likewise.
48702         * benchtests/bench-memcmp.c: Likewise.
48703         * benchtests/bench-memcpy.c: Likewise.
48704         * benchtests/bench-memmem.c: Likewise.
48705         * benchtests/bench-memmove.c: Likewise.
48706         * benchtests/bench-memset.c: Likewise.
48707         * benchtests/bench-rawmemchr.c: Likewise.
48708         * benchtests/bench-strcasecmp.c: Likewise.
48709         * benchtests/bench-strcasestr.c: Likewise.
48710         * benchtests/bench-strcat.c: Likewise.
48711         * benchtests/bench-strchr.c: Likewise.
48712         * benchtests/bench-strcmp.c: Likewise.
48713         * benchtests/bench-strcpy.c: Likewise.
48714         * benchtests/bench-strcpy_chk.c: Likewise.
48715         * benchtests/bench-strlen.c: Likewise.
48716         * benchtests/bench-strncasecmp.c: Likewise.
48717         * benchtests/bench-strncat.c: Likewise.
48718         * benchtests/bench-strncmp.c: Likewise.
48719         * benchtests/bench-strncpy.c: Likewise.
48720         * benchtests/bench-strnlen.c: Likewise.
48721         * benchtests/bench-strpbrk.c: Likewise.
48722         * benchtests/bench-strrchr.c: Likewise.
48723         * benchtests/bench-strspn.c: Likewise.
48724         * benchtests/bench-strstr.c: Likewise.
48726 2013-09-04  Will Newton  <will.newton@linaro.org>
48728         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
48730 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
48732         [BZ #15427]
48733         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
48734         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
48735         * math/libm-test.inc (lgamma_test_data): Add more tests.
48736         * sysdeps/i386/fpu/libm-test-ulps: Update.
48737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48739 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
48741         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
48742         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48743         Add ifunc.
48744         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48745         Add strcmp-sse2-unaligned
48746         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
48748 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48750         * Versions.def (libc): Add GLIBC_2.19.
48752 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48754         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
48755         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
48757 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
48759         [BZ #14155]
48760         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
48761         intermediate calculations in recurrence.
48762         (__ieee754_ynf): Likewise.
48763         * math/libm-test.inc (jn_test_data): Do not allow spurious
48764         underflow exception.  Add more tests.
48765         (yn_test_data): Add more tests.
48766         * sysdeps/i386/fpu/libm-test-ulps: Update.
48767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48769 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
48771         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
48773 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48775         * csu/init-first.c: Fix then/than typos.
48776         * locale/programs/ld-collate.c: Likewise.
48777         * locale/programs/linereader.h: Likewise.
48778         * manual/charset.texi: Likewise.
48779         * manual/filesys.texi: Likewise.
48780         * manual/stdio.texi: Likewise.
48781         * manual/string.texi: Likewise.
48782         * stdlib/fmtmsg.c: Likewise.
48783         * sysdeps/i386/stpncpy.S: Likewise.
48784         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48785         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48786         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48787         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48789 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48791         * elf/dl-open.c: Fix typos.
48792         * iconvdata/gbbig5.c: Likewise.
48793         * iconvdata/iso-2022-jp.c: Likewise.
48794         * iconv/gconv_int.h: Likewise.
48795         * iconv/loop.c: Likewise.
48796         * nis/rpcsvc/nis.h: Likewise.
48797         * resolv/ns_name.c: Likewise.
48798         * stdio-common/vfscanf.c: Likewise.
48799         * streams/stropts.h: Likewise.
48800         * sunrpc/rpc_thread.c: Likewise.
48801         * sysdeps/i386/strpbrk.S: Likewise.
48802         * sysdeps/ieee754/k_standard.c: Likewise.
48803         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48804         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48805         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
48806         * sysdeps/mach/hurd/profil.c: Likewise.
48807         * sysdeps/s390/dl-procinfo.h: Likewise.
48808         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
48809         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
48810         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
48811         * sysdeps/x86_64/dl-trampoline.S: Likewise.
48812         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48814 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
48816         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
48817         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
48819 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
48821         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
48822         aix specific files.
48823         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
48824         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
48825         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
48826         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
48827         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
48828         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
48829         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
48830         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
48832 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48833             Roland McGrath  <roland@hack.frob.com>
48835         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
48836         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
48838 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48840         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
48841         __executable_start symbol instead of _start.
48843 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48845         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
48846         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
48847         Move macros to...
48848         * sysdeps/gnu/ldsodefs.h: ... this new file.
48850         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
48851         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
48852         instead of ELFOSABI_LINUX.
48854         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
48855         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
48856         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
48857         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
48858         Likewise.
48859         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
48860         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
48861         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
48862         Likewise.
48863         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48864         (ibm_extended_long_double): Add ieee_nan member.
48865         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
48866         (do_test): New function.
48868         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
48869         TEST_TRUNC.
48870         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
48871         functions, renamed from truncdfsf_test, trunctfsf_test,
48872         trunctfdf_test.
48873         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
48874         functions.
48875         (do_test): Run all these.
48877 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
48879         * argp/argp-help.c: Fix typos.
48880         * argp/argp-parse.c: Likewise.
48881         * debug/backtracesyms.c: Likewise.
48882         * elf/elf.h: Likewise.
48883         * malloc/malloc.c: Likewise.
48884         * nis/nis_print.c: Likewise.
48885         * resolv/res_comp.c: Likewise.
48886         * stdlib/stdlib.h: Likewise.
48887         * sunrpc/clnt_tcp.c: Likewise.
48888         * sunrpc/clnt_udp.c: Likewise.
48889         * sunrpc/clnt_unix.c: Likewise.
48890         * sysdeps/unix/bsd/ptsname.c: Likewise.
48891         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48892         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
48893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
48894         Likewise.
48895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
48896         Likewise.
48897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
48898         Likewise.
48899         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48901 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48903         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
48904         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48906 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
48908         [BZ #15897]
48909         * dlfcn/Makefile (tests): Add bug-dl-leaf.
48910         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
48911         ($(objpfx)bug-dl-leaf): New rule.
48912         ($(objpfx)bug-dl-leaf.so): Likewise.
48913         ($(objpfx)bug-dl-leaf.out): Likewise.
48914         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
48915         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
48916         * dlfcn/bug-dl-leaf.c: New test.
48917         * dlfcn/bug-dl-leaf-lib.c: Likewise.
48918         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
48919         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
48920         (dlclose): Likewise.
48921         (dlmopen): Likewise.
48923 2013-08-27  Roland McGrath  <roland@hack.frob.com>
48925         * include/netdb.h [!_ISOMAC]:
48926         Don't include <tls.h>.
48927         (h_errno, __libc_h_errno): Move declaration and macros out of
48928         [_LIBC_REENTRANT].
48930         * include/resolv.h [_RESOLV_H_]:
48931         Don't include <tls.h>.
48932         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
48933         * resolv/res_libc.c: Don't include <tls.h>.
48934         (_res): Use __attribute__ ((nocommon)) in place of
48935         __attribute__ ((section (".bss"))).
48937         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
48938         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
48940         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
48942         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
48943         only under [SIOCGIFCONF && SIOCGIFNETMASK].
48945         * resolv/res_mkquery.c: Include <sys/time.h>.
48947         * inet/ifreq.c: Moved to ...
48948         * sysdeps/unix/ifreq.c: ... here.
48949         * inet/ifreq.c: New file, true stub version.
48951         * socket/sa_len.c: New file.
48952         * socket/Makefile (aux): Add it.
48953         * sysdeps/unix/sysv/linux/Makefile
48954         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
48955         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
48956         and #include <socket/sa_len.c>.
48957         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
48958         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
48960         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
48961         * bits/socket.h: ... here.
48963         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
48964         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
48965         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
48967 2013-08-27  Andreas Schwab  <schwab@suse.de>
48969         [BZ #15736]
48970         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
48971         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
48972         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
48973         * string/test-strcasecmp.c (test_main): Run tests in several
48974         locales.
48975         * string/test-strncasecmp.c (test_main): Likewise.
48977         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
48978         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
48979         to __strcasecmp_nonascii and __strncasecmp_nonascii.
48980         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
48981         (__strncasecmp_ssse3) [PIC]: Likewise.
48983 2013-08-26  Roland McGrath  <roland@hack.frob.com>
48985         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
48987         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
48988         instead of explicitly declaring xdecrypt.
48989         * nis/nss_nis/nis-publickey.c: Likewise.
48991 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48993         [BZ #15890]
48994         * nscd/aicache.c: Include res_hconf.h.
48995         (addhstaiX): Initialize res_hconf.
48997 2013-08-26  Andreas Schwab  <schwab@suse.de>
48999         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
49000         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
49002 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49004         * nscd/aicache.c (addhstaiX): Fix indentation.
49006 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
49008         * configure.ac: Quote $build_pt_chown test.
49009         * configure: Regenerated.
49011 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
49013         [BZ #15532]
49014         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
49015         * math/s_cexpf.c (__cexpf): Likewise.
49016         * math/s_cexpl.c (__cexpl): Likewise.
49017         * math/libm-test.inc (cexp_test_data): Correct expected return
49018         value for NaN + i0.  Add another test.
49020 2013-08-22  David S. Miller  <davem@davemloft.net>
49022         * po/ca.po: Update Catalan translation from translation project.
49023         * po/uk.po: Add Ukrainian translations from translation project.
49025 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
49027         [BZ #15797]
49028         * math/s_fdim.c (__fdim): Check for infinite arguments if result
49029         is infinite, not alongside NaN test.
49030         * math/s_fdimf.c (__fdimf): Likewise.
49031         * math/s_fdiml.c (__fdiml): Likewise.
49032         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
49033         errno is unchanged.
49035 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
49037         * argp/argp-help.c: Fix typos.
49038         * crypt/speeds.c: Likewise.
49039         * csu/check_fds.c: Likewise.
49040         * elf/dl-load.c: Likewise.
49041         * elf/dl-open.c: Likewise.
49042         * elf/reldep3.c: Likewise.
49043         * elf/reldep.c: Likewise.
49044         * elf/sprof.c: Likewise.
49045         * iconv/iconv_charmap.c: Likewise.
49046         * iconv/skeleton.c: Likewise.
49047         * iconv/strtab.c: Likewise.
49048         * io/lockf64.c: Likewise.
49049         * libio/libioP.h: Likewise.
49050         * resolv/gai_notify.c: Likewise.
49051         * resolv/ns_name.c: Likewise.
49052         * resolv/ns_samedomain.c: Likewise.
49053         * resolv/res_send.c: Likewise.
49054         * stdlib/random.c: Likewise.
49055         * sunrpc/rpc/xdr.h: Likewise.
49056         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
49057         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49058         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49059         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49060         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49061         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49062         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49063         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49064         * sysdeps/mach/hurd/check_fds.c: Likewise.
49065         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49066         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49067         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49068         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49069         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49070         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49071         * sysdeps/pthread/aio_notify.c: Likewise.
49072         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
49073         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
49074         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
49075         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49076         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49078 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49080         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
49081         version if bit_Slow_SSE4_2 is set.
49082         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49083         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49085 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49087         [BZ #15867]
49088         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
49089         trampoline stack frame information.
49090         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
49091         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
49092         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
49093         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
49094         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
49095         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49096         (_libc_vdso_platform_setup): Initialize the signal trampolines.
49097         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
49098         sa_flags value.
49099         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
49100         interrupting a syscall and set with option SA_SIGINFO.
49102 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49104         [BZ #15531]
49105         * math/s_cproj.c (__cproj): Only return an infinity if one part of
49106         argument is infinite.
49107         * math/s_cprojf.c (__cprojf): Likewise.
49108         * math/s_cprojl.c (__cprojl): Likewise.
49109         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
49110         * math/libm-test.inc (cproj_test_data): Add more tests.
49112         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
49114         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
49115         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
49116         size.  Use __ffs to determine corresponding shift.
49118 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49119             Roland McGrath  <roland@hack.frob.com>
49121         * Makefile (INSTALL): Remove trailing blank lines from output of
49122         makeinfo.
49124 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49126         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
49127         Align 32 bit compat elf_greg to 8 bytes.
49129 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
49131         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
49133 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49135         * string/strcoll_l.c (coll_seq): New structure.
49136         (get_next_seq_cached): New function.
49137         (get_next_seq): New function.
49138         (do_compare): New function.
49139         (STRCOLL): Use GNU style definition.  Simplify implementation
49140         by using get_next_seq, get_next_seq_cached and do_compare.
49142 2013-08-16  Florian Weimer  <fweimer@redhat.com>
49144         [BZ #14699]
49145         CVE-2013-4237
49146         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
49147         member.
49148         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
49149         member.
49150         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
49151         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
49152         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
49153         conditional.
49154         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
49155         GETDENTS_64BIT_ALIGNED.
49156         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
49157         * manual/filesys.texi (Reading/Closing Directory): Document
49158         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
49159         strongly.
49160         * manual/conf.texi (Limits for Files): Add portability note to
49161         NAME_MAX, PATH_MAX.
49162         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
49164 2013-08-13  Andreas Schwab  <schwab@suse.de>
49166         [BZ #15749]
49167         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
49168         of fabs.
49169         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
49170         LDBL_MAX_EXP >= 16384]: Add tests for it.
49172 2013-08-12  David S. Miller  <davem@davemloft.net>
49174         * version.h (RELEASE): Set to "development".
49175         (VERSION): Set to "2.18.90".
49176         * NEWS: Add 2.19 section.
49178 2013-08-03  David S. Miller  <davem@davemloft.net>
49180         * po/ko.po: Update Korean translation from translation project.
49182 2013-08-01  David S. Miller  <davem@davemloft.net>
49184         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
49185         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
49186         Bilka.
49188 2013-07-30  David S. Miller  <davem@davemloft.net>
49190         * po/fr.po: Update French translation from translation project.
49192 2013-07-28  David S. Miller  <davem@davemloft.net>
49194         * po/cs.po: Update Czech translation from translation project.
49196         * po/sv.po: Update Swedish translation from translation project.
49198 2013-07-27  David S. Miller  <davem@davemloft.net>
49200         * po/eo.po: Update Esperanto translation from translation project.
49202         * po/vi.po: Update Vietnamese translation from translation project.
49204         * po/de.po: Update German translation from translation project.
49206 2013-07-26  David S. Miller  <davem@davemloft.net>
49208         * po/bg.po: Update Bulgarian translation from translation project.
49210         * po/nl.po: Update Dutch translation from translation project.
49211         * po/pl.po: Update Polish translation from translation project.
49212         * po/ru.po: Update Russian translation from translation project.
49214 2013-07-24  David S. Miller  <davem@davemloft.net>
49216         * po/libc.pot: Update.
49218 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49220         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
49221         variable page size.
49222         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
49223         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
49224         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
49226 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49228         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
49230 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49231             Andreas Schwab  <schwab@suse.de>
49232             Roland McGrath  <roland@hack.frob.com>
49233             Joseph Myers  <joseph@codesourcery.com>
49234             Carlos O'Donell  <carlos@redhat.com>
49236         [BZ #15755]
49237         * config.h.in: Define HAVE_PT_CHOWN.
49238         * config.make.in (build-pt-chown): New variable.
49239         * configure.in (--enable-pt_chown): New configure option.
49240         * configure: Regenerate.
49241         * login/Makefile: Include Makeconfig.  Build pt_chown only if
49242         build-pt-chown is enabled.
49243         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
49244         pt_chown to fix pty ownership.
49245         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
49246         CLOSE_ALL_FDS.
49247         * manual/install.texi (Configuring and compiling): Mention
49248         --enable-pt_chown. Add @findex for grantpt.
49249         * INSTALL: Regenerate.
49251 2013-07-20  David S. Miller  <davem@davemloft.net>
49253         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
49254         difference between 32-bit and 64-bit.
49256 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
49258         [BZ #15711]
49259         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
49260         Avoid system header dependency with -ffreestanding.
49261         ($(objpfx)bits/syscall%d): Likewise.
49263 2013-07-13  David S. Miller  <davem@davemloft.net>
49265         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
49266         underflows from atanl/atan2l due to bug 15319.
49267         (casinh_test_data): Likewise.
49269 2013-07-07  David S. Miller  <davem@davemloft.net>
49271         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
49273 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
49275         * sysdeps/i386/fpu/libm-test-ulps: Update.
49276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49278 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49280         * configure.in (--enable-lock-elision): Fix message text.
49281         * INSTALL: Regenerate.
49282         * configure: Regenerate.
49284 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49288 2013-07-03  Andreas Jaeger  <aj@suse.de>
49290         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
49291         define.
49292         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
49293         (ptrace_peeksiginfo_args): Add.
49294         (__ptrace_peeksiginfo_flags): Add.
49295         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49296         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49297         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49299 2013-07-03  Allan McRae  <allan@archlinux.org>
49301         * sysdeps/i386/fpu/libm-test-ulps: Update.
49303 2013-07-02  David S. Miller  <davem@davemloft.net>
49305         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49307 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
49309         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49311 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49313         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49316 2013-07-02  Andi Kleen <ak@linux.intel.com>
49318         * config.h.in (ENABLE_LOCK_ELISION): Add.
49319         * configure.in (--enable-lock-elision): Add option.
49320         * manual/install.texi: Document --enable lock elision.
49321         * configure: Regenerate
49322         * INSTALL: Regenerate.
49324 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
49326         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
49327         SSE4.2 strcasecmp for libc.a.
49328         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
49330 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49332         [BZ #13304]
49333         * soft-fp/op-common.h (_FP_FMA): New macro.
49334         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
49335         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
49336         (_FP_MUL_MEAT_1_imm): ... here.
49337         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
49338         (_FP_MUL_MEAT_1_wide): ... here.
49339         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
49340         (_FP_MUL_MEAT_1_hard): ... here.
49341         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
49342         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
49343         (_FP_MUL_MEAT_2_wide): ... here.
49344         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
49345         (_FP_MUL_MEAT_2_wide_3mul): ... here.
49346         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
49347         (_FP_MUL_MEAT_2_gmp): ... here.
49348         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
49349         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
49350         (_FP_MUL_MEAT_4_wide): ... here.
49351         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
49352         (_FP_MUL_MEAT_4_gmp): ... here.
49353         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
49354         (_FP_WFRACBITS_DW_S): Likewise.
49355         (_FP_WFRACXBITS_DW_S): Likewise.
49356         (_FP_HIGHBIT_DW_S): Likewise.
49357         (FP_FMA_S): Likewise.
49358         (_FP_FRAC_HIGH_DW_S): Likewise.
49359         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
49360         (_FP_WFRACBITS_DW_D): Likewise.
49361         (_FP_WFRACXBITS_DW_D): Likewise.
49362         (_FP_HIGHBIT_DW_D): Likewise.
49363         (FP_FMA_D): Likewise.
49364         (_FP_FRAC_HIGH_DW_D): Likewise.
49365         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
49366         (_FP_WFRACBITS_DW_E): Likewise.
49367         (_FP_WFRACXBITS_DW_E): Likewise.
49368         (_FP_HIGHBIT_DW_E): Likewise.
49369         (FP_FMA_E): Likewise.
49370         (_FP_FRAC_HIGH_DW_E): Likewise.
49371         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
49372         (_FP_WFRACBITS_DW_Q): Likewise.
49373         (_FP_WFRACXBITS_DW_Q): Likewise.
49374         (_FP_HIGHBIT_DW_Q): Likewise.
49375         (FP_FMA_Q): Likewise.
49376         (_FP_FRAC_HIGH_DW_Q): Likewise.
49377         * soft-fp/fmasf4.c: New file.
49378         * soft-fp/fmadf4.c: Likewise.
49379         * soft-fp/fmatf4.c: Likewise.
49381 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49384         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
49385         Silvermont.
49386         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
49387         macro.
49388         (index_Slow_SSE4_2): Likewise.
49389         (index_Prefer_PMINUB_for_stringop): Likewise.
49390         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
49391         bit_Slow_SSE4_2 is set.
49392         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49393         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49395 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49397         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
49398         rtld_global._dl_hwcap2.
49399         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
49400         POWER8.
49401         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
49402         POWER8 feature descriptions defined in _dl_hwcap2.
49403         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
49404         string handling for POWER8 feature bits.
49405         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
49406         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
49407         _dl_powerpc_cap_flags.
49408         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
49409         * sysdeps/powerpc/rtld-global-offsets.sym
49410         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
49411         _dl_hwcap2 in the rtld_global_ro structure.
49413 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49415         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
49416         hardware capabilities in support of AT_HWCAP2.
49417         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
49418         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
49419         GLRO(dl_hwcap2).
49420         (_dl_show_auxv): Add support for calling _dl_procinfo to display
49421         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
49422         explicitly the unknown a_type display mechanism is used.
49423         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
49424         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
49425         struct member.
49426         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
49427         to macro prototype for AT_HWCAP2 support.
49428         * sysdeps/i386/dl-procinfo.h: Likewise.
49429         * sysdeps/s390/dl-procinfo.h: Likewise.
49430         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
49431         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
49432         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
49433         return -1 for unknown a_type display fallback.
49434         * sysdeps/sparc/dl-procinfo.h: Likewise.
49435         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
49436         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
49438 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
49440         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
49441         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
49443 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
49445         [BZ #12492]
49446         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
49447         mprotect making __stack_prot writable.
49449 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
49450             Joseph Myers  <joseph@codesourcery.com>
49452         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
49453         as being properly aligned.
49455 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
49457         * dlfcn/modstatic5.c: New file.
49458         * dlfcn/tststatic5.c: New file.
49459         * dlfcn/Makefile (tests): Add tststatic5.
49460         (tests-static): Likewise.
49461         (modules-names): Add modstatic5.
49462         (tststatic5-ENV): New variable.
49463         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
49465         [BZ #15022]
49466         * elf/dl-support.c (_dl_main_map): New variable.
49467         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
49468         (_dl_nns, _dl_load_adds): Set to 1.
49469         (_dl_initial_searchlist): Refer to _dl_main_map.
49470         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
49471         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
49472         call to _dl_get_origin.
49473         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
49474         around call_map.
49475         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
49476         * dlfcn/modstatic3.c: New file.
49477         * dlfcn/tststatic3.c: New file.
49478         * dlfcn/tststatic4.c: New file.
49479         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
49480         (tests-static): Likewise.
49481         (modules-names): Add modstatic3.
49482         (tststatic3-ENV, tststatic4-ENV): New variables.
49483         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
49484         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
49486 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
49488         * configure.in (CC): Require GCC version 4.4 or later.
49489         * configure: Regenerated.
49490         * manual/install.texi (Tools for Compilation): Update GCC version
49491         requirement.
49492         * INSTALL: Regenerated.
49494 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49496         [BZ #15674]
49497         * string/test-memcmp.c (check2): New.
49498         (main): Call check2.
49500         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
49502 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
49504         [BZ #15022]
49505         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
49506         over to...
49507         (dl_open_worker) [!SHARED]: ... here.
49509 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49511         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
49513 2013-06-25  Richard Henderson  <rth@redhat.com>
49515         * locale/programs/locarchive.c: Include <libc-internal.h>
49517 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
49519         * manual/texinfo.tex: Update to version 2013-06-21.17, with
49520         trailing whitespace removed.
49522 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49524         [BZ #10283]
49525         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
49526         * locale/programs/locarchive.c: Include libc-mmap.h.
49527         (prepare_address_space): Take two new outputs (the mmap base and len).
49528         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
49529         values.
49530         (create_archive): Declare new mmap base and len values for
49531         prepare_address_space, and store the result in ah.
49532         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
49533         (enlarge_archive): If ah->mmap_base is not NULL, use that and
49534         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49535         Declare new mmap base and len values for
49536         prepare_address_space, and store the result in new_ah.
49537         (open_archive): Declare new mmap base and len values for
49538         prepare_address_space, and store the result in ah.
49539         (close_archive): If ah->mmap_base is not NULL, use that and
49540         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49541         * sysdeps/generic/libc-mmap.h: New file.
49543 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49545         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
49546         (ALIGN_UP): Likewise.
49547         (PTR_ALIGN_DOWN): Likewise.
49548         (PTR_ALIGN_UP): Likewise.
49550 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49552         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
49553         entry mapped to PPC_PLATFORM_POWER8.
49554         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
49555         POWER8.
49556         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
49557         (_dl_string_platform): Add case for exporting platform position for
49558         POWER8.
49559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
49560         search path to sysdeps/powerpc/powerpc32/power8 directory.
49561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
49562         search path to sysdeps/powerpc/powerpc64/power8 directory.
49563         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
49564         power7 directories.
49565         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
49566         power7 directories.
49568 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49570         * INSTALL: Regenerate.
49572         * nscd/connections.c (nscd_init): Fix comment.
49574 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
49576         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
49578         [BZ #15667]
49579         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
49580         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
49582 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49584         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
49585         DL_DST_REQ_STATIC.
49586         (DL_DST_REQ_STATIC): Remove macro.
49588 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
49590         [BZ #7006]
49591         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
49592         with a shift of 0 bits.
49594 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49596         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
49597         $(tststatic-ENV).
49599 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49601         [BZ #15655]
49602         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
49604 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49606         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
49607         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
49608         accepts -fno-tree-loop-distribute-patterns.
49609         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
49610         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
49611         recursive call.
49612         * string/memset.c (memset): Likewise.
49613         * string/test-memmove.c (simple_memmove): Disable loop transformation
49614         to library calls.
49615         * string/test-memset.c (simple_memset): Likewise.
49616         * benchtests/bench-memmove.c (simple_memmove): Likewise.
49617         * benchtests/bench-memset.c (simple_memset): Likewise.
49618         * configure: Regenerated.
49620 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
49622         * math/test-misc.c (main): Ignore fesetround failure when failures
49623         of subsequent rounding tests would be ignored.
49625         [BZ #15654]
49626         * math/fedisblxcpt.c (fedisableexcept): Return 0.
49627         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
49628         * math/fegetenv.c (__fegetenv): Return 0.
49629         * math/fegetexcept.c (fegetexcept): Return 0.
49630         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
49631         FE_TONEAREST.
49632         * math/feholdexcpt.c (feholdexcept): Return 0.
49633         * math/fesetenv.c (__fesetenv): Return 0.
49634         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
49635         argument FE_TONEAREST.
49636         * math/feupdateenv.c (__feupdateenv): Return 0.
49637         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
49639 2013-06-18  Roland McGrath  <roland@hack.frob.com>
49641         * elf/rtld-Rules (rtld-compile-command.S): New variable.
49642         (rtld-compile-command.s, rtld-compile-command.c): New variables.
49643         ($(objpfx)rtld-%.os rules): Use them.
49645 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49647         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
49648         fields.
49650 2013-06-17  Roland McGrath  <roland@hack.frob.com>
49652         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
49653         length of target pattern, then descending length of dependency pattern.
49654         * configure.in (AWK): Require gawk 3.1.2 or newer.
49655         * manual/install.texi (Tools for Compilation): Say that we do.
49656         * configure: Regenerated.
49658         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
49659         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
49660         * scripts/sysd-rules.awk: ... this new script.
49661         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
49662         than a glob-style pattern.
49664 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
49666         * math/test-misc.c (main): Do not treat incorrectly rounded
49667         conversions as failure unless ROUNDING_TESTS passes.
49669 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
49671         [BZ #15631]
49672         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
49673         restore exception state around main square root computation, then
49674         check for inexactness explicitly.
49676         * math/libm-test.inc (fma_test_data): Add another test.
49678 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49680         * manual/threads.texi (Non-POSIX Extensions): New document
49681         node.  Document pthread_getattr_default_np and
49682         pthread_setattr_default_np.
49684         * Versions.def (libpthread): Add GLIBC_2.18.
49685         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
49686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49687         Likewise.
49688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49689         Likewise.
49690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49691         Likewise.
49692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49693         Likewise.
49694         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
49695         Likewise.
49696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49697         Likewise.
49698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49699         Likewise.
49700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49701         Likewise.
49702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49703         Likewise.
49705 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49707         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49708         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
49710 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49711             H.J. Lu  <hjl.tools@gmail.com>
49713         [BZ #15627]
49714         * sysdeps/x86_64/rtld-memset.c: Remove file.
49715         * sysdeps/x86_64/rtld-memset.S: New file.
49717 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
49719         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
49720         (test_in_one_mode): Take arguments for whether the rounding mode
49721         is supported for each floating-point type.
49722         (do_test): Pass new arguments to test_in_one_mode using
49723         ROUNDING_TESTS.
49725 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49727         * posix/tst-waitid.c (do_test): Distinguish different instances of
49728         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
49729         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
49730         before entering the kernel for waitpid.
49732 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49734         * NEWS: Fix note on clock function precision.  Text by Roland
49735         McGrath.
49737 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49739         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
49740         it into place only when and if the sanity check passes.
49742 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
49744         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
49745         output for whether conversion result is exact.  Take argument
49746         indicating whether type is IBM long double.
49747         (round_for_all): Change need_exact field to ibm_ld.
49748         * stdlib/tst-strtod-round.c (struct exactness): New type.
49749         (struct test): Change bool ld_ok field to struct exactness exact.
49750         (TEST): Update all definitions for change to field.
49751         (tests): Regenerate array contents.
49752         (test_in_one_mode): Take pointer to new field instead of old ld_ok
49753         field value.  Check for IBM long double here.
49754         (do_test): Update calls to test_in_one_mode.
49756 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49758         [BZ #12515]
49759         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
49760         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
49762 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49764         [BZ #15605]
49765         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
49766         generated by the compiler on loop optimizations.
49767         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
49768         general definitions.
49770 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
49772         * math/bug-nextafter.c: Include <math-tests.h>.
49773         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49774         the relevant type.
49775         * math/bug-nexttoward.c: Include <math-tests.h>.
49776         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49777         the relevant type.
49778         * math/test-misc.c: Include <math-tests.h>.
49779         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49780         the relevant type.
49782 2013-06-12  Andreas Jaeger  <aj@suse.de>
49784         * po/ia.po: Update Interlingua translation from translation
49785         project.
49787 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49789         * include/fenv.h: Include stdbool.h.
49790         (struct rm_ctx): New structure.
49791         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
49792         Define macro.
49793         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
49794         (SET_RESTORE_ROUNDF): Likewise.
49795         (SET_RESTORE_ROUNDL): Likewise.
49796         (SET_RESTORE_ROUND_NOEX): Likewise.
49797         (SET_RESTORE_ROUND_NOEXF): Likewise.
49798         (SET_RESTORE_ROUND_NOEXL): Likewise.
49799         (SET_RESTORE_ROUND_53BIT): Likewise.
49800         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
49801         (libc_feresetround_noexf_ctx): Likewise.
49802         (libc_feresetround_noexl_ctx): Likewise.
49803         (libc_feholdsetround_53bit_ctx): Likewise.
49804         (libc_feresetround_53bit_ctx): Likewise.
49805         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
49806         (libc_feholdexcept_setround_sse_ctx): New function.
49807         (libc_fesetenv_sse_ctx): Likewise.
49808         (libc_feupdateenv_sse_ctx): Likewise.
49809         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
49810         (libc_feholdexcept_setround_387_ctx): Likewise.
49811         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
49812         (libc_feholdsetround_387_prec_ctx): Likewise.
49813         (libc_feholdsetround_387_ctx): Likewise.
49814         (libc_feholdsetround_387_53bit_ctx): Likewise.
49815         (libc_feholdsetround_sse_ctx): Likewise.
49816         (libc_feresetround_sse_ctx): Likewise.
49817         (libc_feresetround_387_ctx): Likewise.
49818         (libc_feupdateenv_387_ctx): Likewise.
49819         (libc_feholdexcept_setroundf_ctx): Define macro.
49820         (libc_fesetenvf_ctx): Likewise.
49821         (libc_feupdateenvf_ctx): Likewise.
49822         (libc_feholdsetroundf_ctx): Likewise.
49823         (libc_feresetroundf_ctx): Likewise.
49824         (libc_feholdexcept_setround_ctx): Likewise.
49825         (libc_fesetenv_ctx): Likewise.
49826         (libc_feupdateenv_ctx): Likewise.
49827         (libc_feholdsetround_ctx): Likewise.
49828         (libc_feresetround_ctx): Likewise.
49829         (libc_feholdexcept_setroundl_ctx): Likewise.
49830         (libc_feupdateenvl_ctx): Likewise.
49831         (libc_feholdsetroundl_ctx): Likewise.
49832         (libc_feresetroundl_ctx): Likewise.
49833         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
49834         (libc_feresetround_53bit_ctx): Likewise.
49836 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49838         * locale/iso-639.def: Convert to UTF-8.
49840 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
49842         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
49843         (EXCEPTION_TESTS_double): Likewise.
49844         (EXCEPTION_TESTS_long_double): Likewise.
49845         (EXCEPTION_TESTS): Likewise.
49846         * math/libm-test.inc (test_exceptions): Only test exceptions if
49847         EXCEPTION_TESTS (FLOAT).
49849 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49851         * benchtests/Makefile (string-bench): Add strcpy_chk and
49852         stpcpy_chk.
49853         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
49854         * benchtests/bench-stpcpy_chk.c: New file.
49855         * benchtests/bench-strcpy_chk-ifunc.c: New file.
49856         * benchtests/bench-strcpy_chk.c: New file.
49857         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
49858         code.
49859         (do_test): Likewise.
49861 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49863         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
49864         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
49865         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
49866         with tabs where appropriate.
49867         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
49868         dl-procinfo.h.
49869         [PPC_PLATFORM_PPC440]: Likewise.
49870         [PPC_PLATFORM_PPC464]: Likewise.
49871         [PPC_PLATFORM_PPC476]: Likewise.
49872         (_dl_string_platform): Add support for detecting ppc405, ppc440,
49873         ppc464, and ppc476 platform strings merging from ports/
49874         dl-procinfo.h.
49876 2013-06-11  Andreas Schwab  <schwab@suse.de>
49878         [BZ #14991]
49879         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49880         (from_ucs4_idx): Regenerate.
49881         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49882         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49883         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49884         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49885         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49886         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49887         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49888         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49889         from FROM_LOOP and TO_LOOP specific macros.
49890         (BODY): Handle combining characters.
49891         * iconvdata/BIG5HKSCS.irreversible: Update.
49892         * iconvdata/BIG5HKSCS.precomposed: New file.
49893         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
49894         characters.
49895         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49897 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49899         * include/sys/time.h: Fix indentation and add copyright header.
49901         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
49902         (do_test): Likewise.
49903         * string/test-memchr.c (do_one_test): Likewise.
49904         (do_test): Likewise.
49905         * string/test-memcmp.c (do_one_test): Likewise.
49906         (do_test): Likewise.
49907         * string/test-memcpy.c (do_one_test): Likewise.
49908         (do_test): Likewise.
49909         * string/test-memmem.c (do_one_test): Likewise.
49910         (do_test): Likewise.
49911         (do_random_tests): Likewise.
49912         * string/test-memmove.c (do_one_test): Likewise.
49913         (do_test): Likewise.
49914         * string/test-memset.c (do_one_test): Likewise.
49915         (do_test): Likewise.
49916         * string/test-rawmemchr.c (do_one_test): Likewise.
49917         (do_test): Likewise.
49918         * string/test-strcasecmp.c (do_one_test): Likewise.
49919         (do_test): Likewise.
49920         * string/test-strcasestr.c (do_one_test): Likewise.
49921         (do_test): Likewise.
49922         * string/test-strcat.c (do_one_test): Likewise.
49923         (do_test): Likewise.
49924         * string/test-strchr.c (do_one_test): Likewise.
49925         (do_test): Likewise.
49926         * string/test-strcmp.c (do_one_test): Likewise.
49927         (do_test): Likewise.
49928         * string/test-strcpy.c (do_one_test): Likewise.
49929         (do_test): Likewise.
49930         * string/test-string.h: Likewise.
49931         (test_init): Likewise.
49932         * string/test-strlen.c (do_one_test): Likewise.
49933         (do_test): Likewise.
49934         * string/test-strncasecmp.c (do_one_test): Likewise.
49935         (do_test): Likewise.
49936         * string/test-strncat.c (do_one_test): Likewise.
49937         (do_test): Likewise.
49938         * string/test-strncmp.c (do_one_test): Likewise.
49939         (do_test_limit): Likewise.
49940         (do_test): Likewise.
49941         * string/test-strncpy.c (do_one_test): Likewise.
49942         (do_test): Likewise.
49943         * string/test-strnlen.c (do_one_test): Likewise.
49944         (do_test): Likewise.
49945         * string/test-strpbrk.c (do_one_test): Likewise.
49946         (do_test): Likewise.
49947         * string/test-strrchr.c (do_one_test): Likewise.
49948         (do_test): Likewise.
49949         * string/test-strspn.c (do_one_test): Likewise.
49950         (do_test): Likewise.
49951         * string/test-strstr.c (do_one_test): Likewise.
49952         (do_test): Likewise.
49954         * benchtests/Makefile (string-bench): Add string benchmarks.
49955         * benchtests/bench-bcopy-ifunc.c: New file.
49956         * benchtests/bench-bcopy.c: New file.
49957         * benchtests/bench-bzero-ifunc.c: New file.
49958         * benchtests/bench-bzero.c: New file.
49959         * benchtests/bench-memccpy-ifunc.c: New file.
49960         * benchtests/bench-memccpy.c: New file.
49961         * benchtests/bench-memchr-ifunc.c: New file.
49962         * benchtests/bench-memchr.c: New file.
49963         * benchtests/bench-memcmp-ifunc.c: New file.
49964         * benchtests/bench-memcmp.c: New file.
49965         * benchtests/bench-memmem-ifunc.c: New file.
49966         * benchtests/bench-memmem.c: New file.
49967         * benchtests/bench-memmove-ifunc.c: New file.
49968         * benchtests/bench-memmove.c: New file.
49969         * benchtests/bench-mempcpy-ifunc.c: New file.
49970         * benchtests/bench-mempcpy.c: New file.
49971         * benchtests/bench-memset-ifunc.c: New file.
49972         * benchtests/bench-memset.c: New file.
49973         * benchtests/bench-rawmemchr-ifunc.c: New file.
49974         * benchtests/bench-rawmemchr.c: New file.
49975         * benchtests/bench-stpcpy-ifunc.c: New file.
49976         * benchtests/bench-stpcpy.c: New file.
49977         * benchtests/bench-stpncpy-ifunc.c: New file.
49978         * benchtests/bench-stpncpy.c: New file.
49979         * benchtests/bench-strcasecmp-ifunc.c: New file.
49980         * benchtests/bench-strcasecmp.c: New file.
49981         * benchtests/bench-strcasestr-ifunc.c: New file.
49982         * benchtests/bench-strcasestr.c: New file.
49983         * benchtests/bench-strcat-ifunc.c: New file.
49984         * benchtests/bench-strcat.c: New file.
49985         * benchtests/bench-strchr-ifunc.c: New file.
49986         * benchtests/bench-strchr.c: New file.
49987         * benchtests/bench-strchrnul-ifunc.c: New file.
49988         * benchtests/bench-strchrnul.c: New file.
49989         * benchtests/bench-strcmp-ifunc.c: New file.
49990         * benchtests/bench-strcmp.c: New file.
49991         * benchtests/bench-strcpy-ifunc.c: New file.
49992         * benchtests/bench-strcpy.c: New file.
49993         * benchtests/bench-strcspn-ifunc.c: New file.
49994         * benchtests/bench-strcspn.c: New file.
49995         * benchtests/bench-strlen-ifunc.c: New file.
49996         * benchtests/bench-strlen.c: New file.
49997         * benchtests/bench-strncasecmp-ifunc.c: New file.
49998         * benchtests/bench-strncasecmp.c: New file.
49999         * benchtests/bench-strncat-ifunc.c: New file.
50000         * benchtests/bench-strncat.c: New file.
50001         * benchtests/bench-strncmp-ifunc.c: New file.
50002         * benchtests/bench-strncmp.c: New file.
50003         * benchtests/bench-strncpy-ifunc.c: New file.
50004         * benchtests/bench-strncpy.c: New file.
50005         * benchtests/bench-strnlen-ifunc.c: New file.
50006         * benchtests/bench-strnlen.c: New file.
50007         * benchtests/bench-strpbrk-ifunc.c: New file.
50008         * benchtests/bench-strpbrk.c: New file.
50009         * benchtests/bench-strrchr-ifunc.c: New file.
50010         * benchtests/bench-strrchr.c: New file.
50011         * benchtests/bench-strspn-ifunc.c: New file.
50012         * benchtests/bench-strspn.c: New file.
50013         * benchtests/bench-strstr-ifunc.c: New file.
50014         * benchtests/bench-strstr.c: New file.
50016         * benchtests/Makefile: Disable parallel execution of targets.
50017         (string-bench): Add memcpy.
50018         (benchset): New variable to store a list of benchmark sets.
50019         (bench-func): Renamed from bench.
50020         (bench-set): New target.
50021         (bench): Depend on bench-func and bench-set.
50022         * benchtests/README: Add section on benchmark sets.
50023         * benchtests/bench-memcpy-ifunc.c: New file.
50024         * benchtests/bench-memcpy.c: New file.
50025         * benchtests/bench-string.h: New file.
50027 2013-06-11  Andreas Schwab  <schwab@suse.de>
50029         [BZ #15577]
50030         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
50031         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
50032         values in the triple.
50033         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
50034         terminator in the group key.
50036 2013-06-11  Andreas Jaeger  <aj@suse.de>
50038         * po/zh_TW.po: Update Chinese (traditional) translation from
50039         translation project.
50041 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50043         * include/time.h (__clock_gettime): Add libc_hidden_proto.
50044         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
50045         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
50046         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50047         (clock_getcpuclockid): Likewise.
50048         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
50049         Add weak_alias and libc_hidden_def.
50050         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
50051         * rt/clock_gettime.c (clock_gettime): Rename to
50052         __clock_gettime.  Add weak_alias and libc_hidden_def.
50053         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
50054         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
50055         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
50056         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
50057         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
50058         Likewise.
50059         * rt/clock_settime.c (clock_settime): Rename to
50060         __clock_settime.  Add weak_alias and libc_hidden_def.
50061         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
50063 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
50065         * mach/err_boot.sub: Remove trailing whitespace.
50066         * mach/err_ipc.sub: Likewise.
50067         * mach/err_mach.sub: Likewise.
50069         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
50070         (ROUNDING_TESTS_double): Likewise.
50071         (ROUNDING_TESTS_long_double): Likewise.
50072         (ROUNDING_TESTS): Likewise.
50073         * math/libm-test.inc: Include <math-tests.h>.
50074         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
50075         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50076         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50077         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50079 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50081         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
50082         of assigning.
50084 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
50086         * sysdeps/gnu/errlist.awk: Do not generate space at end of
50087         otherwise empty TRANS lines.
50088         * sysdeps/gnu/errlist.c: Regenerated.
50090         * catgets/gencat.c (error_print): Use (void) in function
50091         definition.
50092         * crypt/crypt_util.c (__init_des): Likewise.
50093         * crypt/speeds.c (Stop): Likewise.
50094         (main): Likewise.
50095         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
50096         * inet/ruserpass.c (token): Likewise.
50097         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
50098         * intl/localealias.c (extend_alias_table): Likewise.
50099         * intl/plural-exp.c (init_germanic_plural): Likewise.
50100         * libio/fcloseall.c (__fcloseall): Likewise.
50101         * libio/genops.c (_IO_flush_all): Likewise.
50102         (_IO_flush_all_linebuffered): Likewise.
50103         (_IO_cleanup): Likewise.
50104         (_IO_iter_begin): Likewise.
50105         (_IO_iter_end): Likewise.
50106         (_IO_list_lock): Likewise.
50107         (_IO_list_unlock): Likewise.
50108         (_IO_list_resetlock): Likewise.
50109         * libio/getchar.c (getchar): Likewise.
50110         * libio/getchar_u.c (getchar_unlocked): Likewise.
50111         * libio/getwchar.c (getwchar): Likewise.
50112         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
50113         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
50114         * login/getpt.c (__getpt): Likewise.
50115         * login/tst-utmp.c (main): Likewise.
50116         * malloc/hooks.c (__malloc_check_init): Likewise.
50117         * malloc/malloc.c (__malloc_stats): Likewise.
50118         * malloc/mtrace.c (tr_break): Likewise.
50119         (mtrace): Likewise.
50120         (muntrace): Likewise.
50121         * misc/fstab.c (endfsent): Likewise.
50122         * misc/getclktck.c (__getclktck): Likewise.
50123         * misc/getdtsz.c (__getdtablesize): Likewise.
50124         * misc/gethostid.c (gethostid): Likewise.
50125         * misc/getpagesize.c (__getpagesize): Likewise.
50126         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
50127         (__get_nprocs): Likewise.
50128         (__get_phys_pages): Likewise.
50129         (__get_avphys_pages): Likewise.
50130         * misc/getttyent.c (getttyent): Likewise.
50131         (setttyent): Likewise.
50132         (endttyent): Likewise.
50133         * misc/getusershell.c (getusershell): Likewise.
50134         (endusershell): Likewise.
50135         (setusershell): Likewise.
50136         (initshells): Likewise.
50137         * misc/hsearch.c (__hdestroy): Likewise.
50138         * misc/sync.c (sync): Likewise.
50139         * misc/syslog.c (closelog_internal): Likewise.
50140         (closelog): Likewise.
50141         * misc/ttyslot.c (ttyslot): Likewise.
50142         * misc/vhangup.c (vhangup): Likewise.
50143         * posix/fork.c (__fork): Likewise.
50144         * posix/getegid.c (__getegid): Likewise.
50145         * posix/geteuid.c (__geteuid): Likewise.
50146         * posix/getgid.c (__getgid): Likewise.
50147         * posix/getpid.c (__getpid): Likewise.
50148         * posix/getppid.c (__getppid): Likewise.
50149         * posix/getuid.c (__getuid): Likewise.
50150         * posix/pause.c (pause): Likewise.
50151         * posix/setpgrp.c (setpgrp): Likewise.
50152         * posix/setsid.c (__setsid): Likewise.
50153         * posix/test-vfork.c (noop): Likewise.
50154         * resolv/gethnamaddr.c (_endhtent): Likewise.
50155         (_gethtent): Likewise.
50156         (ht_endhostent): Likewise.
50157         (gethostent): Likewise.
50158         (dns_service): Likewise.
50159         * stdlib/drand48.c (drand48): Likewise.
50160         * stdlib/lrand48.c (lrand48): Likewise.
50161         * stdlib/mrand48.c (mrand48): Likewise.
50162         * stdlib/rand.c (rand): Likewise.
50163         * stdlib/random.c (__random): Likewise.
50164         * stdlib/setenv.c (clearenv): Likewise.
50165         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
50166         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
50167         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
50168         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
50169         (__get_nprocs): Likewise.
50170         (__get_phys_pages): Likewise.
50171         (__get_avphys_pages): Likewise.
50172         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
50173         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
50174         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
50175         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
50176         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
50177         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
50178         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
50179         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
50180         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
50181         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
50182         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
50183         * sysdeps/mach/hurd/sync.c (sync): Likewise.
50184         * sysdeps/posix/clock.c (clock): Likewise.
50185         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
50186         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
50187         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
50188         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
50189         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
50190         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
50191         (__get_nprocs_conf): Likewise.
50192         (__get_phys_pages): Likewise.
50193         (__get_avphys_pages): Likewise.
50194         * time/clock.c (clock): Likewise.
50195         * time/tzset.c (__tzname_max): Likewise.
50197 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
50199         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
50200         (__bswap_32): Do not use "register".
50201         * crypt/crypt.c (_ufc_doit_r): Likewise.
50202         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50203         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50204         * gmon/gmon.c (__monstartup): Likewise.
50205         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
50206         * hurd/hurdmalloc.c (more_memory): Likewise.
50207         (malloc): Likewise.
50208         (free): Likewise.
50209         (realloc): Likewise.
50210         (malloc_fork_prepare): Likewise.
50211         (malloc_fork_parent): Likewise.
50212         (malloc_fork_child): Likewise.
50213         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
50214         (_svcauth_des): Likewise.
50215         * inet/inet_lnaof.c (inet_lnaof): Likewise.
50216         * inet/inet_net.c (inet_network): Likewise.
50217         * inet/inet_netof.c (inet_netof): Likewise.
50218         * inet/rcmd.c (__validuser2_sa): Likewise.
50219         * io/fts.c (fts_open): Likewise.
50220         (fts_load): Likewise.
50221         (fts_close): Likewise.
50222         (fts_read): Likewise.
50223         (fts_children): Likewise.
50224         (fts_build): Likewise.
50225         (fts_stat): Likewise.
50226         (fts_sort): Likewise.
50227         (fts_alloc): Likewise.
50228         (fts_lfree): Likewise.
50229         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
50230         (_IO_file_xsgetn): Likewise.
50231         (_IO_file_xsgetn_mmap): Likewise.
50232         * libio/iofopncook.c (_IO_cookie_read): Likewise.
50233         (_IO_cookie_write): Likewise.
50234         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
50235         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
50236         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
50237         * malloc/obstack.c (_obstack_begin): Likewise.
50238         (_obstack_begin_1): Likewise.
50239         (_obstack_newchunk): Likewise.
50240         (_obstack_allocated_p): Likewise.
50241         (obstack_free): Likewise.
50242         (_obstack_memory_used): Likewise.
50243         * misc/getttyent.c (getttynam): Likewise.
50244         (getttyent): Likewise.
50245         (skip): Likewise.
50246         (value): Likewise.
50247         * misc/getusershell.c (initshells): Likewise.
50248         * misc/syslog.c (__vsyslog_chk): Likewise.
50249         * misc/ttyslot.c (ttyslot): Likewise.
50250         * nis/nis_hash.c (__nis_hash): Likewise.
50251         * posix/fnmatch_loop.c (FCT): Likewise.
50252         * posix/getconf.c (print_all): Likewise.
50253         (main): Likewise.
50254         * posix/getopt.c (exchange): Likewise.
50255         * posix/glob.c (globfree): Likewise.
50256         (prefix_array): Likewise.
50257         (__glob_pattern_type): Likewise.
50258         * resolv/arpa/nameser.h (NS_GET16): Likewise.
50259         (NS_GET32): Likewise.
50260         (NS_PUT16): Likewise.
50261         (NS_PUT32): Likewise.
50262         * resolv/gethnamaddr.c (getanswer): Likewise.
50263         (gethostbyname2): Likewise.
50264         (gethostbyaddr): Likewise.
50265         (_gethtent): Likewise.
50266         (_gethtbyname2): Likewise.
50267         (_gethtbyaddr): Likewise.
50268         * resolv/ns_print.c (dst_s_get_int16): Likewise.
50269         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
50270         * resolv/res_init.c (__res_vinit): Likewise.
50271         (net_mask): Likewise.
50272         * resolv/res_mkquery.c (outchar): Likewise.
50273         (PRINT): Likewise.
50274         * stdio-common/printf_fp.c (outchar): Likewise.
50275         (PRINT): Likewise.
50276         * stdio-common/printf_fphex.c (outchar): Likewise.
50277         (PRINT): Likewise.
50278         * stdio-common/printf_size.c (outchar): Likewise.
50279         (PRINT): Likewise.
50280         * stdio-common/test_rdwr.c (main): Likewise.
50281         * stdio-common/tfformat.c (matches): Likewise.
50282         * stdio-common/vfprintf.c (outchar): Likewise.
50283         (printf_unknown): Likewise.
50284         (buffered_vfprintf): Likewise.
50285         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50286         * stdio-common/xbug.c (AppendToBuffer): Likewise.
50287         (ReadFile): Likewise.
50288         * stdlib/qsort.c (SWAP): Likewise.
50289         (_quicksort): Likewise.
50290         * stdlib/setenv.c (__add_to_environ): Likewise.
50291         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50292         * stdlib/strtol_l.c (__strtol_l): Likewise.
50293         * stdlib/tst-strtod.c (main): Likewise.
50294         * stdlib/tst-strtol.c (main): Likewise.
50295         * stdlib/tst-strtoll.c (main): Likewise.
50296         * string/bits/string2.h (__strcmp_cc): Likewise.
50297         (__strcmp_cg): Likewise.
50298         (__strcspn_c1): Likewise.
50299         (__strcspn_c2): Likewise.
50300         (__strcspn_c3): Likewise.
50301         (__strspn_c1): Likewise.
50302         (__strspn_c2): Likewise.
50303         (__strspn_c3): Likewise.
50304         (__strsep_1c): Likewise.
50305         (__strsep_2c): Likewise.
50306         (__strsep_3c): Likewise.
50307         * string/memccpy.c (__memccpy): Likewise.
50308         * string/stpcpy.c (__stpcpy): Likewise.
50309         * string/strcmp.c (strcmp): Likewise.
50310         * string/strrchr.c (strrchr): Likewise.
50311         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
50312         Likewise.
50313         * sysdeps/mach/hurd/getcwd.c
50314         (_hurd_canonicalize_directory_name_internal): Likewise.
50315         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
50316         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
50317         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
50318         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
50319         Likewise, in both definitions.
50320         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
50321         definitions.
50322         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
50323         64] (__bswap_64): Likewise.
50324         * time/test_time.c (main): Likewise.
50325         * time/tzfile.c (__tzfile_read): Likewise.
50326         (__tzfile_compute): Likewise.
50327         * time/tzset.c (__tzset_parse_tz): Likewise.
50328         (tzset_internal): Likewise.
50329         (compute_change): Likewise.
50330         * wcsmbs/wcscat.c (__wcscat): Likewise.
50331         * wcsmbs/wcschr.c (wcschr): Likewise.
50332         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
50333         * wcsmbs/wcscspn.c (wcscspn): Likewise.
50334         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
50335         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
50336         * wcsmbs/wcsspn.c (wcsspn): Likewise.
50337         * wcsmbs/wcsstr.c (wcsstr): Likewise.
50338         * wcsmbs/wmemchr.c (wmemchr): Likewise.
50339         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50340         * wcsmbs/wmemset.c (wmemset): Likewise.
50342 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
50344         * scripts/config.guess: Update to version 2013-05-16.
50345         * scripts/config.sub: Update to version 2013-04-24.
50346         * scripts/install-sh: Update to version 2011-11-20.07.
50347         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
50348         * scripts/move-if-change: Update to version 2012-01-06 07:23.
50350 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
50352         * debug/fgetws_u_chk.c: Fix leading whitespaces.
50353         * elf/sln.c: Likewise.
50354         * hurd/hurd/ioctl.h: Likewise.
50355         * hurd/hurdmalloc.c: Likewise.
50356         * hurd/xattr.c: Likewise.
50357         * include/shlib-compat.h: Likewise.
50358         * inet/ruserpass.c: Likewise.
50359         * libio/iofgets_u.c: Likewise.
50360         * libio/iofgetws_u.c: Likewise.
50361         * locale/programs/ld-identification.c: Likewise.
50362         * locale/programs/ld-time.c: Likewise.
50363         * mach/msg-destroy.c: Likewise.
50364         * nss/nss_files/files-netgrp.c: Likewise.
50365         * resolv/res_data.c: Likewise.
50366         * soft-fp/op-1.h: Likewise.
50367         * soft-fp/op-2.h: Likewise.
50368         * soft-fp/op-4.h: Likewise.
50369         * soft-fp/op-common.h: Likewise.
50370         * stdio-common/printf_fphex.c: Likewise.
50371         * stdlib/strtod_l.c: Likewise.
50372         * sunrpc/rpc/clnt.h: Likewise.
50373         * sysdeps/generic/framestate.c: Likewise.
50374         * sysdeps/i386/bsd-_setjmp.S: Likewise.
50375         * sysdeps/i386/bsd-setjmp.S: Likewise.
50376         * sysdeps/i386/__longjmp.S: Likewise.
50377         * sysdeps/i386/setjmp.S: Likewise.
50378         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50379         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50380         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50381         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50382         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50383         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50384         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50385         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50386         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50387         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50388         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50389         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50390         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50391         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50392         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50393         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50394         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50395         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
50396         * sysdeps/ieee754/support.c: Likewise.
50397         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50398         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
50399         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
50400         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
50401         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
50402         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
50403         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
50404         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
50405         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
50406         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
50407         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
50408         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
50409         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
50410         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
50411         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
50412         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
50413         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
50416 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
50418         * posix/transbug.c: Remove executable mode.
50420 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
50422         * crypt/speeds.c: Remove trailing whitespace.
50423         * dlfcn/default.c: Likewise.
50424         * elf/ifuncdep2.c: Likewise.
50425         * elf/ifuncmain1.c: Likewise.
50426         * elf/ifuncmain1vis.c: Likewise.
50427         * elf/testobj.h: Likewise.
50428         * elf/tst-stackguard1.c: Likewise.
50429         * gmon/sys/gmon.h: Likewise.
50430         * hurd/hurdmsg.c: Likewise.
50431         * hurd/new-fd.c: Likewise.
50432         * hurd/ports-get.c: Likewise.
50433         * iconvdata/ibm1008_420.c: Likewise.
50434         * inet/tst-getni1.c: Likewise.
50435         * inet/tst-getni2.c: Likewise.
50436         * libio/ioungetc.c: Likewise.
50437         * libio/wfiledoalloc.c: Likewise.
50438         * manual/libm-err-tab.pl: Likewise.
50439         * math/w_dremf.c: Likewise.
50440         * misc/ftruncate.c: Likewise.
50441         * posix/bug-glob2.c: Likewise.
50442         * posix/tst-pcre.c: Likewise.
50443         * posix/wait4.c: Likewise.
50444         * resolv/README: Likewise.
50445         * resolv/res_debug.h: Likewise.
50446         * resolv/tst-inet_ntop.c: Likewise.
50447         * setjmp/bug269-setjmp.c: Likewise.
50448         * soft-fp/extended.h: Likewise.
50449         * soft-fp/op-1.h: Likewise.
50450         * soft-fp/op-2.h: Likewise.
50451         * soft-fp/op-4.h: Likewise.
50452         * soft-fp/op-8.h: Likewise.
50453         * soft-fp/testit.c: Likewise.
50454         * stdio-common/bug16.c: Likewise.
50455         * stdlib/random.c: Likewise.
50456         * sunrpc/rpcsvc/rquota.x: Likewise.
50457         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
50458         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50459         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50460         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50461         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50462         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50463         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50464         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50465         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50466         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50467         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50468         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50469         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50470         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50471         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50472         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50473         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50474         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50475         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50476         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50477         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50478         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50479         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
50480         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50481         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50482         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50483         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50484         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50485         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50486         * sysdeps/ieee754/s_lib_version.c: Likewise.
50487         * sysdeps/mach/hurd/check_fds.c: Likewise.
50488         * sysdeps/mach/hurd/getsockname.c: Likewise.
50489         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
50490         * sysdeps/mach/hurd/recvfrom.c: Likewise.
50491         * sysdeps/powerpc/bits/link.h: Likewise.
50492         * sysdeps/powerpc/dl-procinfo.c: Likewise.
50493         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
50494         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
50495         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
50496         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50497         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50498         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
50499         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50500         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
50501         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50502         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
50503         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50504         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
50505         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50506         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50507         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50508         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50509         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50510         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50511         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50512         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50513         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
50514         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50515         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50516         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
50517         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50518         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50519         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50520         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50521         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50522         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50523         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50524         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50525         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50526         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
50527         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50528         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
50529         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50530         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
50531         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
50532         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
50533         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
50534         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
50535         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
50536         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50537         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
50538         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
50539         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50540         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
50541         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
50542         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50543         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50544         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50545         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50546         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
50547         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
50548         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
50549         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50550         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
50551         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
50552         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
50553         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
50554         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
50555         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50556         * sysdeps/powerpc/sysdep.h: Likewise.
50557         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50558         * sysdeps/s390/s390-64/sub_n.S: Likewise.
50559         * sysdeps/sh/dl-trampoline.S: Likewise.
50560         * sysdeps/sh/memset.S: Likewise.
50561         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
50562         * sysdeps/sh/strlen.S: Likewise.
50563         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
50564         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
50565         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
50566         * sysdeps/sparc/sparc32/rem.S: Likewise.
50567         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
50568         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
50569         * sysdeps/sparc/sparc32/strchr.S: Likewise.
50570         * sysdeps/sparc/sparc32/udiv.S: Likewise.
50571         * sysdeps/sparc/sparc32/urem.S: Likewise.
50572         * sysdeps/sparc/sparc64/add_n.S: Likewise.
50573         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50574         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
50575         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
50576         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
50577         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
50578         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
50579         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
50580         * sysdeps/unix/bsd/times.c: Likewise.
50581         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
50582         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
50583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
50584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
50585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50586         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
50587         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50588         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
50589         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
50590         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
50591         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
50592         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50593         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
50594         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50595         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50596         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
50597         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50598         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
50599         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
50600         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
50601         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
50602         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
50603         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50604         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
50605         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
50606         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
50607         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
50608         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50609         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
50610         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
50611         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
50612         * sysdeps/x86_64/strcspn.S: Likewise.
50614 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50616         * locale/C-translit.h: Revert #include <stdint.h> because this is a
50617         generated file.  Regenerate properly from gen-translit.pl.
50618         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
50619         locale/C-translit.h.
50621 2013-06-05  Andreas Schwab  <schwab@suse.de>
50623         [BZ #15100]
50624         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
50625         week as 6 instead of -1.
50626         * time/tst-strptime.c (day_tests): Add test case.
50628 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50630         * sysdeps/generic/math_private.h
50631         (libc_feholdexcept_setround_53bit): Replace with
50632         libc_feholdsetround_53bit.
50633         (libc_feupdateenv_53bit): Replace with
50634         libc_feresetround_53bit.
50635         (SET_RESTORE_ROUND_53BIT): Adjust.
50637 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50639         * string/test-strchrnul.c: Add copyright header.
50641         * posix/tst-getaddrinfo4.c: Increase test timeout.
50643 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
50645         [BZ #15536]
50646         * math/libm-test.inc (MAX_EXP): Remove
50647         (MIN_EXP): Define.
50648         (ulp): Use MIN_EXP - MANT_DIG.
50649         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
50651 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
50653         * po/be.po: Revert last change.
50654         * po/zh_CN.po: Likewise.
50655         * po/header.pot: Likewise.
50657 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
50659         * Makefile ($(common-objpfx)linkobj/libc.so): Define
50660         link-libc-deps to empty as target-specific variable.
50661         * Makerules (link-libc-args): New variable.
50662         (libc-for-link): Likewise.
50663         (link-libc-deps): Likewise.
50664         (lib%.so): Depend on $(link-libc-deps).  Link with
50665         $(link-libc-args).
50666         (build-module): Link with $(link-libc-args).
50667         (build-module-asneeded): Likewise.
50668         (build-module-helper-objlist): Filter out $(link-libc-deps) from
50669         list of objects.
50670         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
50671         target-specific variable.
50672         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
50673         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
50674         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
50675         libc.
50676         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
50677         libc and ld.so.
50678         ($(objpfx)libpcprofile.so): Likewise.
50679         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
50680         libc_nonshared.a.
50681         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
50682         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
50683         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
50684         $(link-libc-deps).
50685         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
50686         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
50687         * login/Makefile ($(objpfx)libutil.so): Likewise.
50688         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
50689         * math/Makefile ($(objpfx)libm.so): Likewise.
50690         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
50691         $(objpfx)libnsl.so): Define libc-for-link as target-specific
50692         variable instead of depending directly on libc.
50693         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
50694         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
50695         $(link-libc-deps).
50696         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
50697         libc.
50698         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
50699         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
50700         ($(objpfx)libanl.so): Likewise.
50701         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
50702         ld.so.
50703         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
50704         $(link-libc-deps).
50705         * sysdeps/i386/fpu/Makefile: Remove file.
50706         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
50707         ($(objpfx)libm.so): Remove dependency on ld.so.
50709 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
50711         [BZ # 15553]
50712         * nis/yp_xdr.c (XDRMAXNAME): Define.
50713         (XDRMAXRECORD): Define.
50714         (xdr_domainname): Use XDRMAXNAME.
50715         (xdr_mapname): Likewise.
50716         (xdr_peername): Likewise.
50717         (xdr_keydat): Use XDRMAXRECORD.
50718         (xdr_valdat): Likewise.
50720 2013-05-30  Jeff Law  <law@redhat.com>
50722         [BZ #14256]
50723         * manual/errno.texi (ESTALE): Update to account for more than
50724         just NFS file systems.
50725         * sysdeps/gnu/errlist.c: Regenerated.
50727 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50729         [BZ #15465]
50730         * elf/Makefile (tests): Add tst-null-argv.
50731         (modules-names):  Add tst-null-argv-lib.
50732         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
50733         (tst-null-argv-ENV): Set environment for tst-null-argv.
50734         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
50735         (RTLD_PROGNAME): New macro.
50736         * elf/tst-null-argv.c: New test case.
50737         * elf/tst-null-argv-lib.c: Library for test case.
50738         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
50739         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
50740         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
50741         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
50742         * elf/dl-init.c (call_init): Likewise.
50743         (_dl_init): Likewise.
50744         * elf/dl-load.c (print_search_path): Likewise.
50745         (_dl_map_object): Likewise.
50746         * elf/dl-lookup.c (do_lookup_x): Likewise.
50747         (add_dependency): Likewise.
50748         (_dl_lookup_symbol_x): Likewise.
50749         (_dl_debug_bindings): Likewise.
50750         * elf/dl-open.c (_dl_show_scope): Likewise.
50751         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50752         * elf/dl-version.c (match_symbol): Likewise.
50753         (_dl_check_map_versions): Likewise.
50754         * elf/rtld.c (dl_main): Likewise.
50755         (print_unresolved): Use RTLD_PROGNAME.
50756         (print_missing_version): Likewise.
50757         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
50758         (elf_machine_rela): Likewise.
50759         * sysdeps/powerpc/powerpc32/dl-machine.c
50760         (__process_machine_rela): Likewise.
50761         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50762         Likewise.
50763         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
50764         Likewise.
50765         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
50766         Likewise.
50767         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50768         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
50769         Likewise.
50770         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
50771         Likewise.
50772         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50774 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
50776         * po/be.po: Add descriptive title.
50777         * po/zh_CN.po: Likewise.
50778         * po/header.pot: Likewise.
50780 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
50782         * locale/programs/locarchive.c (create_archive): Inlucde fname in
50783         error message.
50784         (enlarge_archive): Likewise.
50786 2013-05-28  Ben North  <ben@redfrontdoor.org>
50788         * manual/arith.texi (frexp): It is the magnitude of the return
50789         value which lies in [0.5, 1), not the return value itself.
50791 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50795 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
50797         * stdio-common/bug26.c (main): Correct fscanf template.
50799         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
50800         declare _dl_skip_args.
50802         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
50803         Don't declare.
50805         * manual/platform.texi: Add missing @end deftypefun.
50807 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50809         [BZ #15529]
50810         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
50811         bit of mantissa of 2^16382.
50812         * math/libm-test.inc (hypot_test_data): Add more tests.
50814         * math/libm-test.inc: Add drem and pow10 to list of tested
50815         functions.
50816         (pow10_test): New function.
50817         (drem_test): Likewise.
50818         (drem_test_tonearest): Likewise.
50819         (drem_test_towardzero): Likewise.
50820         (drem_test_downward): Likewise.
50821         (drem_test_upward): Likewise.
50822         (main): Call the new functions.
50824         * math/libm-test.inc (finite_test_data): Remove.
50825         (finite_test): Run tests from isfinite_test_data.
50826         (gamma_test_data): Remove.
50827         (gamma_test): Run tests from lgamma_test_data.
50828         * sysdeps/i386/fpu/libm-test-ulps: Update.
50829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50831 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50833         * manual/platform.texi: Add PowerPC PPR function set documentation.
50834         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
50835         implementation.
50837 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
50839         * math/libm-test.inc (MAX_EXP): Define.
50840         (ULPDIFF): Define.
50841         (ulp): New function.
50842         (check_float_internal): Use ULPDIFF.
50843         (cpow_test): Disable failing test.
50844         (check_ulp): Test ulp() implemetnation.
50845         (main): Call check_ulp before starting tests.
50847 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50849         * math/gen-libm-test.pl (generate_testfile): Do not handle
50850         START_DATA and END_DATA.
50851         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50852         END_DATA.
50853         (acos_tonearest_test_data): Likewise.
50854         (acos_towardzero_test_data): Likewise.
50855         (acos_downward_test_data): Likewise.
50856         (acos_upward_test_data): Likewise.
50857         (acosh_test_data): Likewise.
50858         (asin_test_data): Likewise.
50859         (asin_tonearest_test_data): Likewise.
50860         (asin_towardzero_test_data): Likewise.
50861         (asin_downward_test_data): Likewise.
50862         (asin_upward_test_data): Likewise.
50863         (asinh_test_data): Likewise.
50864         (atan_test_data): Likewise.
50865         (atanh_test_data): Likewise.
50866         (atan2_test_data): Likewise.
50867         (cabs_test_data): Likewise.
50868         (cacos_test_data): Likewise.
50869         (cacosh_test_data): Likewise.
50870         (carg_test_data): Likewise.
50871         (casin_test_data): Likewise.
50872         (casinh_test_data): Likewise.
50873         (catan_test_data): Likewise.
50874         (catanh_test_data): Likewise.
50875         (cbrt_test_data): Likewise.
50876         (ccos_test_data): Likewise.
50877         (ccosh_test_data): Likewise.
50878         (ceil_test_data): Likewise.
50879         (cexp_test_data): Likewise.
50880         (cimag_test_data): Likewise.
50881         (clog_test_data): Likewise.
50882         (clog10_test_data): Likewise.
50883         (conj_test_data): Likewise.
50884         (copysign_test_data): Likewise.
50885         (cos_test_data): Likewise.
50886         (cos_tonearest_test_data): Likewise.
50887         (cos_towardzero_test_data): Likewise.
50888         (cos_downward_test_data): Likewise.
50889         (cos_upward_test_data): Likewise.
50890         (cosh_test_data): Likewise.
50891         (cosh_tonearest_test_data): Likewise.
50892         (cosh_towardzero_test_data): Likewise.
50893         (cosh_downward_test_data): Likewise.
50894         (cosh_upward_test_data): Likewise.
50895         (cpow_test_data): Likewise.
50896         (cproj_test_data): Likewise.
50897         (creal_test_data): Likewise.
50898         (csin_test_data): Likewise.
50899         (csinh_test_data): Likewise.
50900         (csqrt_test_data): Likewise.
50901         (ctan_test_data): Likewise.
50902         (ctan_tonearest_test_data): Likewise.
50903         (ctan_towardzero_test_data): Likewise.
50904         (ctan_downward_test_data): Likewise.
50905         (ctan_upward_test_data): Likewise.
50906         (ctanh_test_data): Likewise.
50907         (ctanh_tonearest_test_data): Likewise.
50908         (ctanh_towardzero_test_data): Likewise.
50909         (ctanh_downward_test_data): Likewise.
50910         (ctanh_upward_test_data): Likewise.
50911         (erf_test_data): Likewise.
50912         (erfc_test_data): Likewise.
50913         (exp_test_data): Likewise.
50914         (exp_tonearest_test_data): Likewise.
50915         (exp_towardzero_test_data): Likewise.
50916         (exp_downward_test_data): Likewise.
50917         (exp_upward_test_data): Likewise.
50918         (exp10_test_data): Likewise.
50919         (exp2_test_data): Likewise.
50920         (expm1_test_data): Likewise.
50921         (fabs_test_data): Likewise.
50922         (fdim_test_data): Likewise.
50923         (finite_test_data): Likewise.
50924         (floor_test_data): Likewise.
50925         (fma_test_data): Likewise.
50926         (fma_towardzero_test_data): Likewise.
50927         (fma_downward_test_data): Likewise.
50928         (fma_upward_test_data): Likewise.
50929         (fmax_test_data): Likewise.
50930         (fmin_test_data): Likewise.
50931         (fmod_test_data): Likewise.
50932         (fpclassify_test_data): Likewise.
50933         (frexp_test_data): Likewise.
50934         (gamma_test_data): Likewise.
50935         (hypot_test_data): Likewise.
50936         (ilogb_test_data): Likewise.
50937         (isfinite_test_data): Likewise.
50938         (isgreater_test_data): Likewise.
50939         (isgreaterequal_test_data): Likewise.
50940         (isinf_test_data): Likewise.
50941         (isless_test_data): Likewise.
50942         (islessequal_test_data): Likewise.
50943         (islessgreater_test_data): Likewise.
50944         (isnan_test_data): Likewise.
50945         (isnormal_test_data): Likewise.
50946         (issignaling_test_data): Likewise.
50947         (isunordered_test_data): Likewise.
50948         (j0_test_data): Likewise.
50949         (j1_test_data): Likewise.
50950         (jn_test_data): Likewise.
50951         (ldexp_test_data): Likewise.
50952         (lgamma_test_data): Likewise.
50953         (lrint_test_data): Likewise.
50954         (lrint_tonearest_test_data): Likewise.
50955         (lrint_towardzero_test_data): Likewise.
50956         (lrint_downward_test_data): Likewise.
50957         (lrint_upward_test_data): Likewise.
50958         (llrint_test_data): Likewise.
50959         (llrint_tonearest_test_data): Likewise.
50960         (llrint_towardzero_test_data): Likewise.
50961         (llrint_downward_test_data): Likewise.
50962         (llrint_upward_test_data): Likewise.
50963         (log_test_data): Likewise.
50964         (log10_test_data): Likewise.
50965         (log1p_test_data): Likewise.
50966         (log2_test_data): Likewise.
50967         (logb_test_data): Likewise.
50968         (logb_downward_test_data): Likewise.
50969         (lround_test_data): Likewise.
50970         (llround_test_data): Likewise.
50971         (modf_test_data): Likewise.
50972         (nearbyint_test_data): Likewise.
50973         (nextafter_test_data): Likewise.
50974         (nexttoward_test_data): Likewise.
50975         (pow_test_data): Likewise.
50976         (pow_tonearest_test_data): Likewise.
50977         (pow_towardzero_test_data): Likewise.
50978         (pow_downward_test_data): Likewise.
50979         (pow_upward_test_data): Likewise.
50980         (remainder_test_data): Likewise.
50981         (remainder_tonearest_test_data): Likewise.
50982         (remainder_towardzero_test_data): Likewise.
50983         (remainder_downward_test_data): Likewise.
50984         (remainder_upward_test_data): Likewise.
50985         (remquo_test_data): Likewise.
50986         (rint_test_data): Likewise.
50987         (rint_tonearest_test_data): Likewise.
50988         (rint_towardzero_test_data): Likewise.
50989         (rint_downward_test_data): Likewise.
50990         (rint_upward_test_data): Likewise.
50991         (round_test_data): Likewise.
50992         (scalb_test_data): Likewise.
50993         (scalbn_test_data): Likewise.
50994         (scalbln_test_data): Likewise.
50995         (signbit_test_data): Likewise.
50996         (sin_test_data): Likewise.
50997         (sin_tonearest_test_data): Likewise.
50998         (sin_towardzero_test_data): Likewise.
50999         (sin_downward_test_data): Likewise.
51000         (sin_upward_test_data): Likewise.
51001         (sincos_test_data): Likewise.
51002         (sinh_test_data): Likewise.
51003         (sinh_tonearest_test_data): Likewise.
51004         (sinh_towardzero_test_data): Likewise.
51005         (sinh_downward_test_data): Likewise.
51006         (sinh_upward_test_data): Likewise.
51007         (sqrt_test_data): Likewise.
51008         (tan_test_data): Likewise.
51009         (tan_tonearest_test_data): Likewise.
51010         (tan_towardzero_test_data): Likewise.
51011         (tan_downward_test_data): Likewise.
51012         (tan_upward_test_data): Likewise.
51013         (tanh_test_data): Likewise.
51014         (tgamma_test_data): Likewise.
51015         (trunc_test_data): Likewise.
51016         (y0_test_data): Likewise.
51017         (y1_test_data): Likewise.
51018         (yn_test_data): Likewise.
51019         (significand_test_data): Likewise.
51021         * math/gen-libm-test.pl (@functions): Remove variable.
51022         (generate_testfile): Don't handle START and END lines.
51023         * math/libm-test.inc (START): New macro.
51024         (END): Likewise.
51025         (END_COMPLEX): Likewise.
51026         (acos_test): Use END macro without arguments.
51027         (acos_test_tonearest): Likewise.
51028         (acos_test_towardzero): Likewise.
51029         (acos_test_downward): Likewise.
51030         (acos_test_upward): Likewise.
51031         (acosh_test): Likewise.
51032         (asin_test): Likewise.
51033         (asin_test_tonearest): Likewise.
51034         (asin_test_towardzero): Likewise.
51035         (asin_test_downward): Likewise.
51036         (asin_test_upward): Likewise.
51037         (asinh_test): Likewise.
51038         (atan_test): Likewise.
51039         (atanh_test): Likewise.
51040         (atan2_test): Likewise.
51041         (cabs_test): Likewise.
51042         (cacos_test): Use END_COMPLEX macro without arguments.
51043         (cacosh_test): Likewise.
51044         (carg_test): Use END macro without arguments.
51045         (casin_test): Use END_COMPLEX macro without arguments.
51046         (casinh_test): Likewise.
51047         (catan_test): Likewise.
51048         (catanh_test): Likewise.
51049         (cbrt_test): Use END macro without arguments.
51050         (ccos_test): Use END_COMPLEX macro without arguments.
51051         (ccosh_test): Likewise.
51052         (ceil_test): Use END macro without arguments.
51053         (cexp_test): Use END_COMPLEX macro without arguments.
51054         (cimag_test): Use END macro without arguments.
51055         (clog_test): Use END_COMPLEX macro without arguments.
51056         (clog10_test): Likewise.
51057         (conj_test): Likewise.
51058         (copysign_test): Use END macro without arguments.
51059         (cos_test): Likewise.
51060         (cos_test_tonearest): Likewise.
51061         (cos_test_towardzero): Likewise.
51062         (cos_test_downward): Likewise.
51063         (cos_test_upward): Likewise.
51064         (cosh_test): Likewise.
51065         (cosh_test_tonearest): Likewise.
51066         (cosh_test_towardzero): Likewise.
51067         (cosh_test_downward): Likewise.
51068         (cosh_test_upward): Likewise.
51069         (cpow_test): Use END_COMPLEX macro without arguments.
51070         (cproj_test): Likewise.
51071         (creal_test): Use END macro without arguments.
51072         (csin_test): Use END_COMPLEX macro without arguments.
51073         (csinh_test): Likewise.
51074         (csqrt_test): Likewise.
51075         (ctan_test): Likewise.
51076         (ctan_test_tonearest): Likewise.
51077         (ctan_test_towardzero): Likewise.
51078         (ctan_test_downward): Likewise.
51079         (ctan_test_upward): Likewise.
51080         (ctanh_test): Likewise.
51081         (ctanh_test_tonearest): Likewise.
51082         (ctanh_test_towardzero): Likewise.
51083         (ctanh_test_downward): Likewise.
51084         (ctanh_test_upward): Likewise.
51085         (erf_test): Use END macro without arguments.
51086         (erfc_test): Likewise.
51087         (exp_test): Likewise.
51088         (exp_test_tonearest): Likewise.
51089         (exp_test_towardzero): Likewise.
51090         (exp_test_downward): Likewise.
51091         (exp_test_upward): Likewise.
51092         (exp10_test): Likewise.
51093         (exp2_test): Likewise.
51094         (expm1_test): Likewise.
51095         (fabs_test): Likewise.
51096         (fdim_test): Likewise.
51097         (finite_test): Likewise.
51098         (floor_test): Likewise.
51099         (fma_test): Likewise.
51100         (fma_test_towardzero): Likewise.
51101         (fma_test_downward): Likewise.
51102         (fma_test_upward): Likewise.
51103         (fmax_test): Likewise.
51104         (fmin_test): Likewise.
51105         (fmod_test): Likewise.
51106         (fpclassify_test): Likewise.
51107         (frexp_test): Likewise.
51108         (gamma_test): Likewise.
51109         (hypot_test): Likewise.
51110         (ilogb_test): Likewise.
51111         (isfinite_test): Likewise.
51112         (isgreater_test): Likewise.
51113         (isgreaterequal_test): Likewise.
51114         (isinf_test): Likewise.
51115         (isless_test): Likewise.
51116         (islessequal_test): Likewise.
51117         (islessgreater_test): Likewise.
51118         (isnan_test): Likewise.
51119         (isnormal_test): Likewise.
51120         (issignaling_test): Likewise.
51121         (isunordered_test): Likewise.
51122         (j0_test): Likewise.
51123         (j1_test): Likewise.
51124         (jn_test): Likewise.
51125         (ldexp_test): Likewise.
51126         (lgamma_test): Likewise.
51127         (lrint_test): Likewise.
51128         (lrint_test_tonearest): Likewise.
51129         (lrint_test_towardzero): Likewise.
51130         (lrint_test_downward): Likewise.
51131         (lrint_test_upward): Likewise.
51132         (llrint_test): Likewise.
51133         (llrint_test_tonearest): Likewise.
51134         (llrint_test_towardzero): Likewise.
51135         (llrint_test_downward): Likewise.
51136         (llrint_test_upward): Likewise.
51137         (log_test): Likewise.
51138         (log10_test): Likewise.
51139         (log1p_test): Likewise.
51140         (log2_test): Likewise.
51141         (logb_test): Likewise.
51142         (logb_test_downward): Likewise.
51143         (lround_test): Likewise.
51144         (llround_test): Likewise.
51145         (modf_test): Likewise.
51146         (nearbyint_test): Likewise.
51147         (nextafter_test): Likewise.
51148         (nexttoward_test): Likewise.
51149         (pow_test): Likewise.
51150         (pow_test_tonearest): Likewise.
51151         (pow_test_towardzero): Likewise.
51152         (pow_test_downward): Likewise.
51153         (pow_test_upward): Likewise.
51154         (remainder_test): Likewise.
51155         (remainder_test_tonearest): Likewise.
51156         (remainder_test_towardzero): Likewise.
51157         (remainder_test_downward): Likewise.
51158         (remainder_test_upward): Likewise.
51159         (remquo_test): Likewise.
51160         (rint_test): Likewise.
51161         (rint_test_tonearest): Likewise.
51162         (rint_test_towardzero): Likewise.
51163         (rint_test_downward): Likewise.
51164         (rint_test_upward): Likewise.
51165         (round_test): Likewise.
51166         (scalb_test): Likewise.
51167         (scalbn_test): Likewise.
51168         (scalbln_test): Likewise.
51169         (signbit_test): Likewise.
51170         (sin_test): Likewise.
51171         (sin_test_tonearest): Likewise.
51172         (sin_test_towardzero): Likewise.
51173         (sin_test_downward): Likewise.
51174         (sin_test_upward): Likewise.
51175         (sincos_test): Likewise.
51176         (sinh_test): Likewise.
51177         (sinh_test_tonearest): Likewise.
51178         (sinh_test_towardzero): Likewise.
51179         (sinh_test_downward): Likewise.
51180         (sinh_test_upward): Likewise.
51181         (sqrt_test): Likewise.
51182         (tan_test): Likewise.
51183         (tan_test_tonearest): Likewise.
51184         (tan_test_towardzero): Likewise.
51185         (tan_test_downward): Likewise.
51186         (tan_test_upward): Likewise.
51187         (tanh_test): Likewise.
51188         (tgamma_test): Likewise.
51189         (trunc_test): Likewise.
51190         (y0_test): Likewise.
51191         (y1_test): Likewise.
51192         (yn_test): Likewise.
51193         (significand_test): Likewise.
51195 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
51197         [BZ #15381]
51198         * libio/genops.c (_IO_no_init): Initialize wide struct info.
51200 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51202         [BZ #14894]
51203         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
51204         __ppc_mdoio and __ppc_mdoom.
51205         * manual/platform.texi: Document new functions __ppc_yield,
51206         __ppc_mdoio and __ppc_mdoom.
51208 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
51210         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
51211         (main): Mention "tls" pseudo-hwcap is legacy.
51212         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
51214 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51216         * math/gen-libm-test.pl (parse_args): Output only string of
51217         arguments as text for test name, not full call or descriptions of
51218         tests for extra outputs.
51219         (generate_testfile): Do not pass function name to parse_args.
51220         Generate this_func variable from START.
51221         * math/libm-test.inc (struct test_f_f_data): Rename test_name
51222         field to arg_str.
51223         (struct test_ff_f_data): Likewise.
51224         (test_ff_f_data_nexttoward): Likewise.
51225         (struct test_fi_f_data): Likewise.
51226         (struct test_fl_f_data): Likewise.
51227         (struct test_if_f_data): Likewise.
51228         (struct test_fff_f_data): Likewise.
51229         (struct test_c_f_data): Likewise.
51230         (struct test_f_f1_data): Likewise.  Remove field extra_name.
51231         (struct test_fF_f1_data): Likewise.
51232         (struct test_ffI_f1_data): Likewise.
51233         (struct test_c_c_data): Rename test_name field to arg_str.
51234         (struct test_cc_c_data): Likewise.
51235         (struct test_f_i_data): Likewise.
51236         (struct test_ff_i_data): Likewise.
51237         (struct test_f_l_data): Likewise.
51238         (struct test_f_L_data): Likewise.
51239         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
51240         and extra2_name.
51241         (COMMON_TEST_SETUP): New macro.
51242         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
51243         (COMMON_TEST_CLEANUP): Likewise.
51244         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
51245         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
51246         macros.
51247         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
51248         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
51249         macros.
51250         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
51251         (RUN_TEST_fff_f): Take argument string.  Call new setup and
51252         cleanup macros.
51253         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
51254         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
51255         macros.
51256         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
51257         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
51258         macros.
51259         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51260         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
51261         cleanup macros.
51262         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51263         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
51264         cleanup macros.
51265         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51266         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
51267         cleanup macros.
51268         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51269         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
51270         macros.
51271         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
51272         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
51273         macros.
51274         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
51275         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
51276         macros.
51277         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
51278         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
51279         cleanup macros.
51280         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
51281         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
51282         cleanup macros.
51283         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
51284         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
51285         macros.
51286         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
51287         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
51288         cleanup macros.
51289         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
51290         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
51291         macros.
51292         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
51293         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
51294         macros.
51295         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
51296         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
51297         cleanup macros.
51298         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
51300 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
51302         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
51303         to _sifields.sigfault.
51304         (si_addr_lsb): Define new macro.
51305         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51306         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51307         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
51309 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
51311         [BZ #15441]
51312         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
51313         returns -1.
51314         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
51315         null return -1.
51316         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
51317         loading the domain.
51319 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51321         * math/gen-libm-test.pl (parse_args): Do not include expected
51322         result in test name.
51323         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
51324         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51325         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51326         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51327         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51330 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51332         * benchtests/Makefile: Sort function entries.
51334         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
51335         tanh, asinh, acosh, atanh.
51336         * benchtests/acos-inputs: New file.
51337         * benchtests/acosh-inputs: New file.
51338         * benchtests/asin-inputs: New file.
51339         * benchtests/asinh-inputs: New file.
51340         * benchtests/atanh-inputs: New file.
51341         * benchtests/cosh-inputs: New file.
51342         * benchtests/log-inputs: New file.
51343         * benchtests/sinh-inputs: New file.
51344         * benchtests/tanh-inputs: New file.
51346 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
51348         [BZ #15339]
51349         * posix/tst-getaddrinfo4.c: New test.
51350         * posix/Makefile (tests): Add it.
51352 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51354         [BZ #15339]
51355         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
51356         when no services were used.
51357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
51358         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
51360 2013-05-21  Andreas Schwab  <schwab@suse.de>
51362         [BZ #15014]
51363         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
51364         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
51365         successful.
51366         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
51367         redundant variable declarations and reallocation of buffer when
51368         parsing as IPv6 address.  Always set NSS status when called from
51369         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
51370         buffer too small.  Correct computation of needed size.
51371         * nss/Makefile (tests): Add test-digits-dots.
51372         * nss/test-digits-dots.c: New test.
51374 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51376         * benchtests/Makefile: Remove instructions for adding
51377         benchmark tests.
51378         * benchtests/README: New file to explain how to execute and
51379         enhance the benchmark tests.
51381 2013-05-21  Andreas Schwab  <schwab@suse.de>
51383         [BZ #15493]
51384         * setjmp/Makefile (tests): Add tst-sigsetjmp.
51385         * setjmp/tst-sigsetjmp.c: New test.
51387 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51389         * sysdeps/x86_64/memset.S (memset): New implementation.
51390         (__bzero): Likewise.
51391         (__memset_tail): New function.
51393 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51395         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
51396         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
51397         __memcpy_sse2_unaligned ifunc selection.
51398         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51399         Add memcpy-sse2-unaligned.S.
51400         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51401         Add: __memcpy_sse2_unaligned.
51403 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
51405         [BZ #15490]
51406         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51407         math_force_eval before restoring floating-point envrionment.
51408         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
51409         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
51410         Likewise.
51411         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
51412         <math_private.h>.
51413         (__nearbyintl): Use math_force_eval before restoring
51414         floating-point environment.
51415         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
51417         * math/gen-libm-test.pl (special_functions): Remove.
51418         (parse_args): Don't handle TEST_extra.  Handle functions with no
51419         return value.
51420         * math/libm-test.inc (struct test_sincos_data): Replace with
51421         struct test_fFF_11_data.
51422         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
51423         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
51424         (sincos_test_data): Change element type to struct
51425         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
51426         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
51427         RUN_TEST_LOOP_sincos.
51428         * math/README.libm-test: Don't mention special handling of
51429         individual functions.
51430         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
51431         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51432         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51433         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51434         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51437         * math/gen-libm-test.pl (get_variable): Remove function.
51438         (parse_args): Don't show pointer parameters to call in test
51439         names.  Use "extra output N" in test names for extra outputs
51440         rather than naming variables.
51442 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
51444         [BZ #15488]
51445         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
51446         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
51447         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
51448         double tests.
51449         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
51450         disable.
51451         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
51452         check_long_double.
51454         * math/gen-libm-test.pl (@tests): Remove variable.
51455         ($count): Likewise.
51456         (new_test): Remove function.
51457         (show_exceptions): New function.
51458         (special_functions): Use show_exceptions instead of new_test.
51459         (parse_args): Likewise.
51460         (generate_testfile): Pass only function name in generated call to
51461         print_max_error or print_complex_max_error.
51462         (get_ulps): Do not handle complex tests specially.
51463         (output_test): Rename to ...
51464         (get_all_ulps_for_test): ... this.  Return a string rather than
51465         printing to a file.  Require ulps to be present.
51466         (output_ulps): Generate arrays rather than #defines.
51467         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
51468         (struct ulp_data): New type.
51469         (BUILD_COMPLEX_ULP): Remove macro.
51470         (compare_ulp_data): New function.
51471         (find_ulps): Likewise.
51472         (find_test_ulps): Likewise.
51473         (find_function_ulps): Likewise.
51474         (find_complex_function_ulps): Likewise.
51475         (print_max_error): Determine allowed ulps using
51476         find_function_ulps.
51477         (print_complex_max_error): Determine allowed ulps using
51478         find_complex_function_ulps.
51479         (check_float_internal): Determine max ulps using find_test_ulps.
51480         (check_float): Do not take max_ulp parameter.  Update call to
51481         check_float_internal.
51482         (check_complex): Likewise.
51483         (check_int): Do not take max_ulp parameter.
51484         (check_long): Likewise.
51485         (check_bool): Likewise.
51486         (check_longlong): Likewise.
51487         (struct test_f_f_data): Remove max_ulp field.
51488         (struct test_ff_f_data): Likewise.
51489         (struct test_ff_f_data_nexttoward): Likewise.
51490         (struct test_fi_f_data): Likewise.
51491         (struct test_fl_f_data): Likewise.
51492         (struct test_if_f_data): Likewise.
51493         (struct test_fff_f_data): Likewise.
51494         (struct test_c_f_data): Likewise.
51495         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
51496         (struct test_fF_f1_data): Likewise.
51497         (struct test_ffI_f1_data): Likewise.
51498         (struct test_c_c_data): Remove max_ulp field.
51499         (struct test_cc_c_data): Likewise.
51500         (struct test_f_i_data): Likewise.
51501         (struct test_ff_i_data): Likewise.
51502         (struct test_f_l_data): Likewise.
51503         (struct test_f_L_data): Likewise.
51504         (struct test_sincos_data): Likewise.
51505         (RUN_TEST_f_f): Do not handle ulps.
51506         (RUN_TEST_LOOP_f_f): Likewise.
51507         (RUN_TEST_2_f): Likewise.
51508         (RUN_TEST_LOOP_2_f): Likewise.
51509         (RUN_TEST_fff_f): Likewise.
51510         (RUN_TEST_LOOP_fff_f): Likewise.
51511         (RUN_TEST_c_f): Likewise.
51512         (RUN_TEST_LOOP_c_f): Likewise.
51513         (RUN_TEST_f_f1): Likewise.
51514         (RUN_TEST_LOOP_f_f1): Likewise.
51515         (RUN_TEST_fF_f1): Likewise.
51516         (RUN_TEST_LOOP_fF_f1): Likewise.
51517         (RUN_TEST_fI_f1): Likewise.
51518         (RUN_TEST_LOOP_fI_f1): Likewise.
51519         (RUN_TEST_ffI_f1): Likewise.
51520         (RUN_TEST_LOOP_ffI_f1): Likewise.
51521         (RUN_TEST_c_c): Likewise.
51522         (RUN_TEST_LOOP_c_c): Likewise.
51523         (RUN_TEST_cc_c): Likewise.
51524         (RUN_TEST_LOOP_cc_c): Likewise.
51525         (RUN_TEST_f_i): Likewise.
51526         (RUN_TEST_LOOP_f_i): Likewise.
51527         (RUN_TEST_f_i_tg): Likewise.
51528         (RUN_TEST_LOOP_f_i_tg): Likewise.
51529         (RUN_TEST_ff_i_tg): Likewise.
51530         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51531         (RUN_TEST_f_b): Likewise.
51532         (RUN_TEST_LOOP_f_b): Likewise.
51533         (RUN_TEST_f_b_tg): Likewise.
51534         (RUN_TEST_LOOP_f_b_tg): Likewise.
51535         (RUN_TEST_f_l): Likewise.
51536         (RUN_TEST_LOOP_f_l): Likewise.
51537         (RUN_TEST_f_L): Likewise.
51538         (RUN_TEST_LOOP_f_L): Likewise.
51539         (RUN_TEST_sincos): Likewise.
51540         (RUN_TEST_LOOP_sincos): Likewise.
51542 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
51544         [BZ #15480]
51545         [BZ #15485]
51546         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
51547         main case of finite arguments, set rounding mode to FE_TONEAREST
51548         and discard exceptions.
51549         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
51550         exceptions.
51551         (remainder_tonearest_test_data): New variable.
51552         (remainder_test_tonearest): New function.
51553         (remainder_towardzero_test_data): New variable.
51554         (remainder_test_towardzero): New function.
51555         (remainder_downward_test_data): New variable.
51556         (remainder_test_downward): New function.
51557         (remainder_upward_test_data): New variable.
51558         (remainder_test_upward): New function.
51559         (main): Call the new test functions.
51561         * math/libm-test.inc (struct test_f_f1_data): Remove field
51562         extra_init.
51563         (struct test_fF_f1_data): Likewise.
51564         (struct test_ffI_f1_data): Likewise.
51565         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
51566         based on value of EXTRA_EXPECTED.
51567         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51568         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
51569         EXTRA_VAR based on value of EXTRA_EXPECTED.
51570         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51571         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
51572         EXTRA_VAR based on value of EXTRA_EXPECTED.
51573         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51574         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
51575         EXTRA_VAR based on value of EXTRA_EXPECTED.
51576         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51577         * math/gen-libm-test.pl (parse_args): Don't output initializers
51578         for extra output values.
51580         * math/libm-test.inc (check_int): Expect result to be exactly
51581         equal to expected value and do not handle ulps.
51582         (check_long): Likewise.
51583         (check_longlong): Likewise.
51585         * math/libm-test.inc (ceil_test_data): Test for "inexact"
51586         exceptions.
51587         (cimag_test_data): Likewise.
51588         (conj_test_data): Likewise.
51589         (copysign_test_data): Likewise.
51590         (cproj_test_data): Likewise.
51591         (creal_test_data): Likewise.
51592         (fabs_test_data): Likewise.
51593         (fdim_test_data): Likewise.
51594         (finite_test_data): Likewise.
51595         (floor_test_data): Likewise.
51596         (fmax_test_data): Likewise.
51597         (fmin_test_data): Likewise.
51598         (fmod_test_data): Likewise.
51599         (fpclassify_test_data): Likewise.
51600         (frexp_test_data): Likewise.
51601         (ilogb_test_data): Likewise.
51602         (isfinite_test_data): Likewise.
51603         (isgreater_test_data): Likewise.
51604         (isgreaterequal_test_data): Likewise.
51605         (isinf_test_data): Likewise.
51606         (isless_test_data): Likewise.
51607         (islessequal_test_data): Likewise.
51608         (islessgreater_test_data): Likewise.
51609         (isnan_test_data): Likewise.
51610         (isnormal_test_data): Likewise.
51611         (issignaling_test_data): Likewise.
51612         (isunordered_test_data): Likewise.
51613         (ldexp_test_data): Likewise.
51614         (lrint_test_data): Likewise.
51615         (lrint_test_data) [TEST_FLOAT]: Disable one test.
51616         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
51617         (lrint_tonearest_test_data): Test for "inexact" exceptions.
51618         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51619         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
51620         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51621         test input.
51622         (lrint_towardzero_test_data): Test for "inexact" exceptions.
51623         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51624         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
51625         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
51626         that test input.
51627         (lrint_downward_test_data): Test for "inexact" exceptions.
51628         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51629         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
51630         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51631         test input.
51632         (lrint_upward_test_data): Test for "inexact" exceptions.
51633         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
51634         test input.
51635         (llrint_test_data): Test for "inexact" exceptions.
51636         (llrint_test_data) [TEST_FLOAT]: Disable one test.
51637         (llrint_tonearest_test_data): Test for "inexact" exceptions.
51638         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51639         (llrint_towardzero_test_data): Test for "inexact" exceptions.
51640         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51641         (llrint_downward_test_data): Test for "inexact" exceptions.
51642         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51643         (llrint_upward_test_data): Test for "inexact" exceptions.
51644         (logb_test_data): Likewise.
51645         (logb_downward_test_data): Likewise.
51646         (nextafter_test_data): Likewise.
51647         (nexttoward_test_data): Likewise.
51648         (remainder_test_data): Likewise.
51649         (remquo_test_data): Likewise.
51650         (scalbn_test_data): Likewise.
51651         (scalbln_test_data): Likewise.
51652         (signbit_test_data): Likewise.
51653         (sqrt_test_data): Likewise.
51654         (significand_test_data): Likewise.
51656 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51658         [BZ #15424]
51659         * benchtests/bench-modf.c (struct args): Mark arg0 as
51660         volatile.
51661         * scripts/bench.pl: Mark members of struct args as volatile.
51663 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51665         [BZ # 15497]
51666         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
51667         negative infinity on POWER6 or lower.
51668         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
51670 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51672         [BZ #15442]
51673         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
51674         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
51675         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
51676         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
51677         (_FP_SETQNAN): New macro.
51678         (_FP_SETQNAN_SEMIRAW): Likewise.
51679         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
51680         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
51681         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
51682         (FP_EXTEND): Use _FP_FRAC_SNANP.
51683         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
51684         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
51685         into account.
51686         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51687         New macro.
51688         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51689         Likewise.
51691 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51693         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
51694         with DIVIDE_BY_ZERO_EXCEPTION.
51695         (gamma_test_data): Likewise.
51696         (lgamma_test_data): Likewise.
51697         (log_test_data): Likewise.
51698         (log10_test_data): Likewise.
51699         (log2_test_data): Likewise.
51700         (tgamma_test_data): Likewise.
51702         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
51703         (acos_test_tonearest): Likewise.
51704         (acos_test_towardzero): Likewise.
51705         (acos_test_downward): Likewise.
51706         (acos_test_upward): Likewise.
51707         (acosh_test): Likewise.
51708         (asin_test): Likewise.
51709         (asin_test_tonearest): Likewise.
51710         (asin_test_towardzero): Likewise.
51711         (asin_test_downward): Likewise.
51712         (asin_test_upward): Likewise.
51713         (asinh_test): Likewise.
51714         (atan_test): Likewise.
51715         (atanh_test): Likewise.
51716         (atan2_test): Likewise.
51717         (cabs_test): Likewise.
51718         (cacos_test): Likewise.
51719         (cacosh_test): Likewise.
51720         (casin_test): Likewise.
51721         (casinh_test): Likewise.
51722         (catan_test): Likewise.
51723         (catanh_test): Likewise.
51724         (cbrt_test): Likewise.
51725         (ccos_test): Likewise.
51726         (ccosh_test): Likewise.
51727         (cexp_test): Likewise.
51728         (clog_test): Likewise.
51729         (clog10_test): Likewise.
51730         (cos_test): Likewise.
51731         (cos_test_tonearest): Likewise.
51732         (cos_test_towardzero): Likewise.
51733         (cos_test_downward): Likewise.
51734         (cos_test_upward): Likewise.
51735         (cosh_test): Likewise.
51736         (cosh_test_tonearest): Likewise.
51737         (cosh_test_towardzero): Likewise.
51738         (cosh_test_downward): Likewise.
51739         (cosh_test_upward): Likewise.
51740         (cpow_test): Likewise.
51741         (csin_test): Likewise.
51742         (csinh_test): Likewise.
51743         (csqrt_test): Likewise.
51744         (ctan_test): Likewise.
51745         (ctan_test_tonearest): Likewise.
51746         (ctan_test_towardzero): Likewise.
51747         (ctan_test_downward): Likewise.
51748         (ctan_test_upward): Likewise.
51749         (ctanh_test): Likewise.
51750         (ctanh_test_tonearest): Likewise.
51751         (ctanh_test_towardzero): Likewise.
51752         (ctanh_test_downward): Likewise.
51753         (ctanh_test_upward): Likewise.
51754         (erf_test): Likewise.
51755         (erfc_test): Likewise.
51756         (exp_test): Likewise.
51757         (exp_test_tonearest): Likewise.
51758         (exp_test_towardzero): Likewise.
51759         (exp_test_downward): Likewise.
51760         (exp_test_upward): Likewise.
51761         (exp10_test): Likewise.
51762         (exp2_test): Likewise.
51763         (expm1_test): Likewise.
51764         (fmod_test): Likewise.
51765         (gamma_test): Likewise.
51766         (hypot_test): Likewise.
51767         (j0_test): Likewise.
51768         (j1_test): Likewise.
51769         (jn_test): Likewise.
51770         (lgamma_test): Likewise.
51771         (log_test): Likewise.
51772         (log10_test): Likewise.
51773         (log1p_test): Likewise.
51774         (log2_test): Likewise.
51775         (logb_test_downward): Likewise.
51776         (pow_test): Likewise.
51777         (pow_test_tonearest): Likewise.
51778         (pow_test_towardzero): Likewise.
51779         (pow_test_downward): Likewise.
51780         (pow_test_upward): Likewise.
51781         (remainder_test): Likewise.
51782         (remquo_test): Likewise.
51783         (sin_test): Likewise.
51784         (sin_test_tonearest): Likewise.
51785         (sin_test_towardzero): Likewise.
51786         (sin_test_downward): Likewise.
51787         (sin_test_upward): Likewise.
51788         (sincos_test): Likewise.
51789         (sinh_test): Likewise.
51790         (sinh_test_tonearest): Likewise.
51791         (sinh_test_towardzero): Likewise.
51792         (sinh_test_downward): Likewise.
51793         (sinh_test_upward): Likewise.
51794         (sqrt_test): Likewise.
51795         (tan_test): Likewise.
51796         (tan_test_tonearest): Likewise.
51797         (tan_test_towardzero): Likewise.
51798         (tan_test_downward): Likewise.
51799         (tan_test_upward): Likewise.
51800         (tanh_test): Likewise.
51801         (tgamma_test): Likewise.
51802         (y0_test): Likewise.
51803         (y1_test): Likewise.
51804         (yn_test): Likewise.
51806         * math/gen-libm-test.pl (adjust_arg): Remove function.
51807         (special_function): Remove argument $in_func.  Only handle
51808         generating output for tables of tests, not inside functions.
51809         (parse_args): Likewise.
51810         (generate_testfile): Remove variable $in_func.  Update call to
51811         parse_args.
51812         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
51813         (MINUS_ZERO_INIT): Rename macro to minus_zero.
51814         (PLUS_INFTY_INIT): Rename macro to plus_infty.
51815         (MINUS_INFTY_INIT): Rename macro to minus_infty.
51816         (QNAN_VALUE_INIT): Rename macro to qnan_value.
51817         (MAX_VALUE_INIT): Rename macro to max_value.
51818         (MIN_VALUE_INIT): Rename macro to min_value.
51819         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
51820         (plus_zero): Remove variable.
51821         (minus_zero): Likewise.
51822         (plus_infty): Likewise.
51823         (minus_infty): Likewise.
51824         (qnan_value): Likewise.
51825         (max_value): Likewise.
51826         (min_value): Likewise.
51827         (min_subnorm_value): Likewise.
51829 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51831         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
51832         uint64_t or uint32_t usage.
51833         * crypt/sha256-block.c: Likewise.
51834         * crypt/sha256-crypt.c: Likewise.
51835         * crypt/sha256.c: Likewise.
51836         * crypt/sha512-block.c: Likewise.
51837         * crypt/sha512-crypt.c: Likewise.
51838         * crypt/sha512.c: Likewise.
51839         * debug/backtrace-tst.c: Likewise.
51840         * debug/pcprofiledump.c: Likewise.
51841         * elf/cache.c: Likewise.
51842         * elf/dl-cache.c: Likewise.
51843         * elf/dl-misc.c: Likewise.
51844         * elf/dl-profile.c: Likewise.
51845         * elf/dl-support.c: Likewise.
51846         * elf/ldconfig.c: Likewise.
51847         * elf/sprof.c: Likewise.
51848         * iconv/dummy-repertoire.c: Likewise.
51849         * iconv/iconv_charmap.c: Likewise.
51850         * iconv/skeleton.c: Likewise.
51851         * iconvdata/8bit-generic.c: Likewise.
51852         * iconvdata/cp737.h: Likewise.
51853         * iconvdata/cp775.h: Likewise.
51854         * iconvdata/ibm1008.h: Likewise.
51855         * iconvdata/ibm1025.h: Likewise.
51856         * iconvdata/ibm1046.h: Likewise.
51857         * iconvdata/ibm1097.h: Likewise.
51858         * iconvdata/ibm1112.h: Likewise.
51859         * iconvdata/ibm1122.h: Likewise.
51860         * iconvdata/ibm1123.h: Likewise.
51861         * iconvdata/ibm1124.h: Likewise.
51862         * iconvdata/ibm1129.h: Likewise.
51863         * iconvdata/ibm1130.h: Likewise.
51864         * iconvdata/ibm1132.h: Likewise.
51865         * iconvdata/ibm1133.h: Likewise.
51866         * iconvdata/ibm1137.h: Likewise.
51867         * iconvdata/ibm1140.h: Likewise.
51868         * iconvdata/ibm1141.h: Likewise.
51869         * iconvdata/ibm1142.h: Likewise.
51870         * iconvdata/ibm1143.h: Likewise.
51871         * iconvdata/ibm1144.h: Likewise.
51872         * iconvdata/ibm1145.h: Likewise.
51873         * iconvdata/ibm1146.h: Likewise.
51874         * iconvdata/ibm1147.h: Likewise.
51875         * iconvdata/ibm1148.h: Likewise.
51876         * iconvdata/ibm1149.h: Likewise.
51877         * iconvdata/ibm1153.h: Likewise.
51878         * iconvdata/ibm1154.h: Likewise.
51879         * iconvdata/ibm1155.h: Likewise.
51880         * iconvdata/ibm1156.h: Likewise.
51881         * iconvdata/ibm1157.h: Likewise.
51882         * iconvdata/ibm1158.h: Likewise.
51883         * iconvdata/ibm1160.h: Likewise.
51884         * iconvdata/ibm1161.h: Likewise.
51885         * iconvdata/ibm1162.h: Likewise.
51886         * iconvdata/ibm1163.h: Likewise.
51887         * iconvdata/ibm1164.h: Likewise.
51888         * iconvdata/ibm1166.h: Likewise.
51889         * iconvdata/ibm1167.h: Likewise.
51890         * iconvdata/ibm12712.h: Likewise.
51891         * iconvdata/ibm1390.h: Likewise.
51892         * iconvdata/ibm1399.h: Likewise.
51893         * iconvdata/ibm16804.h: Likewise.
51894         * iconvdata/ibm4517.h: Likewise.
51895         * iconvdata/ibm4899.h: Likewise.
51896         * iconvdata/ibm4909.h: Likewise.
51897         * iconvdata/ibm4971.h: Likewise.
51898         * iconvdata/ibm5347.h: Likewise.
51899         * iconvdata/ibm803.h: Likewise.
51900         * iconvdata/ibm856.h: Likewise.
51901         * iconvdata/ibm901.h: Likewise.
51902         * iconvdata/ibm902.h: Likewise.
51903         * iconvdata/ibm9030.h: Likewise.
51904         * iconvdata/ibm9066.h: Likewise.
51905         * iconvdata/ibm921.h: Likewise.
51906         * iconvdata/ibm922.h: Likewise.
51907         * iconvdata/ibm9448.h: Likewise.
51908         * iconvdata/isiri-3342.h: Likewise.
51909         * iconvdata/jis0201.h: Likewise.
51910         * include/link.h: Likewise.
51911         * include/netdb.h: Likewise.
51912         * inet/check_native.c: Likewise.
51913         * inet/check_pf.c: Likewise.
51914         * inet/getipv4sourcefilter.c: Likewise.
51915         * inet/getnameinfo.c: Likewise.
51916         * inet/getsourcefilter.c: Likewise.
51917         * inet/htonl.c: Likewise.
51918         * inet/setipv4sourcefilter.c: Likewise.
51919         * inet/setsourcefilter.c: Likewise.
51920         * inet/test-inet6_opt.c: Likewise.
51921         * inet/tst-network.c: Likewise.
51922         * locale/C-collate.c: Likewise.
51923         * locale/C-ctype.c: Likewise.
51924         * locale/C-time.c: Likewise.
51925         * locale/C-translit.h: Likewise.
51926         * locale/loadarchive.c: Likewise.
51927         * locale/programs/3level.h: Likewise.
51928         * locale/programs/charmap.c: Likewise.
51929         * locale/programs/charmap.h: Likewise.
51930         * locale/programs/ld-address.c: Likewise.
51931         * locale/programs/ld-collate.c: Likewise.
51932         * locale/programs/ld-ctype.c: Likewise.
51933         * locale/programs/ld-identification.c: Likewise.
51934         * locale/programs/ld-measurement.c: Likewise.
51935         * locale/programs/ld-messages.c: Likewise.
51936         * locale/programs/ld-monetary.c: Likewise.
51937         * locale/programs/ld-name.c: Likewise.
51938         * locale/programs/ld-numeric.c: Likewise.
51939         * locale/programs/ld-paper.c: Likewise.
51940         * locale/programs/ld-telephone.c: Likewise.
51941         * locale/programs/ld-time.c: Likewise.
51942         * locale/programs/linereader.c: Likewise.
51943         * locale/programs/locale.c: Likewise.
51944         * locale/programs/locarchive.c: Likewise.
51945         * locale/programs/locfile.h: Likewise.
51946         * locale/programs/repertoire.c: Likewise.
51947         * locale/programs/simple-hash.c: Likewise.
51948         * locale/programs/simple-hash.h: Likewise.
51949         * malloc/memusage.c: Likewise.
51950         * malloc/memusagestat.c: Likewise.
51951         * nis/nis_defaults.c: Likewise.
51952         * nis/nis_hash.c: Likewise.
51953         * nis/nis_print.c: Likewise.
51954         * nis/nis_xdr.c: Likewise.
51955         * nscd/connections.c: Likewise.
51956         * nscd/hstcache.c: Likewise.
51957         * nscd/nscd_gethst_r.c: Likewise.
51958         * nscd/nscd_getserv_r.c: Likewise.
51959         * nscd/nscd_helper.c: Likewise.
51960         * nscd/servicescache.c: Likewise.
51961         * nss/makedb.c: Likewise.
51962         * nss/nss_db/db-XXX.c: Likewise.
51963         * nss/nss_db/db-initgroups.c: Likewise.
51964         * nss/nss_db/db-netgrp.c: Likewise.
51965         * nss/nss_files/files-network.c: Likewise.
51966         * nss/nss_files/files-parse.c: Likewise.
51967         * posix/bug-regex5.c: Likewise.
51968         * posix/fnmatch_loop.c: Likewise.
51969         * posix/regcomp.c: Likewise.
51970         * posix/regexec.c: Likewise.
51971         * posix/tst-rfc3484-2.c: Likewise.
51972         * posix/tst-rfc3484-3.c: Likewise.
51973         * posix/tst-rfc3484.c: Likewise.
51974         * resolv/nss_dns/dns-canon.c: Likewise.
51975         * resolv/nss_dns/dns-network.c: Likewise.
51976         * resolv/res_init.c: Likewise.
51977         * resolv/res_mkquery.c: Likewise.
51978         * resolv/tst-aton.c: Likewise.
51979         * stdlib/cxa_atexit.c: Likewise.
51980         * stdlib/cxa_finalize.c: Likewise.
51981         * stdlib/gen-fpioconst.c: Likewise.
51982         * stdlib/strtol_l.c: Likewise.
51983         * string/tst-endian.c: Likewise.
51984         * sunrpc/auth_des.c: Likewise.
51985         * sunrpc/clnt_udp.c: Likewise.
51986         * sunrpc/rtime.c: Likewise.
51987         * sunrpc/svcauth_des.c: Likewise.
51988         * sunrpc/xdr.c: Likewise.
51989         * sunrpc/xdr_intXX_t.c: Likewise.
51990         * sunrpc/xdr_rec.c: Likewise.
51991         * sysdeps/generic/ldconfig.h: Likewise.
51992         * sysdeps/generic/ldsodefs.h: Likewise.
51993         * sysdeps/generic/memusage.h: Likewise.
51994         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51995         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
51996         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
51997         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51998         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51999         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52000         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52001         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52002         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52003         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52004         * sysdeps/posix/getaddrinfo.c: Likewise.
52005         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52006         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52007         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52008         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52009         * sysdeps/powerpc/test-gettimebase.c: Likewise.
52010         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
52011         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
52012         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
52013         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
52014         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
52015         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52016         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52017         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
52018         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
52019         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
52020         * sysdeps/x86_64/dl-tls.h: Likewise.
52021         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
52022         * time/alt_digit.c: Likewise.
52023         * time/era.c: Likewise.
52024         * wcsmbs/tst-c16c32-1.c: Likewise.
52026 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52028         * math/libm-test.inc (struct test_sincos_data): New type.
52029         (RUN_TEST_LOOP_sincos): New macro.
52030         (sincos_test_data): New variable.
52031         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
52033 2013-05-16  Richard Henderson  <rth@redhat.com>
52035         * math/atest-exp2.c (LIMB64): New macro.
52036         (CONSTSZ): New macro.
52037         (mp_exp1, mp_exp_m1, mp_log2): New variables.
52038         (hexdig): Move ...
52039         (print_mpn_fp): ... to function scope.
52040         (read_mpn_hex): Remove.
52041         (get_log2): Remove.
52042         (exp2_mpn): Use mp_log2.
52043         (main): Use mp_exp1.
52045 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52047         * math/libm-test.inc: Remove comment about not testing "inexact"
52048         exceptions.
52049         (INEXACT_EXCEPTION): New macro.
52050         (NO_INEXACT_EXCEPTION): Likewise.
52051         (INVALID_EXCEPTION_OK): Update value.
52052         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52053         (OVERFLOW_EXCEPTION_OK): Likewise.
52054         (UNDERFLOW_EXCEPTION_OK): Likewise.
52055         (IGNORE_ZERO_INF_SIGN): Likewise.
52056         (ERRNO_UNCHANGED): Likewise.
52057         (ERRNO_EDOM): Likewise.
52058         (ERRNO_ERANGE): Likewise.
52059         (test_exceptions): Handle testing "inexact" exceptions.
52060         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
52061         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
52062         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
52063         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
52064         INEXACT_EXCEPTION.
52065         (rint_towardzero_test_data): Likewise.
52066         (rint_downward_test_data): Likewise.
52067         (rint_upward_test_data): Likewise.
52069         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
52070         with OVERFLOW_EXCEPTION.
52071         (exp10_test_data): Likewise.
52072         (exp2_test_data): Likewise.
52073         (expm1_test_data): Likewise.
52074         (lgamma_test_data): Likewise.
52075         (pow_test_data): Likewise.
52076         (tgamma_test_data): Likewise.
52077         (yn_test_data): Remove duplicate test of overflow.
52079         * math/libm-test.inc (struct test_cc_c_data): New type.
52080         (RUN_TEST_LOOP_cc_c): New macro.
52081         (cpow_test_data): New variable.
52082         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
52084         * math/libm-test.inc (struct test_f_L_data): New type.
52085         (RUN_TEST_LOOP_f_L): New macro.
52086         (llrint_test_data): New variable.
52087         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
52088         (llrint_tonearest_test_data): New variable.
52089         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
52090         (llrint_towardzero_test_data): New variable.
52091         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
52092         (llrint_downward_test_data): New variable.
52093         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
52094         (llrint_upward_test_data): New variable.
52095         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
52096         (llround_test_data): New variable.
52097         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
52099 2013-05-13  Peter Collingbourne  <pcc@google.com>
52101         * math/atest-exp2.c (get_log2): Remove const attribute.
52103 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52105         * math/libm-test.inc (struct test_f_l_data): New type.
52106         (RUN_TEST_LOOP_f_l): New macro.
52107         (lrint_test_data): New variable.
52108         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
52109         (lrint_tonearest_test_data): New variable.
52110         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
52111         (lrint_towardzero_test_data): New variable.
52112         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
52113         (lrint_downward_test_data): New variable.
52114         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
52115         (lrint_upward_test_data): New variable.
52116         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
52117         (lround_test_data): New variable.
52118         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
52120 2013-05-15  Peter Collingbourne  <pcc@google.com>
52122         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
52123         (EXTRACT_WORDS64) Use where appropriate.
52124         (INSERT_WORDS64) Likewise.
52126         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
52127         constraints with x constraints.
52128         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
52130         * malloc/obstack.c (_obstack_compat): Add initializer.
52132 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
52134         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
52135         si_trapno and add si_addr_lsb to _sifields.sigfault.
52136         (si_trapno): Remove macro.
52137         (si_addr_lsb): Define new macro.
52138         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
52140 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52142         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
52143         instead of TEST_f_l.
52144         (llrint_test_tonearest): Likewise.
52145         (llrint_test_towardzero): Likewise.
52146         (llrint_test_downward): Likewise.
52147         (llrint_test_upward): Likewise.
52148         (llround_test): Likewise.
52150         * math/libm-test.inc (struct test_f_i_data): Add comment.
52151         (RUN_TEST_LOOP_f_b): New macro.
52152         (RUN_TEST_LOOP_f_b_tg): Likewise.
52153         (finite_test_data): New variable.
52154         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
52155         (isfinite_test_data): New variable.
52156         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52157         (isinf_test_data): New variable.
52158         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52159         (isnan_test_data): New variable.
52160         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52161         (isnormal_test_data): New variable.
52162         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52163         (issignaling_test_data): New variable.
52164         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52165         (signbit_test_data): New variable.
52166         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52168         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
52169         with INVALID_EXCEPTION.
52170         (acosh_test_data): Likewise.
52171         (asin_test_data): Likewise.
52172         (atanh_test_data): Likewise.
52173         (fmod_test_data): Likewise.
52174         (log_test_data): Likewise.
52175         (log10_test_data): Likewise.
52176         (log2_test_data): Likewise.
52177         (pow_test_data): Likewise.
52178         (sqrt_test_data): Likewise.
52179         (y0_test_data): Likewise.
52180         (y1_test_data): Likewise.
52181         (yn_test_data): Likewise.
52183         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
52184         function contents.
52186         * math/libm-test.inc (struct test_ff_i_data): New type.
52187         (RUN_TEST_LOOP_ff_i_tg): New macro.
52188         (isgreater_test_data): New variable.
52189         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52190         (isgreaterequal_test_data): New variable.
52191         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52192         (isless_test_data): New variable.
52193         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52194         (islessequal_test_data): New variable.
52195         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52196         (islessgreater_test_data): New variable.
52197         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52198         (isunordered_test_data): New variable.
52199         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52201 2013-05-14  David S. Miller  <davem@davemloft.net>
52203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52205 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
52207         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
52209         * math/libm-test.inc (struct test_fF_f1_data): Change type of
52210         extra_test to int.
52211         (struct test_f_i_data): Change type of max_ulp to int.
52213         * math/libm-test.inc (test_ffI_f1_data): New type.
52214         (RUN_TEST_LOOP_ffI_f1): New macro.
52215         (remquo_test_data): New variable.
52216         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
52218         * setjmp/tst-setjmp-fp.c: New file.
52219         * setjmp/Makefile (tests): Add tst-setjmp-fp.
52220         (link-libm): New variable.
52221         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
52223         * math/libm-test.inc (struct test_f_i_data): New type.
52224         (RUN_TEST_LOOP_f_i): New macro.
52225         (RUN_TEST_LOOP_f_i_tg): Likewise.
52226         (fpclassify_test_data): New variable.
52227         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
52228         (ilogb_test_data): New variable.
52229         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
52231         * math/libm-test.inc (scalbln_test): Correct function name in END
52232         call.
52234         * math/libm-test.inc (struct test_f_f1_data): Add comment.
52235         (RUN_TEST_LOOP_fI_f1): New macro.
52236         (frexp_test_data): New variable.
52237         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
52239         * math/libm-test.inc (struct test_fF_f1_data): New type.
52240         (RUN_TEST_LOOP_fF_f1): New macro.
52241         (modf_test_data): New variable.
52242         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
52244         * math/libm-test.inc (struct test_f_f1_data): New type.
52245         (RUN_TEST_LOOP_f_f1): New macro.
52246         (gamma_test_data): New variable.
52247         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52248         (lgamma_test_data): New variable.
52249         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52251 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
52253         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
52254         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
52255         (main): Comment "tls" pseudo-hwcap.
52257 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
52259         * math/libm-test.inc (struct test_fl_f_data): New type.
52260         (RUN_TEST_LOOP_fl_f): New variable.
52261         (scalbln_test_data): New variable.
52262         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
52264         * math/libm-test.inc (struct test_fi_f_data): New type.
52265         (RUN_TEST_LOOP_fi_f): New macro.
52266         (ldexp_test_data): New variable.
52267         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
52268         (scalbn_test_data): New variable.
52269         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
52271         * math/libm-test.inc (struct test_c_f_data): New type.
52272         (RUN_TEST_LOOP_c_f): New macro.
52273         (cabs_test_data): New variable.
52274         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
52275         (carg_test_data): New variable.
52276         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
52277         (cimag_test_data): New variable.
52278         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
52279         (creal_test_data): New variable.
52280         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
52282         * math/libm-test.inc (struct test_if_f_data): New type.
52283         (RUN_TEST_LOOP_if_f): New macro.
52284         (jn_test_data): New variable.
52285         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
52286         (yn_test_data): New variable.
52287         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
52289         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
52291 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52293         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
52294         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
52296 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52298         * benchtests/Makefile (CPPFLAGS-nonlib): Add
52299         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
52300         (bench-deps): Add bench-timing.h.
52301         * benchtests-bench-skeleton.c: Include bench-timing.h.
52302         (main): Use TIMING_* macros instead of clock_gettime.
52303         * benchtests/bench-timing.h: New file.
52305         [BZ #14582]
52306         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
52307         Renamed from _LIB_VERSION.
52308         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
52310 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
52312         * math/libm-test.inc (struct test_fff_f_data): New type.
52313         (RUN_TEST_LOOP_fff_f): New macro.
52314         (fma_test_data): New variable.
52315         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
52316         (fma_towardzero_test_data): New variable.
52317         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
52318         (fma_downward_test_data): New variable.
52319         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
52320         (fma_upward_test_data): New variable.
52321         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
52323         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
52324         (struct test_c_c_data): New type.
52325         (RUN_TEST_LOOP_c_c): New macro.
52326         (cacos_test_data): New variable.
52327         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
52328         (cacosh_test_data): New variable.
52329         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
52330         (casin_test_data): New variable.
52331         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
52332         (casinh_test_data): New variable.
52333         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
52334         (catan_test_data): New variable.
52335         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
52336         (catanh_test_data): New variable.
52337         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
52338         (ccos_test_data): New variable.
52339         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
52340         (ccosh_test_data): New variable.
52341         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
52342         (cexp_test_data): New variable.
52343         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
52344         (clog_test_data): New variable.
52345         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
52346         (clog10_test_data): New variable.
52347         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
52348         (conj_test_data): New variable.
52349         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
52350         (cproj_test_data): New variable.
52351         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
52352         (csin_test_data): New variable.
52353         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
52354         (csinh_test_data): New variable.
52355         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
52356         (csqrt_test_data): New variable.
52357         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
52358         (ctan_test_data): New variable.
52359         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
52360         (ctan_tonearest_test_data): New variable.
52361         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52362         (ctan_towardzero_test_data): New variable.
52363         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52364         (ctan_downward_test_data): New variable.
52365         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52366         (ctan_upward_test_data): New variable.
52367         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52368         (ctanh_test_data): New variable.
52369         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
52370         (ctanh_tonearest_test_data): New variable.
52371         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52372         (ctanh_towardzero_test_data): New variable.
52373         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52374         (ctanh_downward_test_data): New variable.
52375         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52376         (ctanh_upward_test_data): New variable.
52377         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52378         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
52379         of BUILD_COMPLEX.
52381         * math/libm-test.inc (struct test_ff_f_data): New type.
52382         (struct test_ff_f_data_nexttoward): Likewise.
52383         (RUN_TEST_LOOP_2_f): New macro.
52384         (RUN_TEST_LOOP_ff_f): Likewise.
52385         (atan2_test_data): New variable.
52386         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
52387         (copysign_test_data): New variable.
52388         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
52389         (fdim_test_data): New variable.
52390         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
52391         (fmax_test_data): New variable.
52392         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
52393         (fmin_test_data): New variable.
52394         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
52395         (fmod_test_data): New variable.
52396         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
52397         (hypot_test_data): New variable.
52398         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
52399         (nextafter_test_data): New variable.
52400         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
52401         (nexttoward_test_data): New variable.
52402         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
52403         (pow_test_data): New variable.
52404         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
52405         (pow_tonearest_test_data): New variable.
52406         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
52407         (pow_towardzero_test_data): New variable.
52408         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
52409         (pow_downward_test_data): New variable.
52410         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
52411         (pow_upward_test_data): New variable.
52412         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
52413         (remainder_test_data): New variable.
52414         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
52415         (scalb_test_data): New variable.
52416         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
52417         * sysdeps/i386/fpu/libm-test-ulps: Update.
52419 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
52421         * math/libm-test.inc (fma_test): Use max_value instead of local
52422         variable fltmax.
52423         (nextafter_test): Likewise.
52425         * math/libm-test.inc (acos_towardzero_test_data): New variable.
52426         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52427         (acos_downward_test_data): New variable.
52428         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52429         (acos_upward_test_data): New variable.
52430         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52431         (acosh_test_data): New variable.
52432         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
52433         (asin_test_data): New variable.
52434         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
52435         (asin_tonearest_test_data): New variable.
52436         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52437         (asin_towardzero_test_data): New variable.
52438         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52439         (asin_downward_test_data): New variable.
52440         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52441         (asin_upward_test_data): New variable.
52442         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52443         (asinh_test_data): New variable.
52444         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
52445         (atan_test_data): New variable.
52446         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
52447         (atanh_test_data): New variable.
52448         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
52449         (cbrt_test_data): New variable.
52450         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
52451         (ceil_test_data): New variable.
52452         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
52453         (cos_test_data): New variable.
52454         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
52455         (cos_tonearest_test_data): New variable.
52456         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52457         (cos_towardzero_test_data): New variable.
52458         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52459         (cos_downward_test_data): New variable.
52460         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52461         (cos_upward_test_data): New variable.
52462         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52463         (cosh_test_data): New variable.
52464         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
52465         (cosh_tonearest_test_data): New variable.
52466         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52467         (cosh_towardzero_test_data): New variable.
52468         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52469         (cosh_downward_test_data): New variable.
52470         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52471         (cosh_upward_test_data): New variable.
52472         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52473         (erf_test_data): New variable.
52474         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
52475         (erfc_test_data): New variable.
52476         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
52477         (exp_test_data): New variable.
52478         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
52479         (exp_tonearest_test_data): New variable.
52480         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52481         (exp_towardzero_test_data): New variable.
52482         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52483         (exp_downward_test_data): New variable.
52484         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52485         (exp_upward_test_data): New variable.
52486         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52487         (exp10_test_data): New variable.
52488         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
52489         (exp2_test_data): New variable.
52490         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
52491         (expm1_test_data): New variable.
52492         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
52493         (fabs_test_data): New variable.
52494         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
52495         (floor_test_data): New variable.
52496         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
52497         (j0_test_data): New variable.
52498         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
52499         (j1_test_data): New variable.
52500         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
52501         (log_test_data): New variable.
52502         (log_test): Run tests with RUN_TEST_LOOP_f_f.
52503         (log10_test_data): New variable.
52504         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
52505         (log1p_test_data): New variable.
52506         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
52507         (log2_test_data): New variable.
52508         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
52509         (logb_test_data): New variable.
52510         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
52511         (logb_downward_test_data): New variable.
52512         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52513         (nearbyint_test_data): New variable.
52514         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
52515         (rint_test_data): New variable.
52516         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
52517         (rint_tonearest_test_data): New variable.
52518         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52519         (rint_towardzero_test_data): New variable.
52520         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52521         (rint_downward_test_data): New variable.
52522         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52523         (rint_upward_test_data): New variable.
52524         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52525         (round_test_data): New variable.
52526         (round_test): Run tests with RUN_TEST_LOOP_f_f.
52527         (sin_test_data): New variable.
52528         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
52529         (sin_tonearest_test_data): New variable.
52530         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52531         (sin_towardzero_test_data): New variable.
52532         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52533         (sin_downward_test_data): New variable.
52534         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52535         (sin_upward_test_data): New variable.
52536         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52537         (sinh_test_data): New variable.
52538         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
52539         (sinh_tonearest_test_data): New variable.
52540         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52541         (sinh_towardzero_test_data): New variable.
52542         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52543         (sinh_downward_test_data): New variable.
52544         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52545         (sinh_upward_test_data): New variable.
52546         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52547         (sqrt_test_data): New variable.
52548         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
52549         (tan_test_data): New variable.
52550         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
52551         (tan_tonearest_test_data): New variable.
52552         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52553         (tan_towardzero_test_data): New variable.
52554         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52555         (tan_downward_test_data): New variable.
52556         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52557         (tan_upward_test_data): New variable.
52558         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52559         (tanh_test_data): New variable.
52560         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
52561         (tgamma_test_data): New variable.
52562         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
52563         (trunc_test_data): New variable.
52564         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
52565         (y0_test_data): New variable.
52566         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
52567         (y1_test_data): New variable.
52568         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
52569         (significand_test_data): New variable.
52570         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
52572 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
52574         [BZ #12387]
52575         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
52577 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52579         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
52581 2013-05-10  Andreas Jaeger  <aj@suse.de>
52583         [BZ #15448]
52584         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
52585         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
52587 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52589         * math/gen-libm-test.pl (adjust_arg): New function.
52590         (special_functions): Handle generating output in both functions
52591         and arrays.
52592         (parse_args): Likewise.
52593         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
52594         $in_func argument to parse_args.
52595         * math/libm-test.inc (struct test_f_f_data): New type.
52596         (IF_ROUND_INIT_): New macro.
52597         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
52598         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52599         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52600         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52601         (ROUND_RESTORE_): Likewise.
52602         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
52603         (ROUND_RESTORE_FE_TONEAREST): Likewise.
52604         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
52605         (ROUND_RESTORE_FE_UPWARD): Likewise.
52606         (RUN_TEST_LOOP_f_f): New macro.
52607         (acos_test_data): New variable.
52608         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
52609         (acos_tonearest_test_data): New variable.
52610         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52612 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52614         * benchtests/bench-skeleton.c (startup): Fix coding style.
52616 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52618         [BZ #6809]
52619         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
52620         negative infinity argument.
52621         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
52622         negative infinity argument.
52623         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
52624         negative infinity argument.
52625         * math/libm-test.inc (tgamma_test): Expect errno to be set for
52626         domain errors.
52628 2013-05-10  Florian Weimer  <fweimer@redhat.com>
52630         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
52631         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
52632         * iconv/iconv_prog.c (main): Likewise.
52633         * locale/programs/charmap-dir.c (charmap_readdir)
52634         (fopen_uncompressed): Likewise.
52635         * locale/programs/locfile.c (siblings_uncached)
52636         (write_locale_data): Use lstat64 instead of lstat.
52637         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
52638         stat.
52640 2013-05-10  Andreas Jaeger  <aj@suse.de>
52642         [BZ #15395]
52643         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
52644         localization.
52645         Include <locale.h>.
52647 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
52649         * elf/dl-close.c (_dl_close_worker): Add comments.
52651 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
52653         [BZ #15359]
52654         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
52655         high part of pi/2.
52656         (__ieee754_rem_pio2l): Update comments.
52658         [BZ #15429]
52659         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
52660         high part of pi/2.
52661         (__ieee754_rem_pio2l): Update comments.
52663         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
52664         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
52666         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
52667         M_PI_4l.
52669         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
52670         (M_PI_34_LOG10El): Likewise.
52671         (M_PI2_LOG10El): Likewise.
52672         (M_PI4_LOG10El): Likewise.
52673         (M_PI_LOG10El): Likewise.
52675 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52679 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
52681         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
52682         (MINUS_ZERO_INIT): Likewise.
52683         (PLUS_INFTY_INIT): Likewise.
52684         (MINUS_INFTY_INIT): Likewise.
52685         (QNAN_VALUE_INIT): Likewise.
52686         (MAX_VALUE_INIT): Likewise.
52687         (MIN_VALUE_INIT): Likewise.
52688         (MIN_SUBNORM_VALUE_INIT): Likewise.
52689         (plus_zero): Initialize with PLUS_ZERO_INIT.
52690         (minus_zero): Initialize with MINUS_ZERO_INIT.
52691         (plus_infty): Initialize with PLUS_INFTY_INIT.
52692         (minus_infty): Initialize with MINUS_INFTY_INIT.
52693         (qnan_value): Initialize with QNAN_VALUE_INIT.
52694         (max_value): Initialize with MAX_VALUE_INIT.
52695         (min_value): Initialize with MIN_VALUE_INIT.
52696         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
52698         * math/libm-test.inc (RUN_TEST_if_f): New macro.
52699         (jn_test): Use TEST_if_f instead of TEST_ff_f.
52700         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
52701         (yn_test): Use TEST_if_f instead of TEST_ff_f.
52703         * math/libm-test.inc (RUN_TEST_f_f): New macro.
52704         (RUN_TEST_2_f): Likewise.
52705         (RUN_TEST_ff_f): Likewise.
52706         (RUN_TEST_fi_f): Likewise.
52707         (RUN_TEST_fl_f): Likewise.
52708         (RUN_TEST_fff_f): Likewise.
52709         (RUN_TEST_c_f): Likewise.
52710         (RUN_TEST_f_f1): Likewise.
52711         (RUN_TEST_fF_f1): Likewise.
52712         (RUN_TEST_fI_f1): Likewise.
52713         (RUN_TEST_ffI_f1): Likewise.
52714         (RUN_TEST_c_c): Likewise.
52715         (RUN_TEST_cc_c): Likewise.
52716         (RUN_TEST_f_i): Likewise.
52717         (RUN_TEST_f_i_tg): Likewise.
52718         (RUN_TEST_ff_i_tg): Likewise.
52719         (RUN_TEST_f_b): Likewise.
52720         (RUN_TEST_f_b_tg): Likewise.
52721         (RUN_TEST_f_l): Likewise.
52722         (RUN_TEST_f_L): Likewise.
52723         (RUN_TEST_sincos): Likewise.
52724         * math/gen-libm-test.pl (new_test): Take new argument to indicate
52725         whether to show exceptions.  Do not include ");\n" in return
52726         value.
52727         (special_functions): Output call to RUN_TEST_sincos instead of
52728         check_float calls.  Update calls to new_test.
52729         (parse_args): Output call to single RUN_TEST_* macro instead of
52730         check_* calls and other assignments.  Update calls to new_test.
52732         [BZ #2546]
52733         [BZ #2560]
52734         [BZ #5159]
52735         [BZ #15426]
52736         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
52737         input to result for tgamma overflow.
52738         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
52739         (gamma_coeff): New variable.
52740         (NCOEFF): New macro.
52741         (gamma_positive): New function.
52742         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
52743         underflow here.  Use gamma_positive instead of exp (lgamma) for
52744         other arguments.
52745         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
52746         (gamma_coeff): New variable.
52747         (NCOEFF): New macro.
52748         (gammaf_positive): New function.
52749         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
52750         underflow here.  Use gamma_positive instead of exp (lgamma) for
52751         other arguments.
52752         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
52753         (gamma_coeff): New variable.
52754         (NCOEFF): New macro.
52755         (gammal_positive): New function.
52756         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
52757         underflow here.  Use gamma_positive instead of exp (lgamma) for
52758         other arguments.
52759         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
52760         (gamma_coeff): New variable.
52761         (NCOEFF): New macro.
52762         (gammal_positive): New function.
52763         (__ieee754_gammal_r): Handle positive infinity, overflow and
52764         underflow here.  Handle NaN the same as positive infinity.  Remove
52765         check x < 0xffffffff for negative integers.  Use gamma_positive
52766         instead of exp (lgamma) for other arguments.
52767         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
52768         (gamma_coeff): New variable.
52769         (NCOEFF): New macro.
52770         (gammal_positive): New function.
52771         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
52772         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
52773         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
52774         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
52775         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
52776         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
52777         * sysdeps/generic/math_private.h (__gamma_productf): New
52778         prototype.
52779         (__gamma_product): Likewise.
52780         (__gamma_productl): Likewise.
52781         * math/Makefile (libm-calls): Add gamma_product.
52782         * math/libm-test.inc (tgamma_test): Add more tests.
52783         * sysdeps/i386/fpu/libm-test-ulps: Update.
52784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52786 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
52788         * benchtests/bench-skeleton.c (main): Preheat CPU.
52790 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
52792         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
52794 2013-05-07  Roland McGrath  <roland@hack.frob.com>
52796         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
52797         and _dl_skip_args_internal.
52799 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
52801         * manual/message.texi (Message Translation): Talk about users.
52802         Message to key mapping impacts design.
52804 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52806         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
52808         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
52810         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
52811         * sysdeps/wordsize-64/glob64.c: ... here.
52813         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
52814         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
52815         New macros.
52817         * debug/getlogin_r_chk.c: Moved to ...
52818         * login/getlogin_r_chk.c: ... here.
52819         * debug/Makefile (routines): Move getlogin_r_chk to ...
52820         * login/Makefile (routines): ... here.
52821         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
52822         * login/Versions (libc: GLIBC_2.4): ... here.
52824         * io/poll.c (__poll): Renamed from poll.
52825         Add libc_hidden_def.
52826         (poll): Define as weak alias.
52828         * debug/ptsname_r_chk.c: Moved to ...
52829         * login/ptsname_r_chk.c: ... here.
52830         * debug/Makefile (routines): Move ptsname_r_chk to ...
52831         * login/Makefile (routines): ... here.
52832         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
52833         * login/Versions (libc: GLIBC_2.4): ... here.
52835         * posix/getlogin.c: Moved to ...
52836         * login/getlogin.c: ... here.
52837         * posix/getlogin_r.c: Moved to ...
52838         * login/getlogin_r.c: ... here.
52839         * posix/getlogin_r.c: Moved to ...
52840         * login/getlogin_r.c: ... here.
52841         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
52842         * login/Makefile (routines): ... here.
52843         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
52844         * login/Versions (libc: GLIBC_2.0): ... here.
52846         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
52847         (setrlimit): Define as weak alias.
52849         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
52850         Call __ names for open, ftruncate, and close.
52851         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
52852         (truncate): Define as weak alias.
52854 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
52856         * math/gen-libm-test.pl (parse_args): Initialize x before each
52857         test of frexp, modf and remquo.
52859         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
52860         test signgam value.
52862 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52864         [BZ #15418]
52865         [BZ #15419]
52866         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
52867         internal tests.
52868         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52870 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52872         * elf/dl-writev.h: New file.
52873         * elf/dl-misc.c: Include it.
52874         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
52875         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
52877 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
52879         * math/libm-test.inc (noXFails): Remove variable.
52880         (noXPasses): Likewise.
52881         (BUILD_COMPLEX_INT): Remove macro.
52882         (print_screen): Remove xfail argument.
52883         (print_screen_max_error): Likewise.
52884         (update_stats): Likewise.
52885         (print_max_error): Likewise.  Update calls to other affected
52886         functions.
52887         (print_complex_max_error): Likewise.
52888         (test_single_exception): Update calls to print_screen.
52889         (test_single_errno): Likewise.
52890         (check_float_internal): Remove xfail argument.  Update calls to
52891         other affected functions.
52892         (check_float): Likewise.
52893         (check_complex): Likewise.
52894         (check_int): Likewise.
52895         (check_long): Likewise.
52896         (check_bool): Likewise.
52897         (check_longlong): Likewise.
52898         (main): Don't print noXFails and noXPasses.
52899         * math/gen-libm-test.pl (top level): Don't mention expected
52900         failure handling in comment.
52901         (new_test): Don't handle expected failures.
52902         (parse_args): Don't mention expected failure handling in comment.
52903         (generate_testfile): Don't handle expected failures.
52904         (parse_ulps): Likewise.
52905         (print_ulps_file): Likewise.
52906         (get_failure): Remove function.
52907         (output_test): Don't handle expected failures.
52908         * make/README.libm-test: Don't mention expected failure handling.
52910         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
52911         (minus_zero): Likewise.
52912         (plus_infty): Likewise.
52913         (minus_infty): Likewise.
52914         (qnan_value): Likewise.
52915         (max_value): Likewise.
52916         (min_value): Likewise.
52917         (min_subnorm_value): Likewise.
52918         (initialize): Do not initialize those variables dynamically.
52920 2013-05-03  Roland McGrath  <roland@hack.frob.com>
52922         * io/open.c (__open_2): Moved to ...
52923         * io/open_2.c: ... this new file.
52924         * io/open64.c (__open64_2): Moved to ...
52925         * io/open64_2.c: ... this new file.
52926         * io/openat.c (__openat_2): Moved to ...
52927         * io/openat_2.c: ... this new file.
52928         * io/openat64.c (__openat64_2): Moved to ...
52929         * io/openat64_2.c: ... this new file.
52930         * io/Makefile (routines): Add them.
52931         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
52932         * sysdeps/unix/sysv/linux/open_2.c: File removed.
52933         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
52934         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
52935         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
52936         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
52937         (__openat64): Add hidden_ver.
52938         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
52939         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
52941         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
52942         Separately conditionalize setting of GLRO(dl_sysinfo) so
52943         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
52944         as well, but the actual setting is only under [NEED_DL_SYSINFO].
52946 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52948         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
52949         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
52950         definition.
52951         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
52952         * sysdeps/unix/sysv/linux/powerpc/init-first.c
52953         (_libc_vdso_platform_setup): Add __vdso_time initialization.
52954         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
52955         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
52957 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
52959         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
52960         test signgam value.
52962         * math/libm-test.inc (hypot_test): Do not use
52963         IGNORE_ZERO_INF_SIGN.
52965 2013-05-03  Andreas Jaeger  <aj@suse.de>
52967         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
52968         Linux 3.9.
52969         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
52970         (PF_MAX): Adjust for VSOCK change.
52972 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52976 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
52978         [BZ #15264]
52979         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
52980         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
52981         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
52983 2013-05-02  David S. Miller  <davem@davemloft.net>
52985         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52987 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
52989         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
52991 2013-05-01  Roland McGrath  <roland@hack.frob.com>
52993         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
52995 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
52997         [BZ #14952]
52998         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
52999         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53000         Use __attribute__ ((__gnu_inline__)).
53001         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53002         Don't use __attribute__ ((__gnu_inline__)).
53004 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
53006         [BZ #15423]
53007         * math/s_catan.c (__catan): Handle small real or imaginary part of
53008         input specially to avoid spurious underflow.
53009         * math/s_catanf.c (__catanf): Likewise.
53010         * math/s_catanh.c (__catanh): Likewise.
53011         * math/s_catanhf.c (__catanhf): Likewise.
53012         * math/s_catanhl.c (__catanhl): Likewise.
53013         * math/s_catanl.c (__catanl): Likewise.
53014         * math/libm-test.inc (catan_test): Add more tests.
53015         (catanh_test): Likewise.
53016         * sysdeps/i386/fpu/libm-test-ulps: Update.
53017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53019 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53023 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
53025         [BZ #15416]
53026         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
53027         accurately for denominator in atan2.
53028         * math/s_catanf.c (__catanf): Likewise.
53029         * math/s_catanh.c (__catanh): Likewise.
53030         * math/s_catanhf.c (__catanhf): Likewise.
53031         * math/s_catanhl.c (__catanhl): Likewise.
53032         * math/s_catanl.c (__catanl): Likewise.
53033         * math/libm-test.inc (catan_test): Add more tests.
53034         (catanh_test): Likewise.
53035         * sysdeps/i386/fpu/libm-test-ulps: Update.
53036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53038 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53040         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
53042         * benchtests/Makefile (bench): Remove slow benchmarks.
53043         * benchtests/atan-inputs: Add slow benchmark inputs.
53044         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
53045         (BENCH_FUNC): Accept variant offset.
53046         (VARIANT): Define.
53047         * benchtests/bench-skeleton.c (main): Run benchmark for each
53048         variant.
53049         * benchtests/cos-inputs: Add slow benchmark inputs.
53050         * benchtests/exp-inputs: Likewise.
53051         * benchtests/pow-inputs: Likewise.
53052         * benchtests/sin-inputs: Likewise.
53053         * benchtests/slowatan-inputs: Remove.
53054         * benchtests/slowatan.c: Remove.
53055         * benchtests/slowcos-inputs: Remove.
53056         * benchtests/slowcos.c: Remove.
53057         * benchtests/slowexp-inputs: Remove.
53058         * benchtests/slowexp.c: Remove.
53059         * benchtests/slowpow-inputs: Remove.
53060         * benchtests/slowpow.c: Remove.
53061         * benchtests/slowsin-inputs: Remove.
53062         * benchtests/slowsin.c: Remove.
53063         * benchtests/slowtan-inputs: Remove.
53064         * benchtests/slowtan.c: Remove.
53065         * benchtests/tan-inputs: Add slow benchmark inputs.
53066         * scripts/bench.pl: Parse comments and directives.
53068         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
53069         in CPPFLAGS.
53070         ($(objpfx)bench-%.c): Remove *-ITER.
53071         * benchtests/bench-modf.c: Remove definition of ITER.
53072         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
53073         (main): Loop for DURATION seconds instead of fixed number of
53074         iterations.
53075         * scripts/bench.pl: Don't expect iterations in parameters.
53077 2013-04-29  Roland McGrath  <roland@hack.frob.com>
53079         * io/fchdir.c (__fchdir): Renamed from fchdir.
53080         (fchdir): Define as weak alias.
53082 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53084         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
53085         (ERRNO_EDOM): Likewise.
53086         (ERRNO_ERANGE): Likewise.
53087         (noErrnoTests): New variable.
53088         (init_max_error): Set errno to 0.
53089         (test_single_errno): New function.
53090         (test_errno): Likewise.
53091         (check_float_internal): Call test_errno.  Set errno to 0.
53092         (check_complex): Refer to errno tests in comment.
53093         (check_int): Call test_errno.  Set errno to 0.
53094         (check_long): Likewise.
53095         (check_bool): Likewise.
53096         (check_longlong): Likewise.
53097         (cos_test): Use ERRNO_* flags for errno tests instead of
53098         check_int.
53099         (expm1_test): Likewise.
53100         (fmod_test): Likewise.
53101         (ilogb_test): Likewise.
53102         (lgamma_test): Likewise.
53103         (pow_test): Likewise.
53104         (remainder_test): Likewise.
53105         (sin_test): Likewise.
53106         (tan_test): Likewise.
53107         (yn_test): Likewise.
53108         (initialize): Set errno to 0.
53109         (main): Print number of errno tests.
53110         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
53112 2013-04-29  Andreas Jaeger  <aj@suse.de>
53114         [BZ #15084]
53115         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
53116         and RES_USEVC.
53118         [BZ #15085]
53119         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
53120         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
53121         unimplemented.
53123         [BZ #15380]
53124         * stdlib/random.c (__initstate): Return NULL if
53125         __initstate fails.
53127         [BZ #15086]
53128         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
53129         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
53130         RES_SNGLKUPREOP.
53132 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53136 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53138         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
53139         of individual tests.
53140         (casin_test): Likewise.
53141         (casinh_test): Likewise.
53143 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
53145         [BZ #15409]
53146         * math/s_catan.c (__catan): Handle arguments with large real or
53147         imaginary part separately without squaring.
53148         * math/s_catanf.c (__catanf): Likewise.
53149         * math/s_catanh.c (__catanh): Likewise.
53150         * math/s_catanhf.c (__catanhf): Likewise.
53151         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53152         and redefine.
53153         (__catanhl): Handle arguments with large real or imaginary part
53154         separately without squaring.
53155         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53156         and redefine.
53157         (__catanl): Handle arguments with large real or imaginary part
53158         separately without squaring.
53159         * math/libm-test.inc (catan_test): Add more tests.
53160         (catanh_test): Likewise.
53161         * sysdeps/i386/fpu/libm-test-ulps: Update.
53162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53164 2013-04-27  Andreas Jaeger  <aj@suse.de>
53166         [BZ #15007]
53167         * stdlib/stdlib.h: Update guards for qecvt.
53168         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
53169         <stdlib.h>.
53171 2013-04-27  Allan McRae  <allan@archlinux.org>
53173         * sysdeps/i386/fpu/libm-test-ulps: Update.
53175 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
53177         [BZ #15406]
53178         * math/s_catan.c: Include <float.h>.
53179         (__catan): Ensure underflow exception occurs for underflowed
53180         result.
53181         * math/s_catanf.c: Include <float.h>.
53182         (__catanf): Ensure underflow exception occurs for underflowed
53183         result.
53184         * math/s_catanh.c: Include <float.h>.
53185         (__catanh): Ensure underflow exception occurs for underflowed
53186         result.
53187         * math/s_catanhf.c: Include <float.h>.
53188         (__catanhf): Ensure underflow exception occurs for underflowed
53189         result.
53190         * math/s_catanhl.c: Include <float.h>.
53191         (__catanhl): Ensure underflow exception occurs for underflowed
53192         result.
53193         * math/s_catanl.c: Include <float.h>.
53194         (__catanl): Ensure underflow exception occurs for underflowed
53195         result.
53196         * math/libm-test.inc (catan_test): Add more tests.
53197         (catanh_test): Likewise.
53199         [BZ #15405]
53200         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
53201         underflowed result.
53202         * math/s_ccoshf.c (__ccoshf): Likewise.
53203         * math/s_ccoshl.c (__ccoshl): Likewise.
53204         * math/s_csin.c (__csin): Likewise.
53205         * math/s_csinf.c (__csinf): Likewise.
53206         * math/s_csinh.c (__csinh): Likewise.
53207         * math/s_csinhf.c (__csinhf): Likewise.
53208         * math/s_csinhl.c (__csinhl): Likewise.
53209         * math/s_csinl.c (__csinl): Likewise.
53210         * math/libm-test.inc (ccos_test): Add more tests.
53211         (ccosh_test): Likewise.
53212         (csin_test): Likewise.
53213         (csinh_test): Likewise.
53215 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53217         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
53218         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
53219         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
53220         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
53221         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
53222         powerpc/power5+/fpu folders.
53223         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
53226 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53228         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53230 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
53232         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
53233         additions to variable.
53234         [$(config-machine) = x86_64] (modules-names): Likewise.
53235         ($(objpfx)tst-audit3): Remove dependency.
53236         ($(objpfx)tst-audit3.out): Likewise.
53237         ($(objpfx)tst-audit4): Likewise.
53238         ($(objpfx)tst-audit4.out): Likewise.
53239         ($(objpfx)tst-audit5): Likewise.
53240         ($(objpfx)tst-audit5.out): Likewise.
53241         ($(objpfx)tst-audit6): Likewise.
53242         ($(objpfx)tst-audit6.out): Likewise.
53243         ($(objpfx)tst-audit7): Likewise.
53244         ($(objpfx)tst-audit7.out): Likewise.
53245         (tst-audit3-ENV): Remove variable.
53246         (tst-audit4-ENV): Likewise.
53247         (tst-audit5-ENV): Likewise.
53248         (tst-audit6-ENV): Likewise.
53249         (tst-audit7-ENV): Likewise.
53250         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
53251         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
53252         addition to variable.
53253         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
53254         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
53255         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
53256         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
53257         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
53258         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
53259         tst-audit3, tst-audit4 and tst-audit5.
53260         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
53261         tst-audit6 and tst-audit7.
53262         [$(subdir) = elf] (modules-names): Add audit modules for those
53263         tests.
53264         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
53265         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
53266         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
53267         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
53268         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
53269         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
53270         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
53271         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
53272         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
53273         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
53274         [$(subdir) = elf] (tst-audit3-ENV): New variable.
53275         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
53276         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
53277         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
53278         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
53279         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
53280         Likewise.
53281         [$(subdir) = elf && $(config-cflags-avx) = yes]
53282         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
53283         [$(subdir) = elf && $(config-cflags-avx) = yes]
53284         (CFLAGS-tst-auditmod4a.c): Likewise.
53285         [$(subdir) = elf && $(config-cflags-avx) = yes]
53286         (CFLAGS-tst-auditmod4b.c): Likewise.
53287         [$(subdir) = elf && $(config-cflags-avx) = yes]
53288         (CFLAGS-tst-auditmod6b.c): Likewise.
53289         [$(subdir) = elf && $(config-cflags-avx) = yes]
53290         (CFLAGS-tst-auditmod6c.c): Likewise.
53291         [$(subdir) = elf && $(config-cflags-avx) = yes]
53292         (CFLAGS-tst-auditmod7b.c): Likewise.
53293         * elf/tst-audit3.c: Move to ...
53294         * sysdeps/x86_64/tst-audit3.c: ... here.
53295         * elf/tst-audit4.c: Move to ...
53296         * sysdeps/x86_64/tst-audit4.c: ... here.
53297         * elf/tst-audit5.c: Move to ...
53298         * sysdeps/x86_64/tst-audit5.c: ... here.
53299         * elf/tst-audit6.c: Move to ...
53300         * sysdeps/x86_64/tst-audit6.c: ... here.
53301         * elf/tst-audit7.c: Move to ...
53302         * sysdeps/x86_64/tst-audit7.c: ... here.
53303         * elf/tst-auditmod3a.c: Move to ...
53304         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
53305         * elf/tst-auditmod3b.c: Move to ...
53306         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
53307         * elf/tst-auditmod4a.c: Move to ...
53308         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
53309         * elf/tst-auditmod4b.c: Move to ...
53310         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
53311         * elf/tst-auditmod5a.c: Move to ...
53312         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
53313         * elf/tst-auditmod5b.c: Move to ...
53314         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
53315         * elf/tst-auditmod6a.c: Move to ...
53316         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
53317         * elf/tst-auditmod6b.c: Move to ...
53318         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
53319         * elf/tst-auditmod6c.c: Move to ...
53320         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
53321         * elf/tst-auditmod7a.c: Move to ...
53322         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
53323         * elf/tst-auditmod7b.c: Move to ...
53324         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
53326 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
53328         [BZ #15366]
53329         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
53330         define unconditionally.
53331         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
53332         define unconditionally.
53333         (INT8_C, INT16_C, etc.): Likewise.
53335 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
53337         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
53338         __ehdr_start with hidden visibility.
53340         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
53342 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
53344         * math/libm-test.inc (cos_test): Use accurate hex constants.
53345         (sincost_test): Likewise.
53347 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
53349         * math/libm-test.inc (catan_test): Add more tests.
53350         (catanh_test): Likewise.
53352         * math/s_catanf.c (__catanf): Use suffixed floating-point
53353         constants.
53354         * math/s_catanhf.c (__catanhf): Likewise.
53355         * math/s_catanhl.c (__catanhl): Likewise.
53356         * math/s_catanl.c (__catanl): Likewise.
53358         [BZ #15394]
53359         * math/s_catan.c (__catan): Calculate imaginary part of result
53360         with log1p not log unless computing log of number close to 0.
53361         * math/s_catanf.c (__catanf): Likewise.
53362         * math/s_catanl.c (__catanl): Likewise.
53363         * math/s_catanh.c (__catanh): Calculate real part of result with
53364         log1p not log unless computing log of number close to 0.
53365         * math/s_catanhf.c (__catanhf): Likewise.
53366         * math/s_catanhl.c (__catanhl): Likewise.
53367         * math/libm-test.inc (catan_test): Add more tests.
53368         (catanh_test): Likewise.
53369         * sysdeps/i386/fpu/libm-test-ulps: Update.
53370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53372 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53374         * benchtests/Makefile: Mention files in which fast and slow
53375         paths of math functions are implemented.
53377 2013-04-23  Roland McGrath  <roland@hack.frob.com>
53379         * sysdeps/posix/timespec_get.c: New file.
53381 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53383         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
53384         POWER.
53385         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
53386         for POWER.
53387         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
53388         powerpc/power5/fpu folders.
53389         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
53390         * benchtests/Makefile: Add modf testcase.
53391         * benchtests/bench-modf.c: New file: Benchmark test for mo
53393 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53395         [BZ #14888]
53396         * time/Makefile (tests): Add tst-strptime-whitespace.
53397         * time/strptime_l.c (get_number): Use ISSPACE.
53398         (__strptime_internal): Likewise.
53399         * time/tst-strptime-whitespace.c: New test case.
53401 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
53403         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
53404         member.
53405         (_nss_files_init): Set it here.
53407 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
53409         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
53410         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
53411         unsigned.
53413 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
53415         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
53417 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53419         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
53420         size just once.
53422 2013-04-21  David S. Miller  <davem@davemloft.net>
53424         * po/ru.po: Update Russion translation from translation project.
53426 2013-04-17  Adam Conrad  <adconrad@0c3.net>
53428         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
53429         and setfsgid.
53431 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
53433         * configure.in: Remove i386 configure warning. Remove i386 case.
53434         * configure: Regenerate.
53435         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
53436         Add example to error message.
53437         * sysdeps/i386/configure: Regenerate.
53439 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53441         * benchtests/Makefile (bench): Add cos, tan, slowcos and
53442         slowtan.
53443         * benchtests/cos-inputs: New file.
53444         * benchtests/slowcos-inputs: New file.
53445         * benchtests/slowcos.c: New file.
53446         * benchtests/slowtan-inputs: New file.
53447         * benchtests/slowtan.c: New file.
53448         * benchtests/tan-inputs: New file.
53450 2013-04-16  Roland McGrath  <roland@hack.frob.com>
53452         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
53453         considered kosher.
53455 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53457         * benchtests/Makefile: Include cppflags-iterator.mk to add
53458         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
53460         * Makefile.in (bench-clean): New target.
53461         * benchtests/Makefile (bench-clean): Likewise.
53463 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
53465         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
53467 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
53469         * stdio-common/tstdiomisc.c: Fix coding-style violation.
53471 2013-04-15  Andreas Schwab  <schwab@suse.de>
53473         * nscd/grpcache.c (cache_addgr): Properly check for short write.
53474         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53475         * nscd/pwdcache.c (cache_addpw): Likewise.
53476         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
53477         more than recsize.
53479 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53481         * benchtests/Makefile (bench): Write all output to
53482         bench-out.tmp together.
53484 2013-04-15  Andreas Schwab  <schwab@suse.de>
53486         * nscd/nscd.c (main): Don't fork again after closing files.
53488 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53490         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
53492         * benchtests/Rules (bench-deps): Collect dependencies into a
53493         single variable.  Add Makefile to dependencies.
53494         ($(objpfx)bench-%.c): Depend on bench-deps.
53496 2013-04-12  Roland McGrath  <roland@hack.frob.com>
53497             Xavier Roche  <roche+kml2@exalead.com>
53499         [BZ #15361]
53500         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
53501         just that it's a file descriptor.
53502         * manual/llio.texi (Synchronizing AIO Operations): Update description
53503         for EBADF error from aio_fsync.
53505 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53507         * Rules (bench): Move target definition...
53508         * benchtests/Makefile: ... here.
53510 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
53512         * math/libm-test.inc (cos_test): Fix PI/2 test.
53513         (sincos_test): Likewise.
53514         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53515         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
53517 2013-04-11  Andreas Schwab  <schwab@suse.de>
53519         [BZ #13988]
53520         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
53521         accept exponent character only when digits were seen.
53522         * stdio-common/Makefile (tests): Add bug26.
53523         * stdio-common/bug26.c: New file.
53525         [BZ #14293]
53526         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
53527         non-freeable.
53529 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53531         * Makeconfig (rtld-prefix): Define built linker prefix.
53532         * Rules (run-bench): Use it.
53533         * math/Makefile (run-regen-ulps): Likewise.
53535         * Rules (bench): Remove eval.
53537 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53538             Roland McGrath  <roland@hack.frob.com>
53539             Ondrej Bilka  <neleai@seznam.cz>
53541         [BZ #15346]
53542         * time/getdate.c: Include ctype.h and alloca.h.
53543         (__getdate_r): Trim leading and trailing spaces of input.
53544         * time/tst-getdate.c (tests): Add tests with leading and
53545         trailing spaces.
53547 2013-04-08  Roland McGrath  <roland@hack.frob.com>
53549         [BZ #14280]
53550         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
53551         when computing value.
53553 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53555         * math/README.libm-test (How can I generate "libm-test-ulps"?):
53556         Use testrun.sh to run libm tests.
53558         [BZ #15309]
53559         * elf/dl-open.c (dl_open_worker): memset all of seen array.
53561 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
53563         [BZ #15264]
53564         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
53566 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53568         * Makefile.in (regen-ulps): New target.
53569         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
53570         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
53571         [ifneq (no,$(PERL)] (regen-ulps): New target.
53572         [ifeq (no,$(PERL)] (regen-ulps): New target.
53573         * math/libm-test.inc (ulps_file_name): Define.
53574         (output_dir): New variable.
53575         (options): Add "output-dir" option.
53576         (parse_opt): Handle 'o' case.
53577         (main): If output_dir is non-NULL use it as a prefix
53578         otherwise use "".
53579         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
53581 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53583         [BZ #10060, #10062]
53584         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
53585         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
53586         fail configure if __sync_val_compare_and_swap is not inlined.
53587         * sysdeps/i386/configure: Regenerate.
53588         * configure.in: Build for i686 when configured for i386.
53589         * configure: Regenerate.
53590         * README: Remove i386 reference.
53592 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53594         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
53595         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53597 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53599         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
53600         (lmsnanval): New variables.
53601         (F): Add conversion tests.
53602         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
53603         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
53605         * stdio-common/tstdiomisc.c (F): Properly collect individual
53606         tests' results.
53608         [BZ #14686, #15336]
53609         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
53610         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
53611         Instead, use input NaN values or generate a qNaN by arithmetic
53612         operation.  Also fix bugs to comply with the standard.
53613         * math/libm-test.inc (remainder_test): Add more tests.
53615         [BZ #15335, #15342]
53616         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
53617         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
53618         input NaN values or generate a qNaN by arithmetic operation.
53620         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
53621         unreachable code.
53623         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
53624         definitions.
53626 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
53628         [BZ #14478]
53629         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
53630         underflowed result.
53631         * math/s_cexpf.c (__cexpf): Likewise.
53632         * math/s_cexpl.c (__cexpl): Likewise.
53633         * math/libm-test.inc (cexp_test): Add more tests.
53635 2013-04-03  Andreas Schwab  <schwab@suse.de>
53637         [BZ #15330]
53638         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
53639         order arrays from heap if bigger than alloca cutoff.
53641 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
53643         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
53644         (SNAN_TESTS_double): Refer to GCC PR56831.
53645         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
53646         GCC PR56828.
53648 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53650         * Rules (bench): Move bench.out after the run is complete.
53652         * Rules (bench): Echo currently running benchmark.
53654         * benchtests/Makefile (bench): Add atan and slowatan.
53655         * benchtests/atan-inputs: New file.
53656         * benchtests/slowatan-inputs: New file.
53657         * benchtests/slowatan.c: New file.
53659         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
53660         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
53661         its value.
53663         [BZ #15305]
53664         * sysdeps/unix/sysv/linux/kernel-features.h
53665         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
53666         __ASSUME_XFS_RESTRICTED_CHOWN.
53667         * sysdeps/unix/sysv/linux/pathconf.c
53668         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
53669         Save and restore errno.
53671 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
53673         [BZ #15327]
53674         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
53675         arguments using __kernel_casinh.
53676         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
53677         arguments using __kernel_casinhf.
53678         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
53679         arguments using __kernel_casinhl.
53680         * math/libm-test.inc (cacosh_test): Add more tests.
53681         * sysdeps/i386/fpu/libm-test-ulps: Update.
53682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53684 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53686         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
53687         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
53689         * bench/Makefile (bench): Add sin and slowsin.
53690         * benchtests/sin-inputs: New file.
53691         * benchtests/slowsin-inputs: New file.
53692         * benchtests/slowsin.c: New file.
53694         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
53695         (bench): Add slowexp and slowpow.
53696         (exp-ITER): Increase iterations.
53697         (pow-ITER): Likewise.
53698         * benchtests/exp-inputs: Change input.
53699         * benchtests/pow-inputs: Likewise.
53700         * benchtests/slowexp-inputs: New file.
53701         * benchtests/slowexp.c: New file.
53702         * benchtests/slowpow-inputs: New file.
53703         * benchtests/slowpow.c: New file.
53705 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53707         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
53708         instructions.
53709         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53710         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
53711         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53712         * benchtests/Makefile: Add rint benchtest.
53713         * benchtests/rint-inputs: Input for rint benchtest.
53715 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53717         * Versions.def (libm): Add GLIBC_2.18.
53718         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
53719         hidden libm prototypes.
53720         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
53721         * math/Makefile (libm-calls): Add s_issignaling.
53722         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
53723         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
53724         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
53725         declaration.
53726         * math/math.h [__USE_GNU] (issignaling): New macro.
53727         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
53728         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
53729         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
53730         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
53731         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
53732         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
53733         * manual/arith.texi (issignaling): New section.
53734         * manual/libm-err-tab.pl (@all_functions): Update comment.
53735         * math/gen-libm-test.pl (parse_args): Apply special handling for
53736         issignaling.
53737         * math/libm-test.inc (print_float, issignaling_test): New
53738         functions.
53739         (check_float_internal): Add issignaling checks.
53740         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
53741         default definition.
53742         * sysdeps/powerpc/math-tests.h: New file.
53743         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
53744         tests.
53745         * math/test-snan.c (TEST_FUNC): Likewise.
53747 2013-03-30  David S. Miller  <davem@davemloft.net>
53749         * po/de.po: Update from translation team.
53751 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
53753         [BZ #10357]
53754         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53755         imaginary part less than 1.0 and real part less than 0.5
53756         specially.
53757         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53758         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53759         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
53760         (cacos_test): Add more tests.
53761         (casin_test): Likewise.
53762         (casinh_test): Likewise.
53763         * sysdeps/i386/fpu/libm-test-ulps: Update.
53764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53766 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53768         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
53769         ONE with its value.
53771         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
53772         (__pow_mp): Replace ONE and MONE with their values.
53773         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53774         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
53775         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53776         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
53777         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53778         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53780         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
53782         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
53783         (__pow_mp): Replace ZERO and MZERO with their values.
53784         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53785         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53786         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53787         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53788         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53789         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
53790         (__sqr): Likewise.
53792         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
53794         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
53796 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53798         * include/stdlib.h [!SHARED] (__call_tls_dtors):
53799         Declare with __attribute__ ((weak)).
53800         * stdlib/exit.c (__libc_atexit) [!SHARED]:
53801         Call __call_tls_dtors only if it's not NULL.
53803 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53805         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
53806         didn't do it already, then set _dl_phdr and _dl_phnum based on the
53807         magic __ehdr_start linker symbol if it's defined.
53808         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
53809         them up here if it was already done.
53811         * elf/dl-support.c (_dl_phdr): Make pointer to const.
53812         (_dl_aux_init): Use const in cast when setting it.
53813         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
53814         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
53815         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
53817         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
53818         Declare them here.
53819         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
53820         * csu/libc-tls.c: Nor here.
53821         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
53823         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
53824         (__libc_message): Never call vsyslog.
53826 2013-03-28  Alan Modra  <amodra@gmail.com>
53828         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
53829         Define as empty.
53830         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
53831         Likewise.
53833 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53835         [BZ #15214]
53836         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
53837         underflow.
53838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53840 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53842         [BZ #15304]
53843         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53844         Don't add gid passed as argument.
53846         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
53848 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
53850         [BZ #15307]
53851         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53852         imaginary part between 1.0 and 1.5 and real part less than 0.5
53853         specially.
53854         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53855         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53856         * math/libm-test.inc (cacos_test): Add more tests.
53857         (casin_test): Likewise.
53858         (casinh_test): Likewise.
53859         * sysdeps/i386/fpu/libm-test-ulps: Update.
53860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53862 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53864         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
53865         constants.
53866         (norm): Likewise.
53867         (denorm): Likewise.
53868         (__dbl_mp): Likewise.
53869         (add_magnitudes): Likewise.
53870         (sub_magnitudes): Likewise.
53871         (__add): Likewise.
53872         (__sub): Likewise.
53873         (__mul): Likewise.
53874         (__sqr): Likewise.
53875         (__inv): Likewise.
53876         (__dvd): Likewise.
53878         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53879         commented code.
53880         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53881         (__dubcos): Likewise.
53882         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53883         (__ieee754_acos): Likewise.
53884         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53885         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53886         (__exp1): Likewise.
53887         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53888         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53889         (log1): Likewise.
53890         (my_log2): Likewise.
53891         (checkint): Likewise.
53892         * sysdeps/ieee754/dbl-64/e_remainder.c
53893         (__ieee754_remainder): Likewise.
53894         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53895         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
53896         (bsloww): Likewise.
53897         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53899         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53900         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
53901         MANTISSA_STORE_T to store computations on mantissa.  Use
53902         macros for rounding and division.
53903         (denorm): Likewise.
53904         (__dbl_mp): Likewise.
53905         (add_magnitudes): Likewise.
53906         (sub_magnitudes): Likewise.
53907         (__mul): Likewise.
53908         (__sqr): Likewise.
53909         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53910         powers of two in terms of TWOPOW macro.
53911         (mp_no): Make type of mantissa as MANTISSA_T.
53912         [!RADIXI]: Define RADIXI.
53913         [!TWO52]: Define TWO52.
53914         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53916 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53918         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
53919         llroundl symbol when building for PPC32.
53921 2013-03-24  Mark H Weaver  <mhw@netris.org>
53923         * manual/arith.texi (Normalization Functions): Fix prototypes for
53924         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
53926 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53928         [BZ #13889]
53929         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
53930         high value to check if expl overflow.
53931         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
53932         to check for underflow and overflow.
53933         * math/libm-test.inc: Add exp test.
53935 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
53937         [BZ #11120]
53938         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
53939         with NOT_IN_libc.
53941 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53943         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
53944         symbol.
53946 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53948         * math/gen-libm-test.pl (parse_args, special_functions): Properly
53949         wrap blocks consisting of several statements.
53951         * sysdeps/generic/math-tests.h: New file.
53952         * sysdeps/i386/fpu/math-tests.h: Likewise.
53953         * math/test-snan.c: Include it.
53954         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
53956 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53958         [BZ #15285]
53959         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
53960         (__ieee754_j0l): Do not improve calculations using cos of twice
53961         input for inputs above LDBL_MAX / 2.0L.
53962         (__ieee754_y0l): Likewise.
53963         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
53964         (__ieee754_j1l): Do not improve calculations using cos of twice
53965         input for inputs above LDBL_MAX / 2.0L.
53966         (__ieee754_y1l): Likewise.
53967         * math/libm-test.inc (j0_test): Add another test.
53968         (j1_test): Likewise.
53969         (y0_test): Likewise.
53970         (y1_test): Likewise.
53971         * sysdeps/i386/fpu/libm-test-ulps: Update.
53973 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53975         * Rules ($(objpfx)bench-%.c): Include code from a C source
53976         file.
53978 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53980         [BZ #15287]
53981         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53982         imaginary part 1.0 and real part less than 0.5 specially.
53983         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53984         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53985         * math/libm-test.inc (cacos_test): Add more tests.
53986         (casin_test): Likewise.
53987         (casinh_test): Likewise.
53988         * sysdeps/i386/fpu/libm-test-ulps: Update.
53989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53991 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53993         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
53994         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
53996 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
53998         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
53999         * config.make.in (config-cflags-sse4): Remove variable.
54000         (config-cflags-avx): Likewise.
54001         (config-cflags-sse2avx): Likewise.
54002         (config-cflags-novzeroupper): Likewise.
54003         (config-asflags-i686): Likewise.
54004         (have-mfma4): Likewise.
54005         (have-as-vis3): Likewise.
54006         (MIG): Likewise.
54007         * configure.in (MIG): Do not AC_SUBST.
54008         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
54009         (libc_cv_cc_sse4): Do not AC_SUBST.
54010         (libc_cv_cc_avx): Likewise.
54011         (libc_cv_cc_sse2avx): Likewise.
54012         (libc_cv_cc_novzeroupper): Likewise.
54013         (libc_cv_cc_fma4): Likewise.
54014         (libc_cv_as_i686): Likewise.
54015         (libc_cv_sparc_as_vis3): Likewise.
54016         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
54017         LIBC_CONFIG_VAR.
54018         (config-asflags-i686): Likewise.
54019         (config-cflags-avx): Likewise.
54020         (config-cflags-sse2avx): Likewise.
54021         (have-mfma4): Likewise.
54022         (config-cflags-novzeroupper): Likewise.
54023         * sysdeps/mach/configure.in (MIG): Likewise.
54024         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
54025         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
54026         LIBC_CONFIG_VAR.
54027         (config-cflags-avx): Likewise.
54028         (config-cflags-sse2avx): Likewise.
54029         (have-mfma4): Likewise.
54030         (config-cflags-novzeroupper): Likewise.
54031         * configure: Regenerated.
54032         * sysdeps/i386/configure: Likewise.
54033         * sysdeps/mach/configure: Likewise.
54034         * sysdeps/sparc/configure: Likewise.
54035         * sysdeps/x86_64/configure: Likewise.
54037 2013-03-20  Roland McGrath  <roland@hack.frob.com>
54039         [BZ #14812]
54040         * locale/programs/localedef.c (options): Put N_ translation marker
54041         on argument names, not just descriptions.
54043 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54045         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
54047 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
54049         [BZ #14176]
54050         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
54052 2013-03-19  Roland McGrath  <roland@hack.frob.com>
54054         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
54055         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
54056         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
54057         [!BEFORE_ABORT] (before_abort): New function.
54058         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
54059         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
54060         (writev_for_fatal): New function.
54061         (WRITEV_FOR_FATAL): New macro; call that.
54062         (backtrace_and_maps): New function.
54063         (BEFORE_ABORT): New macro; call that.
54064         (struct str_list): Type removed.
54065         (__libc_message, __libc_fatal): Functions removed.
54066         Include <sysdeps/posix/libc_fatal.c> instead.
54068 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
54070         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
54071         constants.
54072         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
54073         double constants.
54075 2013-03-19  Andreas Schwab  <schwab@suse.de>
54077         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
54078         * sysdeps/gnu/configure: Regenerate.
54080         * configure.in: Substitute libc_cv_rtlddir.
54081         * configure: Regenerate.
54082         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
54083         * Makeconfig (rtlddir, inst_rtlddir): New variables.
54084         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
54085         * elf/Makefile (install-others, CFLAGS-interp.c)
54086         (ldso_install, common-ldd-rewrite): Likewise.
54087         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
54088         $(inst_slibdir)/$(rtld-installed-name).
54089         * scripts/rellns-sh: Add -p option.
54090         * Makerules (make-shlib-link): Use rellns-sh to get relative name
54091         for source.
54093 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54095         * manual/nptl.texi: Renamed to ...
54096         * manual/threads.texi: ... this.
54097         * manual/Makefile (chapters): Update.
54099 2013-03-18  Roland McGrath  <roland@hack.frob.com>
54101         [BZ #14812]
54102         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
54103         on argument names, not just descriptions.
54104         * malloc/memusagestat.c (options): Likewise.
54105         * nss/getent.c (options): Likewise.
54107 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
54109         [BZ #14812]
54110         * iconv/iconv_prog.c (options): Put N_ translation marker
54111         on argument names, not just descriptions.
54112         * iconv/iconvconfig.c (options): Likewise.
54114 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
54116         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
54117         implementation which is faster on all x86_64 architectures.
54118         Tested on AMD, Intel Nehalem, SNB, IVB.
54119         * sysdeps/x86_64/strnlen.S: Likewise.
54121         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54122         Remove all multiarch strlen and strnlen versions.
54123         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
54124         Remove strlen and strnlen related parts.
54126         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
54127         Inline strlen part.
54128         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
54130         * sysdeps/x86_64/multiarch/strlen.S: Remove.
54131         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
54132         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
54133         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
54134         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54135         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
54137 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
54139         * manual/memory.texi (Malloc Tunable Parameters):
54140         Sort parameters alphabetically. Add comments for missing entries.
54142 2013-03-17  David S. Miller  <davem@davemloft.net>
54144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54146 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
54148         [BZ #15283]
54149         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
54150         for arguments at most half maximum finite value.
54151         * math/libm-test.inc (j0_test): Add more tests.
54152         (j1_test): Likewise.
54153         (y0_test): Likewise.
54154         (y1_test): Likewise.
54155         * sysdeps/i386/fpu/libm-test-ulps: Update.
54156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54158         [BZ #14155]
54159         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
54160         1 / x and functions P and Q for arguments above 0x1p256L.
54161         (__ieee754_y0l): Likewise.
54162         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
54163         (__ieee754_y1l): Likewise.
54164         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
54165         (j1_test): Likewise.
54166         (y0_test): Likewise.
54167         (y1_test): Likewise.
54169 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
54171         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
54172         variable.
54174 2013-03-15  Roland McGrath  <roland@hack.frob.com>
54176         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
54177         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
54178         zero since it's initialized to EXEC_PAGESIZE.
54180         * sysdeps/unix/sysv/linux/ldsodefs.h
54181         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
54182         * sysdeps/generic/ldsodefs.h: ... here.
54184 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
54186         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
54188         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
54189         math/test-snan.c.
54190         * math/test-snan.c: Renamed from
54191         sysdeps/powerpc/fpu/test-powerpc-snan.c.
54192         * math/Makefile (tests): Add test-snan.
54193         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
54194         test-powerpc-snan.
54196         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
54197         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
54198         functions.
54199         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
54200         __builtin_nan family of functions.
54201         * math/libm-test.inc (initialize): Initialize qnan_value with
54202         __builtin_nan family of functions.
54203         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
54204         Remove variables.
54205         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
54206         Remove functions.
54207         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
54208         storage class.  Initialize qNaN_var and sNaN_var with
54209         __builtin_nan and __builtin_nans families of functions,
54210         respectively.
54212         * math/libm-test.inc (acosh_test): Also test with qNaN input.
54213         (sqrt_test): Remove duplicate test with qNaN input.
54214         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
54215         (round_test, signbit_test, significand_test): Note missing +/-Inf
54216         as well as qNaN tests.
54218         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
54219         qNaN_var.  Fix a few strings, too.
54220         * math/libm-test.inc (nan_value): Rename to qnan_value.
54221         * math/gen-libm-test.pl (%beautify): Adjust to that.
54222         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
54223         * math/test-misc.c (main): Likewise.
54224         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
54225         to __qnan_bytes, and __qnan_union, respectively.
54226         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
54227         Likewise.
54228         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
54229         and lqnanval, respectively.
54230         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
54231         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
54232         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
54233         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
54235         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
54236         * math/test-misc.c (main) [__x86_64__]: Enable test for long
54237         doubles.
54239         * math/test-misc.c (main): Fix copy'n'pastos.
54240         * misc/tst-efgcvt.c (special): Likewise.
54242         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
54243         Remove declarations.
54245 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54247         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
54248         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
54249         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
54250         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
54252 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54254         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
54255         macro to return vdso values correctly in IFUNC implementations.
54256         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54257         Optimization by using IFUNC.
54259 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54260             Richard Henderson  <rth@redhat.com>
54261             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54263         * Makefile.in (bench): New target.
54264         * NEWS: Mention the benchmark framework.
54265         * Rules (bench): Likewise.
54266         (binaries-bench): Generate binaries for functions to
54267         benchmark.
54268         * benchtests/Makefile: New makefile for benchmark tests.
54269         * benchtests/bench-skeleton.c: New skeleton file for benchmark
54270         programs.
54271         * benchtests/exp-inputs: New input file for EXP function.
54272         * benchtests/pow-inputs: New input file for POW function.
54273         * scripts/bench.pl: New script to generate source files for
54274         benchmark programs.
54276 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54278         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54279         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
54280         computations on mantissa.  Use macros for rounding and
54281         division.
54282         (denorm): Likewise.
54283         (__dbl_mp): Likewise.
54284         (add_magnitudes): Likewise.
54285         (sub_magnitudes): Likewise.
54286         (__mul): Likewise.
54287         (__sqr): Likewise.
54288         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54289         powers of two in terms of TWOPOW macro.
54290         (mp_no): Make type of mantissa as MANTISSA_T.
54291         [!RADIXI]: Define RADIXI.
54292         [!TWO52]: Define TWO52.
54293         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54295         * manual/nptl.texi (cindex): Modify threads to pthreads.
54297 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
54299         * sysdeps/x86_64/preconfigure: Regenerated.
54301 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
54303         [BZ #14155]
54304         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
54305         0x1p28 and above.
54306         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
54307         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
54308         0x1p28 and above.
54309         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
54310         * math/libm-test.inc (j0_test): Do not allow one spurious
54311         underflow exception.
54312         (y1_test): Likewise.
54314 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54316         * manual/Makefile (chapters): Add nptl.
54317         * manual/debug.texi (Debugging Support): Add link to Threads
54318         chapter.
54319         * manual/nptl.texi: New file.
54321         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
54323 2013-03-14  Petr Baudis  <pasky@ucw.cz>
54325         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
54326         for non-NULL pointer before the memory validity test. Pointed
54327         out by Holger Brunck <holger.brunck@keymile.com>.
54329 2013-03-13  Andreas Schwab  <schwab@suse.de>
54331         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
54332         instead of .os.
54334 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
54336         * timezone/zic.c: Update from tzcode 2013b.
54338 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
54340         * manual/install.texi (Configuring and compiling):
54341         Mention i686 and i586.
54342         * INSTALL: Regenerate.
54344 2013-03-12  Roland McGrath  <roland@hack.frob.com>
54346         * sysdeps/init_array/elf-init.c: New file.
54347         * csu/elf-init.c
54348         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
54349         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
54351         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
54352         __gmon_start__ as global, but as static with a .preinit_array pointer.
54353         * sysdeps/init_array/gmon-start.c: New file.  Use that.
54354         * sysdeps/init_array/crti.S: New file, empty except for comments.
54355         * sysdeps/init_array/crtn.S: Likewise.
54357 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
54359         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
54360         definining bcopy.
54361         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54362         Remove Prefer_SSE_for_memop.
54363         * sysdeps/x86_64/multiarch/init-arch.h: Remove
54364         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
54365         HAS_PREFER_SSE_FOR_MEMOP.
54366         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
54367         memset-x86-64.
54368         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54369         Remove bzero, memset ifunc support.
54370         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
54371         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
54372         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54373         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54375 2013-03-11  Andreas Schwab  <schwab@suse.de>
54377         [BZ #15234]
54378         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
54379         by SHLIB_COMPAT.
54380         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
54381         (GLIBC_2.16): Remove pthread_atfork.
54383 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
54385         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
54386         (ptestcases.h): Likewise.
54388 2013-03-08  Roland McGrath  <roland@hack.frob.com>
54390         * Makeconfig ($(common-objpfx)config.status): Depend on
54391         sysdeps/*/preconfigure{,.in} too.
54393 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
54395         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
54396         (__free_hook): Use void * instead of __malloc_ptr_t.
54397         (__malloc_hook): Likewise.
54398         (__realloc_hook): Likewise.
54399         (__memalign_hook): Likewise.
54400         (__after_morecore_hook): Likewise.
54401         * malloc/arena.c (save_malloc_hook): Likewise.
54402         (save_free_hook): Likewise.
54403         * malloc/hooks.c (malloc_hook_ini): Likewise.
54404         (realloc_hook_ini): Likewise.
54405         (memalign_hook_ini): Likewise.
54406         * malloc/malloc.c (malloc_hook_ini): Likewise.
54407         (realloc_hook_ini): Likewise.
54408         (memalign_hook_ini): Likewise.
54409         (__free_hook): Likewise.
54410         (__malloc_hook): Likewise.
54411         (__realloc_hook): Likewise.
54412         (__memalign_hook): Likewise.
54413         (__libc_malloc): Likewise.
54414         (__libc_free): Likewise.
54415         (__libc_realloc): Likewise.
54416         (__libc_memalign): Likewise.
54417         (__libc_valloc): Likewise.
54418         (__libc_pvalloc): Likewise.
54419         (__libc_calloc): Likewise.
54420         (__posix_memalign): Likewise.
54421         * malloc/morecore.c (__sbrk): Likewise.
54422         (__default_morecore): Likewise.
54424         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
54426         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
54427         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
54428         __malloc_ptrdiff_t.
54430         * malloc/malloc.h (__malloc_size_t): Remove macro.
54431         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
54432         __malloc_size_t.
54433         (old_memalign_hook): Likewise.
54434         (old_realloc_hook): Likewise.
54435         (struct hdr): Likewise.
54436         (flood): Likewise.
54437         (mallochook): Likewise.
54438         (memalignhook): Likewise.
54439         (reallochook): Likewise.
54440         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
54441         (tr_old_realloc_hook): Likewise.
54442         (tr_old_memalign_hook): Likewise.
54443         (tr_mallochook): Likewise.
54444         (tr_reallochook): Likewise.
54445         (tr_memalignhook): Likewise.
54447 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54449         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
54450         default_ldbl_pack and using as default implementation.
54451         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
54452         implementation.
54453         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
54454         redundant definition.
54455         (ldbl_insert_mantissa): Likewise.
54456         (ldbl_canonicalize): Likewise.
54457         (ldbl_nearbyint): Likewise.
54458         (ldbl_pack): Rename to ldbl_pack_ppc.
54459         (ldbl_unpack): Rename to ldbl_unpack_ppc.
54460         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
54461         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
54463 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
54466         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
54467         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
54468         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
54469         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
54470         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
54471         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
54472         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
54474 2013-03-07  Andreas Jaeger  <aj@suse.de>
54476         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54477         bits/mman-linux.h.
54479 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54481         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
54482         Include mpa.h and declare __MPEXP.
54483         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
54484         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54485         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54486         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
54487         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54488         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54489         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
54491         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
54492         (__slowpow): Use long double EXPL and LOGL functions to
54493         compute POW.
54494         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54495         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54496         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
54497         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54498         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54499         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
54501         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
54502         intermediate variable to calculate exponent.
54503         (__sqr): Likewise.
54504         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54505         Likewise.
54506         (__sqr): Likewise.
54508         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
54509         [!NO__SQR]: Define __sqr.
54510         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
54511         and NO__SQR.  Remove all code except __mul and __sqr.  Include
54512         sysdeps/ieee754/dbl-64/mpa.c.
54513         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54515         [BZ #12723]
54516         * posix/Makefile (tests): Add tst-pathconf.
54517         * posix/tst-pathconf.c: New test case.
54518         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
54519         _PC_PIPE_BUF.
54520         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
54522 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
54524         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
54526 2013-03-06  Andreas Jaeger  <aj@suse.de>
54528         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
54529         definition via __MAP_ANONYMOUS.
54531         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
54532         it's not part of Linux headers.
54534         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
54535         (MAP_HUGE_MASK): Define.
54537         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54538         Define.
54539         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54540         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54541         Define.
54542         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54543         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54544         Define.
54545         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54546         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
54547         Define.
54548         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54550         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
54551         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
54552         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
54553         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
54554         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
54555         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
54557         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54558         Handle f2fs.
54560         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54561         Handle f2fs and efivarfs.
54563         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
54564         f2fs.
54566         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
54567         (EFIVARFS_MAGIC): Add.
54568         (F2FS_LINK_MAX): Add.
54570 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54572         * stdio-common/vfprintf.c: Replace __builtin_expect with
54573         __glibc_unlikely.
54575 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
54577         [BZ #13550]
54578         * sysdeps/generic/bp-sym.h: Remove file.
54579         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
54580         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
54581         <bp-sym.h> and <bp-asm.h>.
54582         (__longjmp): Don't use BP_SYM.
54583         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
54584         and <bp-asm.h>.
54585         (memcpy): Don't use BP_SYM.
54586         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
54587         <bp-sym.h> and <bp-asm.h>.
54588         (memcpy): Don't use BP_SYM.
54589         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
54590         <bp-asm.h>.
54591         (memcpy): Don't use BP_SYM.
54592         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
54593         <bp-asm.h>.
54594         (memset): Don't use BP_SYM.
54595         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54596         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54597         (__bzero): Don't use BP_SYM.
54598         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54599         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54600         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
54601         <bp-sym.h> and <bp-asm.h>.
54602         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54603         pointers.
54604         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
54605         <bp-sym.h> and <bp-asm.h>.
54606         (memcpy): Don't use BP_SYM.
54607         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
54608         <bp-sym.h> and <bp-asm.h>.
54609         (memset): Don't use BP_SYM.
54610         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54611         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54612         (__bzero): Don't use BP_SYM.
54613         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54614         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54615         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
54616         <bp-sym.h> and <bp-asm.h>.
54617         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54618         pointers.
54619         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
54620         <bp-sym.h> and <bp-asm.h>.
54621         (memcpy): Don't use BP_SYM.
54622         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
54623         <bp-sym.h> and <bp-asm.h>.
54624         (memset): Don't use BP_SYM.
54625         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54626         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54627         (__bzero): Don't use BP_SYM.
54628         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54629         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54630         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
54631         <bp-sym.h> and <bp-asm.h>.
54632         (__memchr): Don't use BP_SYM.
54633         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
54634         <bp-sym.h> and <bp-asm.h>.
54635         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54636         pointers.
54637         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
54638         <bp-sym.h> and <bp-asm.h>.
54639         (memcpy): Don't use BP_SYM.
54640         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
54641         <bp-sym.h> and <bp-asm.h>.
54642         (__mempcpy): Don't use BP_SYM.
54643         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
54644         <bp-sym.h> and <bp-asm.h>.
54645         (__memrchr): Don't use BP_SYM.
54646         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
54647         <bp-sym.h> and <bp-asm.h>.
54648         (memset): Don't use BP_SYM.
54649         (__bzero): Likewise.
54650         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
54651         <bp-sym.h> and <bp-asm.h>.
54652         (__rawmemchr): Don't use BP_SYM.
54653         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
54654         <bp-sym.h> and <bp-asm.h>.
54655         (__STRCMP): Don't use BP_SYM.
54656         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
54657         <bp-sym.h> and <bp-asm.h>.
54658         (strchr): Don't use BP_SYM.
54659         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
54660         <bp-sym.h> and <bp-asm.h>.
54661         (__strchrnul): Don't use BP_SYM.
54662         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
54663         <bp-sym.h> and <bp-asm.h>.
54664         (strlen): Don't use BP_SYM.
54665         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
54666         <bp-sym.h> and <bp-asm.h>.
54667         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54668         pointers.
54669         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
54670         <bp-sym.h> and <bp-asm.h>.
54671         (__strnlen): Don't use BP_SYM.
54672         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
54673         <bp-sym.h> and <bp-asm.h>.
54674         (__GI__setjmp): Don't use BP_SYM.
54675         (_setjmp): Likewise.
54676         (__sigsetjmp): Likewise.
54677         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
54678         (L(start_addresses)): Don't use BP_SYM.
54679         (_start): Likewise.
54680         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
54681         <bp-asm.h>.
54682         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
54683         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
54684         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54685         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54686         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
54687         <bp-asm.h>.
54688         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
54689         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
54690         about bounded pointers.
54691         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54692         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54693         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
54694         <bp-asm.h>.
54695         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54696         about bounded pointers.  Remove GKM FIXME comments.
54697         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54698         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
54699         <bp-asm.h>.
54700         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
54701         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
54702         Remove GKM FIXME comments.
54703         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54704         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54705         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
54706         <bp-asm.h>.
54707         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54708         about bounded pointers.  Remove GKM FIXME comment.
54709         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
54710         and <bp-asm.h>.
54711         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54712         pointers.
54713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
54714         <bp-sym.h> and <bp-asm.h>.
54715         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
54717         <bp-sym.h> and <bp-asm.h>.
54718         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54719         comment.
54721 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54723         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
54724         call free(NULL).
54726 2013-03-05  David S. Miller  <davem@davemloft.net>
54728         * po/es.po: Update from translation team.
54730 2013-03-05  Andreas Jaeger  <aj@suse.de>
54732         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
54733         <bits/mman-linux.h>.
54734         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54735         is fine.
54736         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
54737         <bits/mman-linux.h> to end of file.
54738         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54739         is fine.
54740         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
54741         <bits/mman-linux.h> to end of file.
54742         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54743         is fine.
54744         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
54745         <bits/mman-linux.h> to end of file.
54747         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
54748         (MCL_CURRENT, MCL_FUTURE): Define here.
54750 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54752         [BZ #15232]
54753         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
54754         attribute_hidden.
54755         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54757 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54759         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
54760         fourth parameter needed for rt_sigprocmask syscall.
54761         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
54762         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54763         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
54764         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54765         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54766         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
54768 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
54770         [BZ #13550]
54771         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
54772         comment about bounded pointers.
54773         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
54774         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
54776 2013-03-04  Andreas Jaeger  <aj@suse.de>
54778         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
54779         common definitions.
54781         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
54782         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
54783         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
54784         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54785         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54786         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54788 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54790         [BZ #15055]
54791         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
54792         __ieee754_sqrl instead of __sqrl.
54794 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
54796         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
54797         * sysdeps/powerpc/fpu_control.h: ... here.
54798         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
54799         * sysdeps/powerpc/bits/fenvinline.h: ... here.
54800         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
54801         * sysdeps/powerpc/bits/mathinline.h: ... here.
54803 2013-03-01  Roland McGrath  <roland@hack.frob.com>
54805         * elf/dl-hwcaps.c (_dl_important_hwcaps):
54806         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
54807         to just [NEED_DL_SYSINFO_DSO].
54808         * elf/dl-support.c: Likewise.
54809         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
54810         * elf/rtld.c (dl_main): Likewise.
54811         * elf/setup-vdso.h (setup_vdso): Likewise.
54812         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
54813         * sysdeps/unix/sysv/linux/dl-sysdep.c
54814         (_dl_discover_osversion): Likewise.
54816 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
54818         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
54819         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54821 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
54823         * NEWS: Mention libm performance improvements and non-x86 PI
54824         futex support.
54826         * csu/libc-start.c (__pthread_initialize_minimal): Change
54827         function arguments.
54828         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54830 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
54832         [BZ #13550]
54833         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
54834         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
54835         <bp-sym.h> and <bp-asm.h>.
54836         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54837         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
54838         and <bp-asm.h>.
54839         (memcpy): Don't use BP_SYM.
54840         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
54841         <bp-asm.h>.
54842         (__mpn_add_n): Don't use BP_SYM.
54843         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
54844         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
54845         and <bp-asm.h>.
54846         (__mpn_addmul_1): Don't use BP_SYM.
54847         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54848         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
54849         <bp-sym.h>.
54850         (_setjmp): Don't use BP_SYM.
54851         (__novmx_setjmp): Likewise.
54852         (__GI__setjmp): Likewise.
54853         (__vmx_setjmp): Likewise.
54854         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
54855         <bp-sym.h>.
54856         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
54857         (__bzero): Don't use BP_SYM.
54858         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54859         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54860         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
54861         <bp-sym.h> and <bp-asm.h>.
54862         (memcpy): Don't use BP_SYM.
54863         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
54864         <bp-sym.h> and <bp-asm.h>.
54865         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54866         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
54867         <bp-sym.h> and <bp-asm.h>.
54868         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54869         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
54870         <bp-asm.h>.
54871         (__mpn_lshift): Don't use BP_SYM.
54872         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54873         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
54874         <bp-asm.h>.
54875         (memset): Don't use BP_SYM.
54876         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54877         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54878         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54879         <bp-asm.h>.
54880         (__mpn_mul_1): Don't use BP_SYM.
54881         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54882         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54883         <bp-sym.h> and <bp-asm.h>.
54884         (memcmp): Don't use BP_SYM.
54885         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54886         <bp-sym.h> and <bp-asm.h>.
54887         (memcpy): Don't use BP_SYM.
54888         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54889         <bp-sym.h> and <bp-asm.h>.
54890         (memset): Don't use BP_SYM.
54891         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
54892         <bp-sym.h> and <bp-asm.h>.
54893         (strncmp): Don't use BP_SYM.
54894         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
54895         <bp-sym.h> and <bp-asm.h>.
54896         (memcpy): Don't use BP_SYM.
54897         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
54898         <bp-sym.h> and <bp-asm.h>.
54899         (memset): Don't use BP_SYM.
54900         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
54901         <bp-sym.h> and <bp-asm.h>.
54902         (__memchr): Don't use BP_SYM.
54903         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
54904         <bp-sym.h> and <bp-asm.h>.
54905         (memcmp): Don't use BP_SYM.
54906         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
54907         <bp-sym.h> and <bp-asm.h>.
54908         (memcpy): Don't use BP_SYM.
54909         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
54910         <bp-sym.h> and <bp-asm.h>.
54911         (__mempcpy): Don't use BP_SYM.
54912         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
54913         <bp-sym.h> and <bp-asm.h>.
54914         (__memrchr): Don't use BP_SYM.
54915         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
54916         <bp-sym.h> and <bp-asm.h>.
54917         (memset): Don't use BP_SYM.
54918         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
54919         <bp-sym.h> and <bp-asm.h>.
54920         (__rawmemchr): Don't use BP_SYM.
54921         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
54922         <bp-sym.h> and <bp-asm.h>.
54923         (__STRCMP): Don't use BP_SYM.
54924         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
54925         <bp-sym.h> and <bp-asm.h>.
54926         (strchr): Don't use BP_SYM.
54927         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
54928         <bp-sym.h> and <bp-asm.h>.
54929         (__strchrnul): Don't use BP_SYM.
54930         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
54931         <bp-sym.h> and <bp-asm.h>.
54932         (strlen): Don't use BP_SYM.
54933         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
54934         <bp-sym.h> and <bp-asm.h>.
54935         (strncmp): Don't use BP_SYM.
54936         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
54937         <bp-sym.h> and <bp-asm.h>.
54938         (__strnlen): Don't use BP_SYM.
54939         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
54940         <bp-asm.h>.
54941         (__mpn_rshift): Don't use BP_SYM.
54942         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54943         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
54944         <bp-sym.h> and <bp-asm.h>.
54945         (__sigsetjmp): Don't use BP_SYM.
54946         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
54947         (L(start_addresses)): Don't use BP_SYM.
54948         (_start): Likewise.
54949         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
54950         <bp-asm.h>.
54951         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
54952         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54953         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54954         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
54955         <bp-asm.h>.
54956         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
54957         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54958         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54959         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
54960         <bp-asm.h>.
54961         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54962         comments.
54963         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54964         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
54965         <bp-asm.h>.
54966         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
54967         FIXME comments.
54968         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54969         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54970         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
54971         <bp-asm.h>.
54972         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54973         comment.
54974         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
54975         and <bp-asm.h>.
54976         (strncmp): Don't use BP_SYM,
54977         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
54978         <bp-asm.h>.
54979         (__mpn_sub_n): Don't use BP_SYM.
54980         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54981         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
54982         and <bp-asm.h>.
54983         (__mpn_submul_1): Don't use BP_SYM.
54984         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
54986         <bp-sym.h> and <bp-asm.h>.
54987         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
54989         <bp-sym.h> and <bp-asm.h>.
54990         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54991         comment.
54993 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54995         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
54996         Use ZK to minimize writes to Z.
54997         (sub_magnitudes): Simplify code a bit.
54998         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
54999         Use ZK to minimize writes to Z.
55000         (sub_magnitudes): Simplify code a bit.
55002 2013-02-27  Roland McGrath  <roland@hack.frob.com>
55004         * csu/gmon-start.c: Add special exception to license text.
55006 2013-02-27  Richard Henderson  <rth@redhat.com>
55008         * scripts/config.guess: Update from config.git.
55009         * scripts/config.sub: Likewise.
55011 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55013         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
55015         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
55017         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
55019         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
55021         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
55023 2013-02-26  Roland McGrath  <roland@hack.frob.com>
55025         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
55026         [$(build-shared = yes].
55028 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55030         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
55031         (__mul): Reduce iterations for calculating mantissa.
55033         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
55034         MPTWO.
55035         (__mpranred): Likewise.
55037         [BZ #15160]
55038         * malloc/memusagestat.c (main): Draw graphs for heap and stack
55039         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
55041 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
55043         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
55044         Define __attribute__.
55046 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55048         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
55049         unused.
55050         * posix/regex_internal.h (__attribute): Remove.
55051         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
55052         (re_string_context_at): Likewise.
55053         (bitset_not): Use __attribute__ and mark function as possibly
55054         unused.
55055         (bitset_merge): Likewise.
55056         (bitset_mask): Likewise.
55057         (re_string_char_size_at): Likewise.
55058         (re_string_wchar_at): Likewise.
55059         (re_string_elem_size_at): Likewise.
55061 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55063         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
55064         code.
55065         (cc32): Likewise.
55067         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
55068         (__acr): Likewise.
55069         (__cpy): Likewise.
55070         (norm): Likewise.
55071         (denorm): Likewise.
55072         (__dbl_mp): Likewise.
55073         (add_magnitudes): Likewise.
55074         (sub_magnitudes): Likewise.
55075         (__mul): Likewise.
55076         (__inv): Likewise.
55078         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
55079         style.
55081         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
55082         style.
55084         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
55085         code.
55087         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
55088         up changes with default code.
55089         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
55090         Likewise.
55092 2013-02-24  Allan McRae  <allan@archlinux.org>
55094         * manual/socket.texi (The Internet Namespace): Order menu items
55095         to match that in the file.
55097         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
55098         node listing of the info page menu.
55100 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
55102         [BZ #13550]
55103         * sysdeps/i386/bp-asm.h: Remove file.
55104         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55105         (PARMS): Do not use macros from bp-asm.h.
55106         (S1): Likewise.
55107         (S2): Likewise.
55108         (SIZE): Likewise.
55109         (__mpn_add_n): Do not use BP_SYM
55110         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
55111         "bp-asm.h".
55112         (PARMS): Do not use macros from bp-asm.h.
55113         (S1): Likewise.
55114         (SIZE): Likewise.
55115         (__mpn_addmul_1): Do not use BP_SYM
55116         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
55117         "bp-asm.h".
55118         (PARMS): Do not use macros from bp-asm.h.
55119         (SIGMSK): Likewise.
55120         (_setjmp): Likewise.  Do not use BP_SYM.
55121         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
55122         "bp-asm.h".
55123         (PARMS): Do not use macros from bp-asm.h.
55124         (SIGMSK): Likewise.
55125         (setjmp): Likewise.  Do not use BP_SYM.
55126         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
55127         "bp-asm.h".
55128         (PARMS): Do not use macros from bp-asm.h.
55129         (__frexp): Do not use BP_SYM.
55130         (frexp): Likewise.
55131         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
55132         "bp-asm.h".
55133         (PARMS): Do not use macros from bp-asm.h.
55134         (__frexpf): Do not use BP_SYM.
55135         (frexpf): Likewise.
55136         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
55137         "bp-asm.h".
55138         (PARMS): Do not use macros from bp-asm.h.
55139         (__frexpl): Do not use BP_SYM.
55140         (frexpl): Likewise.
55141         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
55142         "bp-asm.h".
55143         (PARMS): Do not use macros from bp-asm.h.
55144         (__remquo): Do not use BP_SYM.
55145         (remquo): Likewise.
55146         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
55147         "bp-asm.h".
55148         (PARMS): Do not use macros from bp-asm.h.
55149         (__remquof): Do not use BP_SYM.
55150         (remquof): Likewise.
55151         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
55152         "bp-asm.h".
55153         (PARMS): Do not use macros from bp-asm.h.
55154         (__remquol): Do not use BP_SYM.
55155         (remquol): Likewise.
55156         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
55157         "bp-asm.h".
55158         (PARMS): Do not use macros from bp-asm.h.
55159         (DEST): Likewise.
55160         (SRC): Likewise.
55161         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
55162         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
55163         "bp-asm.h".
55164         (PARMS): Do not use macros from bp-asm.h.
55165         (strlen): Do not use BP_SYM.
55166         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
55167         "bp-asm.h".
55168         (PARMS): Do not use macros from bp-asm.h.
55169         (S1): Likewise.
55170         (S2): Likewise.
55171         (SIZE): Likewise.
55172         (__mpn_add_n): Do not use BP_SYM.
55173         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
55174         "bp-asm.h".
55175         (PARMS): Do not use macros from bp-asm.h.
55176         (S1): Likewise.
55177         (SIZE): Likewise.
55178         (__mpn_addmul_1): Do not use BP_SYM.
55179         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
55180         weak_alias.
55181         (bzero): Likewise.
55182         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
55183         "bp-asm.h".
55184         (PARMS): Do not use macros from bp-asm.h.
55185         (S): Likewise.
55186         (SIZE): Likewise.
55187         (__mpn_lshift): Do not use BP_SYM.
55188         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
55189         "bp-asm.h".
55190         (PARMS): Do not use macros from bp-asm.h.
55191         (DEST): Likewise.
55192         (SRC): Likewise.
55193         (LEN): Likewise.
55194         (memcpy): Likewise.  Do not use BP_SYM.
55195         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
55196         libc_hidden_def and weak_alias.
55197         (mempcpy): Do not use BP_SYM in weak_alias.
55198         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
55199         "bp-asm.h".
55200         (PARMS): Do not use macros from bp-asm.h.
55201         (DEST): Likewise.
55202         (LEN): Likewise.
55203         [!BZERO_P] (CHR): Likewise.
55204         (memset): Likewise.  Do not use BP_SYM.
55205         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
55206         "bp-asm.h".
55207         (PARMS): Do not use macros from bp-asm.h.
55208         (S1): Likewise.
55209         (SIZE): Likewise.
55210         (__mpn_mul_1): Do not use BP_SYM.
55211         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
55212         "bp-asm.h".
55213         (PARMS): Do not use macros from bp-asm.h.
55214         (S): Likewise.
55215         (SIZE): Likewise.
55216         (__mpn_rshift): Do not use BP_SYM.
55217         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
55218         "bp-asm.h".
55219         (PARMS): Do not use macros from bp-asm.h.
55220         (STR): Likewise.
55221         (CHR): Likewise.
55222         (strchr): Likewise.  Do not use BP_SYM.
55223         (index): Do not use BP_SYM in weak_alias.
55224         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
55225         "bp-asm.h".
55226         (PARMS): Do not use macros from bp-asm.h.
55227         (DEST): Likewise.
55228         (SRC): Likewise.
55229         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
55230         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
55231         "bp-asm.h".
55232         (PARMS): Do not use macros from bp-asm.h.
55233         (strlen): Do not use BP_SYM.
55234         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
55235         "bp-asm.h".
55236         (PARMS): Do not use macros from bp-asm.h.
55237         (S1): Likewise.
55238         (S2): Likewise.
55239         (SIZE): Likewise.
55240         (__mpn_sub_n): Do not use BP_SYM.
55241         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
55242         "bp-asm.h".
55243         (PARMS): Do not use macros from bp-asm.h.
55244         (S1): Likewise.
55245         (SIZE): Likewise.
55246         (__mpn_submul_1): Do not use BP_SYM.
55247         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
55248         "bp-asm.h".
55249         (PARMS): Do not use macros from bp-asm.h.
55250         (S1): Likewise.
55251         (S2): Likewise.
55252         (SIZE): Likewise.
55253         (__mpn_add_n): Do not use BP_SYM.
55254         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
55255         weak_alias.
55256         (bzero): Likewise.
55257         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
55258         "bp-asm.h".
55259         (PARMS): Do not use macros from bp-asm.h.
55260         (BLK2): Likewise.
55261         (LEN): Likewise.
55262         (memcmp): Do not use BP_SYM.
55263         (bcmp): Do not use BP_SYM in weak_alias.
55264         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
55265         "bp-asm.h".
55266         (PARMS): Do not use macros from bp-asm.h.
55267         (DEST): Likewise.
55268         (SRC): Likewise.
55269         (LEN): Likewise.
55270         (memcpy): Likewise.  Do not use BP_SYM.
55271         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
55272         "bp-asm.h".
55273         (PARMS): Do not use macros from bp-asm.h.
55274         (DEST): Likewise.
55275         (SRC): Likewise.
55276         (LEN): Likewise.
55277         (memmove): Likewise.  Do not use BP_SYM.
55278         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
55279         "bp-asm.h".
55280         (PARMS): Do not use macros from bp-asm.h.
55281         (DEST): Likewise.
55282         (SRC): Likewise.
55283         (LEN): Likewise.
55284         (__mempcpy): Likewise.  Do not use BP_SYM.
55285         (mempcpy): Do not use BP_SYM in weak_alias.
55286         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
55287         "bp-asm.h".
55288         (PARMS): Do not use macros from bp-asm.h.
55289         (DEST): Likewise.
55290         (LEN): Likewise.
55291         [!BZERO_P] (CHR): Likewise.
55292         (memset): Likewise.  Do not use BP_SYM.
55293         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
55294         "bp-asm.h".
55295         (PARMS): Do not use macros from bp-asm.h.
55296         (STR2): Likewise.
55297         (strcmp): Do not use BP_SYM.
55298         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
55299         "bp-asm.h".
55300         (PARMS): Do not use macros from bp-asm.h.
55301         (STR): Likewise.
55302         (DELIM): Likewise.
55303         [USE_AS_STRTOK_R] (SAVE): Likewise.
55304         (FUNCTION): Likewise.  Do not use BP_SYM.
55305         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
55306         aliases.
55307         (strtok_r): Likewise.
55308         (__GI___strtok_r): Likewise.
55309         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55310         (PARMS): Do not use macros from bp-asm.h.
55311         (S): Likewise.
55312         (SIZE): Likewise.
55313         (__mpn_lshift): Do not use BP_SYM.
55314         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55315         (PARMS): Do not use macros from bp-asm.h.
55316         (STR): Likewise.
55317         (CHR): Likewise.
55318         (__memchr): Do not use BP_SYM.
55319         (memchr): Do not use BP_SYM in weak_alias.
55320         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55321         (PARMS): Do not use macros from bp-asm.h.
55322         (BLK2): Likewise.
55323         (LEN): Likewise.
55324         (memcmp): Do not use BP_SYM.
55325         (bcmp): Do not use BP_SYM in weak_alias.
55326         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
55327         (PARMS): Do not use macros from bp-asm.h.
55328         (S1): Likewise.
55329         (SIZE): Likewise.
55330         (__mpn_mul_1): Do not use BP_SYM.
55331         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
55332         "bp-asm.h".
55333         (PARMS): Do not use macros from bp-asm.h.
55334         (STR): Likewise.
55335         (CHR): Likewise.
55336         (__rawmemchr): Do not use BP_SYM.
55337         (rawmemchr): Do not use BP_SYM in weak_alias.
55338         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55339         (PARMS): Do not use macros from bp-asm.h.
55340         (S): Likewise.
55341         (SIZE): Likewise.
55342         (__mpn_rshift): Do not use BP_SYM.
55343         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55344         (PARMS): Do not use macros from bp-asm.h.
55345         (SIGMSK): Likewise.
55346         (__sigsetjmp): Likewise.  Do not use BP_SYM.
55347         * sysdeps/i386/start.S: Do not include "bp-sym.h".
55348         (_start): Do not use BP_SYM.
55349         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
55350         (PARMS): Do not use macros from bp-asm.h.
55351         (DEST): Likewise.
55352         (SRC): Likewise.
55353         (__stpcpy): Likewise.  Do not use BP_SYM.
55354         (stpcpy): Do not use BP_SYM in weak_alias.
55355         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
55356         "bp-asm.h".
55357         (PARMS): Do not use macros from bp-asm.h.
55358         (DEST): Likewise.
55359         (SRC): Likewise.
55360         (LEN): Likewise.
55361         (__stpncpy): Likewise.  Do not use BP_SYM.
55362         (stpncpy): Do not use BP_SYM in weak_alias.
55363         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55364         (PARMS): Do not use macros from bp-asm.h.
55365         (STR): Likewise.
55366         (CHR): Likewise.
55367         (strchr): Likewise.  Do not use BP_SYM.
55368         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
55369         "bp-asm.h".
55370         (PARMS): Do not use macros from bp-asm.h.
55371         (STR): Likewise.
55372         (CHR): Likewise.
55373         (__strchrnul): Likewise.  Do not use BP_SYM.
55374         (strchrnul): Do not use BP_SYM in weak_alias.
55375         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
55376         "bp-asm.h".
55377         (PARMS): Do not use macros from bp-asm.h.
55378         (STOP): Likewise.
55379         (strcspn): Do not use BP_SYM.
55380         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
55381         "bp-asm.h".
55382         (PARMS): Do not use macros from bp-asm.h.
55383         (STR): Likewise.
55384         (STOP): Likewise.
55385         (strpbrk): Likewise.  Do not use BP_SYM.
55386         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
55387         "bp-asm.h".
55388         (PARMS): Do not use macros from bp-asm.h.
55389         (STR): Likewise.
55390         (CHR): Likewise.
55391         (strrchr): Likewise.  Do not use BP_SYM.
55392         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
55393         (PARMS): Do not use macros from bp-asm.h.
55394         (SKIP): Likewise.
55395         (strspn): Do not use BP_SYM.
55396         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
55397         (PARMS): Do not use macros from bp-asm.h.
55398         (STR): Likewise.
55399         (DELIM): Likewise.
55400         (SAVE): Likewise.
55401         (FUNCTION): Likewise.  Do not use BP_SYM.
55402         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
55403         aliases.
55404         (strtok_r): Likewise.
55405         (__GI___strtok_r): Likewise.
55406         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55407         (PARMS): Do not use macros from bp-asm.h.
55408         (S1): Likewise.
55409         (S2): Likewise.
55410         (SIZE): Likewise.
55411         (__mpn_sub_n): Do not use BP_SYM.
55412         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
55413         "bp-asm.h".
55414         (PARMS): Do not use macros from bp-asm.h.
55415         (S1): Likewise.
55416         (SIZE): Likewise.
55417         (__mpn_submul_1): Do not use BP_SYM.
55418         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
55419         <bp-sym.h>.
55420         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
55421         and <bp-asm.h>.
55422         (PARMS): Do not use macros from bp-asm.h.
55423         (FLAGS): Likewise.
55424         (PTID): Likewise.
55425         (TLS): Likewise.
55426         (CTID): Likewise.
55427         (__clone): Do not use BP_SYM.
55428         (clone): Do not use BP_SYM in weak_alias.
55429         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
55430         and <bp-asm.h>.
55431         (PARMS): Do not use macros from bp-asm.h.
55432         (LEN): Likewise.
55433         (__mmap64): Do not use BP_SYM.
55434         (mmap64): Do not use BP_SYM in weak_alias.
55435         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55436         <bp-sym.h> and <bp-asm.h>.
55437         (PARMS): Do not use macros from bp-asm.h.
55438         (__posix_fadvise64_l64): Do not use BP_SYM.
55439         * sysdeps/unix/sysv/linux/i386/semtimedop.S
55440         (PARMS): Do not use macros from bp-asm.h.
55441         (NSOPS): Likewise.
55442         (semtimedop): Do not use BP_SYM.
55443         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
55444         and <bp-asm.h>.
55446 2013-02-21  Allan McRae  <allan@archlinux.org>
55448         * manual/message.texi (Charset conversion in gettext):
55449         Move @end statement to beginning of line.
55451 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55453         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
55454         static.
55455         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55456         Likewise.
55458         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
55459         (denorm): Likewise.
55460         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
55461         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
55463 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55465         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
55466         tail-call to the resolved function if pltexit isn't needed.
55468 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55470         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
55471         or Y being zero as being unlikely.
55472         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55473         Likewise.
55475 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
55477         * manual/nss.texi (System Databases and Name Service Switch):
55478         Remove frobnicate @pxref.
55480 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55482         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55483         __attribute__ ((unused)) to __attribute__ ((__unused__)).
55485 2013-02-20  Petr Machata  <pmachata@redhat.com>
55487         * elf/elf.h (R_ARM_TARGET1): New macro.
55488         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
55489         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
55490         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
55491         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
55492         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
55493         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
55494         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
55495         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
55496         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
55497         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
55498         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
55499         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
55500         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
55501         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
55502         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
55503         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
55504         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
55505         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
55506         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
55507         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
55508         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
55509         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
55510         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
55511         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
55512         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
55513         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
55514         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
55515         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
55516         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
55517         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
55518         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
55519         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
55520         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
55521         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
55522         (R_ARM_THM_GOT_BREL12): Likewise.
55523         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
55524         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
55525         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
55526         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
55527         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
55528         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
55529         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
55530         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
55531         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
55533 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55535         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55536         __attribute_used__ to __attribute__ ((unused)).
55538 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55540         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
55541         powerpc mpa.c.
55542         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
55543         comment formatting.
55544         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
55546 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
55548         [BZ #13550]
55549         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
55550         Remove macro.
55551         (ENTER): Remove both macro definitions.
55552         (LEAVE): Likewise.
55553         (CHECK_BOUNDS_LOW): Likewise.
55554         (CHECK_BOUNDS_HIGH): Likewise.
55555         (CHECK_BOUNDS_BOTH): Likewise.
55556         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
55557         (RETURN_BOUNDED_POINTER): Likewise.
55558         (RETURN_NULL_BOUNDED_POINTER): Likewise.
55559         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
55560         (POP_ERRNO_LOCATION_RETURN): Likewise.
55561         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
55562         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55563         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
55564         macros.
55565         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55566         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
55567         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
55568         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
55569         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
55570         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
55571         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
55572         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
55573         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
55574         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
55575         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
55576         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
55577         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55578         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
55579         removed macros.
55580         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55581         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
55582         macros.
55583         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55584         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
55585         * sysdeps/i386/i586/memset.S (memset): Likewise.
55586         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
55587         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55588         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
55589         macros.
55590         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55591         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
55592         Change uses of L(2) to L(out).
55593         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
55594         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
55595         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
55596         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55597         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
55598         removed macros.
55599         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55600         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
55601         macros.
55602         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55603         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
55604         (RETURN): Do not use macro LEAVE.
55605         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
55606         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
55607         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
55608         * sysdeps/i386/i686/memset.S (memset): Likewise.
55609         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
55610         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
55611         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55612         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
55613         Likewise.
55614         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55615         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
55616         L(1_2) and L(1_3) into L(1).
55617         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55618         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
55619         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55620         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
55621         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55622         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
55623         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
55624         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55625         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
55626         macros.
55627         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
55628         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55629         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
55630         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
55631         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
55632         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55633         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
55634         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
55635         * sysdeps/i386/strcspn.S (strcspn): Likewise.
55636         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
55637         * sysdeps/i386/strrchr.S (strrchr): Likewise.
55638         * sysdeps/i386/strspn.S (strspn): Likewise.
55639         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
55640         conditional code.
55641         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55642         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
55643         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55644         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
55645         L(1_3) into L(1_1).
55646         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
55647         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55648         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
55649         macros.
55650         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55652 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
55654         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
55655         macro.
55657 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55659         * math/atest-exp.c (exp_mpn): Remove ROUND.
55660         * math/atest-exp2.c (exp_mpn): Likewise.
55661         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
55663         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
55664         * stdlib/tst-tls-atexit-lib.c: Likewise.
55665         * stdlib/tst-tls-atexit.c: Likewise.
55667 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55669         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
55670         and __attribute_alloc_size__.
55672 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55674         * include/programs/xmalloc.h: Change __attribute_alloc_size to
55675         __attribute_alloc_size__.
55676         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
55677         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
55679 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55681         * include/programs/xmalloc.h: New file.
55682         * catgets/gencat.c: Include it.
55683         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
55684         * elf/pldd.c: Likewise.
55685         * iconv/iconv_charmap.c: Likewise.
55686         * iconv/iconvconfig.c: Likewise.
55687         * iconv/strtab.c: Likewise.
55688         * locale/programs/locale.c: Likewise.
55689         * locale/programs/localedef.h: Likewise.
55690         * locale/programs/simple-hash.c: Likewise.
55691         * nscd/nscd.h: Likewise.
55692         * nss/makedb.c: Likewise.
55693         * sysdeps/generic/ldconfig.h: Likewise.
55695 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55697         * Versions.def: Add GLIBC_2.18.
55698         * include/link.h (struct link_map): New member l_tls_dtor_count.
55699         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
55700         (__call_tls_dtors): Likewise.
55701         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
55702         __cxa_thread_atexit_impl.
55703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55704         Likewise.
55705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55706         Likewise.
55707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55708         Likewise.
55709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55710         Likewise.
55711         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
55713         Likewise.
55714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
55715         Likewise.
55716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55717         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55718         Likewise.
55719         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
55720         (tests): Add test case tst-tls-atexit.
55721         (modules-names): Add shared library for tst-tls-atexit.
55722         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
55723         (GLIBC_PRIVATE): Add __call_tls_dtors.
55724         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
55725         for libstdc++.
55726         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
55727         * stdlib/tst-tls-atexit.c: New test case.
55728         * stdlib/tst-tls-atexit-lib.c: New test case.
55730         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
55732         * elf/Versions (ld): Add _dl_find_dso_for_object.
55733         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
55734         * elf/dl-open.c (_dl_find_dso_for_object): New function.
55735         (dl_open_worker): Use _dl_find_dso_for_object.
55736         * elf/dl-sym.c (do_sym): Likewise.
55737         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
55739 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55741         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
55742         Syntactic changes only.
55743         (_dl_runtime_profile): Do a tail-call to the resolved function.
55745 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
55747         [BZ #13550]
55748         * sysdeps/x86_64/bp-asm.h: Remove file.
55749         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
55750         <bp-sym.h> and <bp-asm.h>.
55751         (__clone): Do not use BP_SYM.
55752         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
55753         <bp-sym.h> and <bp-asm.h>.
55754         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55755         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
55756         "bp-asm.h".
55757         (_setjmp): Do not use BP_SYM.
55758         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
55759         "bp-asm.h".
55760         (setjmp): Do not use BP_SYM.
55761         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
55762         libc_hidden_def.
55763         (mempcpy): Do not use BP_SYM in weak_alias.
55764         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
55765         "bp-asm.h".
55766         (strchr): Do not use BP_SYM.
55767         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
55768         "bp-asm.h".
55769         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
55770         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
55771         (_start): Do not use BP_SYM.
55772         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
55773         "bp-asm.h".
55774         (strcat): Do not use BP_SYM.
55775         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
55776         "bp-asm.h".
55777         (STRCMP): Do not use BP_SYM.
55778         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
55779         "bp-asm.h".
55780         (STRCPY): Do not use BP_SYM.
55781         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
55782         "bp-asm.h".
55783         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
55784         "bp-asm.h".
55785         (FUNCTION): Do not use BP_SYM.
55786         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
55787         weak_alias.
55788         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
55790 2013-02-17  Andreas Jaeger  <aj@suse.de>
55792         * time/Versions: Sort entries.
55793         * string/Versions: Likewise.
55794         * resolv/Versions: Likewise.
55795         * posix/Versions: Likewise.
55796         * iconv/Versions: Likewise.
55797         * elf/Versions: Likewise.
55798         * wcsmbs/Versions: Likewise.
55800 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55802         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
55803         loop termination condition.
55805         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
55806         variable to calculate EZ.
55807         (__sqr): Likewise.
55809         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
55810         the lower precision input.
55812 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
55814         [BZ #13550]
55815         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
55816         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
55817         (run-via-rtld-prefix): Do not handle %-bp tests.
55818         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
55819         (all-object-suffixes): Remove .ob.
55820         (bppfx): Remove variable.
55821         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
55822         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
55823         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
55824         [$(build-bounded) = yes] (libtype.ob): Likewise.
55825         * Makerules (elide-routines.ob): Remove variable.
55826         (do-tests-clean): Do not handle *-bp.out.
55827         (common-mostlyclean): Do not handle *-bp and *-bp.out.
55828         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
55829         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
55830         (tests): Do not include $(tests-bp.out).
55831         (xtests): Do not include $(xtests-bp.out).
55832         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
55833         [$(build-bounded) = yes] ($(addprefix
55834         $(objpfx),$(binaries-bounded))): Remove rule.
55835         ($(objpfx)%-bp.out): Remove rule.
55836         * config.make.in (build-bounded): Remove variable.
55837         * crypt/Makefile [$(build-bounded) = yes]
55838         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
55839         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
55840         append to variable.
55841         [$(build-bounded) = yes] (install-lib): Likewise.
55842         [$(build-bounded) = yes] (generated): Likewise.
55843         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55844         Remove rule.
55845         * intl/Makefile [$(build-bounded) = yes]
55846         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
55847         * math/Makefile [$(build-bounded) = yes]
55848         ($(tests:%=$(objpfx)%-bp): Likewise.
55849         * misc/Makefile [$(build-bounded) = yes]
55850         ($(objpfx)tst-tsearch-bp): Likewise.
55851         * nptl/Makeconfig (bounded-thread-library): Remove variable.
55852         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
55853         Remove dependency.
55854         * string/Makefile (o-objects.ob): Remove variable.
55855         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
55856         (CFLAGS-.ob): Remove variable.
55857         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
55858         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
55859         both definitions of variable.
55860         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55861         (ASFLAGS-.ob): Remove variable.
55863 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
55865         [BZ #13550]
55866         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
55867         Remove __BOUNDED_POINTERS__ from condition.
55868         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
55869         * string/bits/string2.h [!__NO_STRING_INLINES &&
55870         !__BOUNDED_POINTERS__]: Likewise.
55871         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
55872         Likewise.
55873         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
55874         Remove conditional code.
55875         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
55876         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
55877         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
55878         condition.
55880         [BZ #13550]
55881         * csu/libc-start.c: Do not include <bp-sym.h>.
55882         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55883         * elf/dl-open.c: Do not include <bp-sym.h>.
55884         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55885         * math/fegetenv.c: Do not include <bp-sym.h>.
55886         (fegetenv): Do not use BP_SYM in versioned symbols.
55887         * nptl/sysdeps/pthread/bits/libc-lockP.h
55888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55889         <bp-sym.h>.
55890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55891         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
55892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55893         (__pthread_mutex_destroy): Likewise.
55894         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55895         (__pthread_mutex_lock): Likewise.
55896         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55897         (__pthread_mutex_trylock): Likewise.
55898         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55899         (__pthread_mutex_unlock): Likewise.
55900         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55901         (__pthread_mutexattr_init): Likewise.
55902         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55903         (__pthread_mutexattr_destroy): Likewise.
55904         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55905         (__pthread_mutexattr_settype): Likewise.
55906         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55907         (__pthread_rwlock_init): Likewise.
55908         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55909         (__pthread_rwlock_destroy): Likewise.
55910         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55911         (__pthread_rwlock_rdlock): Likewise.
55912         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55913         (__pthread_rwlock_tryrdlock): Likewise.
55914         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55915         (__pthread_rwlock_wrlock): Likewise.
55916         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55917         (__pthread_rwlock_trywrlock): Likewise.
55918         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55919         (__pthread_rwlock_unlock): Likewise.
55920         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55921         (__pthread_key_create): Likewise.
55922         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55923         (__pthread_setspecific): Likewise.
55924         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55925         (__pthread_getspecific): Likewise.
55926         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
55927         Likewise.
55928         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55929         (_pthread_cleanup_push_defer): Likewise.
55930         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55931         (_pthread_cleanup_pop_restore): Likewise.
55932         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55933         (pthread_setcancelstate): Likewise.
55934         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
55935         <bp-sym.h>.
55936         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
55937         (memchr): Do not use BP_SYM in weak_alias.
55938         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
55939         (fegetenv): Do not use BP_SYM in versioned symbols.
55940         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
55941         (fesetenv): Do not use BP_SYM in versioned symbols.
55942         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55943         (feupdateenv): Do not use BP_SYM in versioned symbols.
55944         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55945         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55946         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
55947         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
55948         (open64): Do not use BP_SYM in weak_alias.
55949         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
55950         (fegetenv): Do not use BP_SYM in versioned symbols.
55951         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
55952         (fesetenv): Do not use BP_SYM in versioned symbols.
55953         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55954         (feupdateenv): Do not use BP_SYM in versioned symbols.
55955         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
55956         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
55957         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
55958         (feraiseexcept): Do not use BP_SYM in versioned symbols.
55959         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55960         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55961         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
55962         <bp-sym.h>.
55963         (__libc_start_main): Do not use BP_SYM.
55965 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55967         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
55968         redundant return line.
55969         (norm): Likewise.
55970         (denorm): Likewise.
55971         (dbl_mp): Likewise.
55972         (sub_magnitudes): Likewise.
55973         (__add): Likewise.
55974         (__sub): Likewise.
55975         (__mul): Likewise.
55976         (__inv): Likewise.
55977         (__dvd): Likewise.
55978         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
55979         (norm): Likewise.
55980         (denorm): Likewise.
55981         (dbl_mp): Likewise.
55982         (sub_magnitudes): Likewise.
55983         (__add): Likewise.
55984         (__sub): Likewise.
55985         (__mul): Likewise.
55986         (__inv): Likewise.
55987         (__dvd): Likewise.
55989         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
55990         instead of __mul.
55991         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55992         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
55993         (cc32): Likewise.
55995         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
55996         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
55997         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
55998         of __mul for squares.
55999         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
56000         function
56001         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
56002         Likewise.
56003         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
56004         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56006 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
56008         [BZ #13550]
56009         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
56010         code.
56011         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
56012         prototype or function definition.  Rename ubp_* variables and
56013         parameters.  Remove argv definitions conditional on
56014         [__BOUNDED_POINTERS__].
56015         * debug/backtrace.c (__backtrace): Do not use __unbounded.
56016         * elf/dl-runtime.c (_dl_fixup): Likewise.
56017         * include/set-hooks.h (RUN_HOOK): Likewise.
56018         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
56019         definition.
56020         * string/strcpy.c (strcpy): Do not use __unbounded.
56021         * sysdeps/generic/frame.h (struct layout): Likewise.
56022         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
56023         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
56024         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
56025         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
56026         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
56027         (__backtrace): Likewise.
56028         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
56029         use __ptrvalue.
56030         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
56031         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
56032         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
56033         Likewise.
56034         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
56035         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
56036         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
56037         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56038         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
56039         Do not use __unbounded.
56040         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
56041         Rename __unboundedrlimits parameter to rlimits in prototype.
56042         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
56043         Do not use __unbounded.
56044         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
56045         not use __ptrvalue.
56046         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56047         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
56048         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56049         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
56050         __ptrvalue or __unbounded.
56051         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
56052         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
56053         use __unbounded.
56054         (__new_msgctl): Do not use __ptrvalue.
56055         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
56056         __unbounded.
56057         (__libc_msgrcv): Do not use __ptrvalue.
56058         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
56059         startup_info): Do not use __unbounded.
56060         (__libc_start_main): Likewise.  Rename ubp_* variables and
56061         parameters.  Remove argv definitions conditional on
56062         [__BOUNDED_POINTERS__].
56063         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
56064         __ptrvalue.
56065         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
56066         use __unbounded.
56067         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
56068         or __ptrvalue.
56069         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
56070         use __unbounded.
56071         (__new_shmctl): Do not use __ptrvalue.
56072         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
56073         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
56074         Likewise.
56075         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
56076         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
56077         (__libc_sigaction): Likewise.
56078         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
56079         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
56080         Likewise.
56081         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56083 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
56085         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
56087         * string/mempcpy.c: Implement by calling memcpy.
56089 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56091         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
56093         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
56094         evaluation.
56096         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
56097         values in the mantissa.
56099         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
56100         minimize writes to Z.
56101         (sub_magnitudes): Simplify code a bit.
56103 2013-02-12  Roland McGrath  <roland@hack.frob.com>
56105         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
56106         from the message.  The linker prefixes all warnings with that already.
56108 2013-02-12  Andreas Schwab  <schwab@suse.de>
56110         [BZ #15078]
56111         * posix/regexec.c (extend_buffers): Add parameter min_len.
56112         (check_matching): Pass minimum needed length.
56113         (clean_state_log_if_needed): Likewise.
56114         (get_subexp): Likewise.
56115         * posix/Makefile (tests): Add bug-regex34.
56116         (bug-regex34-ENV): Define.
56117         * posix/bug-regex34.c: New file.
56119         [BZ #11561]
56120         * posix/regcomp.c (parse_bracket_exp): When looking up collating
56121         elements compare against the byte sequence of it, not its name.
56122         * posix/Makefile (tests): Add bug-regex35.
56123         (bug-regex35-ENV): Define.
56124         * posix/bug-regex35.c: New file.
56126 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56128         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
56129         comment.
56130         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
56131         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
56132         (CHECK_EOL): Add undef.
56134 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
56136         * bits/stdlib-bsearch.h: New file.
56137         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
56138         * stdlib/stdlib.h: Likewise.
56140 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56142         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
56143         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
56144         declaration.
56145         * manual/search.texi (Array Search Function): Add missing const in
56146         lfind prototype.
56147         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
56148         declaration to use rlim_t.
56149         (Basic Scheduling Functions): Remove erroneous const from
56150         sched_getparam prototype.  Remove erroneous * from
56151         sched_get_priority_max and sched_get_priority_min prototypes.
56152         (Resource Usage): Fix summary @comment on vtimes to refer to
56153         sys/vtimes.h rather than vtimes.h.
56154         Add missing *s in vtimes prototype.
56155         (Limits on Resources): Fix ulimit prototype to return long int.
56156         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
56157         prototypes to use long int rather than double.
56158         (BSD Random): Fix initstate and setstate to use char *, not void *.
56159         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
56160         prototype to make second argument 'struct aiocb64 *const[]'.
56161         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
56162         (Status of AIO Operations): Remove erroneous const in aio_return and
56163         aio_return64 prototypes.
56164         (Synchronizing I/O): Fix sync prototype to return void.
56165         * manual/startup.texi (Suboptions): Remove an erroneous const in
56166         getsubopt prototype.
56167         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
56168         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
56169         use size_t rather than int.
56170         (Scanning All Users): Likewise for getpwent_r.
56171         (Setting Groups): Add missing const to setgroups prototype.
56172         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
56173         * manual/socket.texi (Host Names): Fix gethostbyaddr and
56174         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
56175         'const void *' rather than 'const char *'.
56176         (Host Address Functions): Likewise for inet_ntop.
56177         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
56178         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
56179         ssize_t for return value.
56180         (Sending Data): Likewise for send, sendto, sendmsg.
56181         (Socket Option Functions): Add a missing const in setsockopt prototype.
56182         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
56183         use wchar_t for the argument.
56184         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
56185         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
56186         take no arguments.
56187         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
56188         double/float/long double for second argument.
56189         Fix return types of significand, significandf, significandl.
56190         * manual/filesys.texi (Setting Permissions): Use mode_t for second
56191         argument in fchmod prototype.
56192         (File Owner): Use uid_t and gid_t in fchown prototype.
56193         (File Times): Add const to utimes, futimes, and lutimes prototypes.
56194         (Making Special Files): Use mode_t and dev_t in mknod prototype.
56195         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
56196         use 'const struct dirent **' as argument types to CMP function pointer
56197         argument.
56198         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
56199         (File Times): Fix summary magic @comment for struct utimbuf and utime
56200         to refer to utime.h, not time.h.
56201         * manual/string.texi (Argz Functions): Add missing const in
56202         argz_extract and argz_next prototypes.
56203         (Finding Tokens in a String): Likewise for basename.
56204         (String/Array Comparison): Fix typo in wcscasecmp prototype.
56205         (Copying and Concatenation): Fix typo in wmemmove prototype.
56206         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
56207         (Signal Stack): Remove erroneous const in sigstack prototype.
56208         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
56209         prototype.
56210         (Simple Calendar Time): Likewise for stime.
56211         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
56212         prototype.
56213         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
56214         say sys/sysctl.h instead.
56215         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
56216         and vsyslog prototypes.
56218 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56220         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
56221         Remove.
56223 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56225         * misc/sys/mman.h: Fix typo in mremap comment.
56227 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56229         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
56230         the '\0' terminator.
56232 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56234         [BZ #13550]
56235         * debug/segfault.c: Don't include <bp-checks.h>.
56236         * sysdeps/generic/bp-checks.h: Remove file.
56237         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
56238         (__GETDENTS): Don't use CHECK_N.
56239         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
56240         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
56241         (__getgroups): Don't use CHECK_N.
56242         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
56243         (setgroups): Don't use CHECK_N.
56244         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
56245         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
56246         (__libc_msgrcv): Don't use CHECK_N.
56247         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
56248         (__libc_msgsnd): Don't use CHECK_N.
56249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
56250         <bp-checks.h>.
56251         (__libc_pread): Don't use CHECK_N.
56252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
56253         include <bp-checks.h>.
56254         (__libc_pread64): Don't use CHECK_N.
56255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
56256         include <bp-checks.h>.
56257         (__libc_pwrite): Don't use CHECK_N.
56258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
56259         include <bp-checks.h>.
56260         (__libc_pwrite64): Don't use CHECK_N.
56261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
56262         <bp-checks.h>.
56263         (__libc_pread): Don't use CHECK_N.
56264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
56265         include <bp-checks.h>.
56266         (__libc_pread64): Don't use CHECK_N.
56267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
56268         include <bp-checks.h>.
56269         (__libc_pwrite): Don't use CHECK_N.
56270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
56271         include <bp-checks.h>.
56272         (__libc_pwrite64): Don't use CHECK_N.
56273         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
56274         (do_pread): Don't use CHECK_N.
56275         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
56276         (do_pread64): Don't use CHECK_N.
56277         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
56278         (do_pwrite): Don't use CHECK_N.
56279         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
56280         (do_pwrite64): Don't use CHECK_N.
56281         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
56282         (__libc_readv): Don't use CHECK_N.
56283         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
56284         (semop): Don't use CHECK_N.
56285         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
56286         <bp-checks.h>.
56287         (semtimedop): Don't use CHECK_N.
56288         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
56289         (__libc_pread): Don't use CHECK_N.
56290         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
56291         <bp-checks.h>.
56292         (__libc_pread64): Don't use CHECK_N.
56293         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
56294         <bp-checks.h>.
56295         (__libc_pwrite): Don't use CHECK_N.
56296         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
56297         <bp-checks.h>.
56298         (__libc_pwrite64): Don't use CHECK_N.
56299         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
56300         <bp-checks.h>.
56301         (__libc_msgrcv): Don't use CHECK_N.
56302         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
56303         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
56304         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
56305         (__libc_writev): Don't use CHECK_N.
56307 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56309         * string/strcpy.c: Removed unused variable.
56311         * Makeconfig (+sysdep-includes): Define with := rather than =.
56312         Use an existing include/ subdir of each sysdeps dir before it.
56314 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56316         * nscd/connection.c (register_traced_file): Comment function.
56317         [HAVE_INOTIFY] (union __inev): Define.
56318         [HAVE_INOTIFY] (inotify_check_files): New function.
56319         [HAVE_INOTIFY] (clear_db_cache): Likewise.
56320         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
56321         clear_db_cache.
56322         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
56324 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56326         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
56327         loaded if not already and that a failure is permanent.
56329 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56331         [BZ #15006]
56332         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
56333         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
56335 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56337         [BZ #13550]
56338         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
56339         (CHECK_1_NULL_OK): Likewise.
56340         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
56341         (__fxstat): Do not use CHECK_1.
56342         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
56343         <bp-checks.h>.
56344         (___fxstat64): Do not use CHECK_1.
56345         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
56346         <bp-checks.h>.
56347         (__fxstatat): Do not use CHECK_1.
56348         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
56349         <bp-checks.h>.
56350         (__fxstatat64): Do not use CHECK_1.
56351         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
56352         <bp-checks.h>.
56353         (__fxstat): Do not use CHECK_1.
56354         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
56355         <bp-checks.h>.
56356         (__fxstatat): Do not use CHECK_1.
56357         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56358         <bp-checks.h>.
56359         (__getresgid): Do not use CHECK_1.
56360         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56361         <bp-checks.h>.
56362         (__getresuid): Do not use CHECK_1.
56363         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
56364         <bp-checks.h>.
56365         (__lxstat): Do not use CHECK_1.
56366         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56367         <bp-checks.h>.
56368         (__old_msgctl): Do not use CHECK_1.
56369         (__new_msgctl): Likewise.
56370         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
56371         <bp-checks.h>.
56372         (__new_setrlimit): Do not use CHECK_1.
56373         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56374         <bp-checks.h>.
56375         (__old_shmctl): Do not use CHECK_1.
56376         (__new_shmctl): Likewise.
56377         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
56378         <bp-checks.h>.
56379         (__xstat): Do not use CHECK_1.
56380         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
56381         (__lxstat): Do not use CHECK_1.
56382         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
56383         <bp-checks.h>.
56384         (___lxstat64): Do not use CHECK_1.
56385         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
56386         (__old_msgctl): Do not use CHECK_1.
56387         (__new_msgctl): Likewise.
56388         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
56389         <bp-checks.h>.
56390         (__gettimeofday): Do not use CHECK_1.
56391         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
56392         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
56393         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
56394         <bp-checks.h>.
56395         (__gettimeofday): Do not use CHECK_1.
56396         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
56397         (__old_shmctl): Do not use CHECK_1_NULL_OK.
56398         (__new_shmctl): Do not use CHECK_1.
56399         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
56400         <bp-checks.h>.
56401         (do_sigtimedwait): Do not use CHECK_1.
56402         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
56403         <bp-checks.h>.
56404         (do_sigwaitinfo): Do not use CHECK_1.
56405         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
56406         <bp-checks.h>.
56407         (msgctl): Do not use CHECK_1.
56408         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
56409         <bp-checks.h>.
56410         (shmctl): Do not use CHECK_1.
56411         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
56412         (ustat): Do not use CHECK_1.
56413         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
56414         <bp-checks.h>.
56415         (__fxstat): Do not use CHECK_1.
56416         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
56417         <bp-checks.h>.
56418         (__fxstatat): Do not use CHECK_1.
56419         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
56420         <bp-checks.h>.
56421         (__lxstat): Do not use CHECK_1.
56422         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
56423         <bp-checks.h>.
56424         (__xstat): Do not use CHECK_1.
56425         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
56426         (__xstat): Do not use CHECK_1.
56427         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
56428         (___xstat64): Do not use CHECK_1.
56430         [BZ #13550]
56431         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
56432         definitions.
56433         (CHECK_BOUNDS_HIGH): Likewise.
56434         * string/strcpy.c: Do not include <bp-checks.h>.
56435         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
56437 2013-02-07  Roland McGrath  <roland@hack.frob.com>
56439         * nscd/nscd-client.h (__nscd_drop_map_ref):
56440         Add __attribute__ ((unused)).
56441         * nis/nss-nisplus.h (niserr2nss): Likewise.
56443         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
56444         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
56446         * csu/libc-tls.c (init_static_tls, init_slotinfo):
56447         Remove inline keyword.
56448         * include/rounding-mode.h (round_away): Likewise.
56449         * libio/wfileops.c (adjust_wide_data): Likewise.
56450         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
56451         (__m128i_strloadu_tolower): Likewise.
56452         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
56453         (__m128i_strloadu_tolower): Likewise.
56454         * time/mktime.c (ydhms_diff): Likewise.
56455         * locale/elem-hash.h (elem_hash): Likewise.
56456         * locale/setlocale.c (setdata): Likewise.
56457         * posix/regex_internal.h (re_string_char_size_at): Likewise.
56458         (re_string_wchar_at): Likewise.
56459         (bitset_not, bitset_merge, bitset_mask): Likewise.
56460         [!(__GNUC__ > 3)] (inline): Remove macro.
56461         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
56462         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
56463         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
56464         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
56465         * string/memcmp.c (memcmp_bytes): Likewise.
56466         * locale/programs/locarchive.c (compute_hashval): Likewise.
56467         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
56468         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
56469         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
56470         * nss/getent.c (print_rpc, print_protocols): Likewise.
56471         (print_passwd, print_group, print_aliases): Likewise.
56472         * nis/nss-nisplus.h (niserr2nss): Likewise.
56473         * nscd/connections.c (restart_p): Likewise.
56474         Change return type to bool.
56476 2013-02-05  Roland McGrath  <roland@hack.frob.com>
56478         * Makeconfig (all-Depend-files): Add existing
56479         $(sorted-subdirs:=/Depend) files.
56480         (all-subdirs): Remove nss.
56481         * sysdeps/unix/inet/Subdirs: Add it here instead.
56482         * hesiod/Depend: New file.
56484         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
56485         instead of calling alloca.
56487         * io/lseek.c (__lseek): Rename to __libc_lseek.
56488         Define __lseek as an alias.
56490         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
56492 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
56494         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
56495         else clause and remove check for non-standard endianness.
56497 2013-02-04  David S. Miller  <davem@davemloft.net>
56499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56501 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
56503         [BZ #13550]
56504         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
56505         (__ubp_memchr): Remove prototype.
56506         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
56507         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56508         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
56509         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56510         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
56511         Remove alias.
56512         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
56513         (__ubp_memchr): Likewise.
56514         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
56515         (__ubp_memchr): Likewise.
56516         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
56517         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
56518         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
56519         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
56520         CHECK_STRING.
56521         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56522         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
56523         (__getcwd): Do not use CHECK_STRING.
56524         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56525         <bp-checks.h>.
56526         (__real_chown): Do not use CHECK_STRING.
56527         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
56528         <bp-checks.h>.
56529         (fchownat): Do not use CHECK_STRING.
56530         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
56531         CHECK_STRING.
56532         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56533         <bp-checks.h>.
56534         (__lchown): Do not use CHECK_STRING.
56535         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56536         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56537         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56538         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
56539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56540         include <bp-checks.h>.
56541         (truncate64): Do not use CHECK_STRING.
56542         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56543         <bp-checks.h>.
56544         (__real_chown): Do not use CHECK_STRING.
56545         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56546         <bp-checks.h>.
56547         (__lchown): Do not use CHECK_STRING.
56548         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56549         <bp-checks.h>.
56550         (__chown): Do not use CHECK_STRING.
56551         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
56552         <bp-checks.h>.
56553         (truncate64): Do not use CHECK_STRING.
56554         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
56555         Likewise.
56556         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
56557         (__xmknod): Do not use CHECK_STRING.
56558         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
56559         <bp-checks.h>.
56560         (__xmknodat): Do not use CHECK_STRING.
56561         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56562         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
56564 2013-02-04  Andreas Schwab  <schwab@suse.de>
56566         [BZ #14142]
56567         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
56568         * include/netdb.h: Likewise for h_errno.
56569         * elf/tst-stackguard1.c: Include <tls.h>.
56571 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
56573         * elf/link.h (struct link_map): Extend the l_addr comment.
56574         * include/link.h (struct link_map): Likewise.
56576 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
56578         [BZ #13550]
56579         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
56580         (BOUNDED_1): Remove macro.
56581         * debug/backtrace.c: Don't include <bp-checks.h>.
56582         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
56583         (__backtrace): Likewise.
56584         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
56585         <bp-checks.h>.
56586         (__backtrace): Don't use BOUNDED_1.
56587         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
56588         <bp-checks.h>.
56589         (__backtrace): Don't use BOUNDED_1.
56590         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
56591         (__backtrace): Don't use BOUNDED_1.
56592         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
56593         (shmat): Don't use BOUNDED_N.
56595 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
56597         [BZ #13550]
56598         * sysdeps/generic/bp-start.h: Remove file.
56599         * csu/libc-start.c: Don't include <bp-start.h>.
56600         (LIBC_START_MAIN): Set up __environ directly instead of using
56601         INIT_ARGV_and_ENVIRON.
56602         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
56603         <bp-start.h>.
56605         [BZ #13550]
56606         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
56607         definitions.
56608         (CHECK_FCNTL): Likewise.
56609         (CHECK_N_PAGES): Likewise.
56611         [BZ #13550]
56612         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
56613         definitions.
56614         (CHECK_SIGSET_NULL_OK): Likewise.
56615         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
56616         <bp-checks.h>.
56617         (sigpending): Don't use CHECK_SIGSET.
56618         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
56619         <bp-checks.h>.
56620         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56621         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
56622         <bp-checks.h>.
56623         (do_sigsuspend): Don't use CHECK_SIGSET.
56624         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
56625         use CHECK_SIGSET.
56626         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
56627         (do_sigwait): Don't use CHECK_SIGSET.
56628         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
56629         use CHECK_SIGSET.
56630         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
56631         include <bp-checks.h>.
56632         (sigpending): Don't use CHECK_SIGSET.
56633         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
56634         include <bp-checks.h>.
56635         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56636         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
56637         <bp-checks.h>.
56638         (sigpending): Don't use CHECK_SIGSET.
56639         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
56640         <bp-checks.h>.
56641         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56643         [BZ #13550]
56644         * sysdeps/generic/bp-semctl.h: Remove file.
56645         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
56646         <bp-checks.h> and <bp-semctl.h>.
56647         (__old_semctl): Don't use CHECK_SEMCTL.
56648         (__new_semctl): Likewise.
56649         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
56650         and <bp-semctl.h>.
56651         (__old_semctl): Don't use CHECK_SEMCTL.
56652         (__new_semctl): Likewise.
56653         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
56654         <bp-checks.h> and <bp-semctl.h>.
56655         (__old_semctl): Don't use CHECK_SEMCTL.
56656         (__new_semctl): Likewise.
56657         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
56658         <bp-checks.h> and <bp-semctl.h>.
56659         (semctl): Don't use CHECK_SEMCTL.
56661         [BZ #13550]
56662         * Makerules (elide-bp-thunks): Remove variable.
56663         (elide-routines.oS): Don't use $(elide-bp-thunks).
56664         (elide-routines.os): Likewise.
56665         (elide-routines.o): Likewise.
56666         (elide-routines.op): Likewise.
56667         (elide-routines.og): Likewise.
56668         (objects): Don't use $(bp-thunks).
56669         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
56670         include.
56671         (common-generated): Do not add s-proto-bp.d.
56672         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
56673         (int): Likewise.
56674         (typ): Likewise.
56675         Do not generate makefile rules for bounded-pointer thunks.
56676         * sysdeps/generic/bp-thunks.h: Remove file.
56677         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
56678         * sysdeps/unix/s-proto-bp.S: Likewise.
56680         [BZ #15062]
56681         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
56682         parts of result separately when argument is not close to line from
56683         -i to i and one part of argument is small.
56684         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56685         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56686         * math/libm-test.inc (cacos_test): Add more tests.
56687         (casin_test): Likewise.
56688         (casinh_test): Likewise.
56689         * sysdeps/i386/fpu/libm-test-ulps: Update.
56690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56692 2013-01-31  David S. Miller  <davem@davemloft.net>
56694         * po/de.po: Update from translation team.
56696 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
56698         * time/tzfile.c: Include stdint.h for SIZE_MAX.
56700 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
56702         * configure.in (_AC_PROG_CC_C89): New definition.
56703         * configure: Regenerate.
56705         * configure.in (AC_PROG_CPP): New definition.
56706         * configure: Regenerate.
56708 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56710         * debug/tst-backtrace.h: New file.
56711         * debug/tst-backtrace2.c: Include tst-backtrace.h.
56712         (ret): Remove variable.
56713         (x): Likewise.
56714         (FAIL): Remove macro.
56715         (NO_INLINE): Likewise.
56716         (fn1): Use match function instead of strstr.
56717         * debug/tst-backtrace3.c: Include tst-backtrace.h.
56718         (ret): Remove variable.
56719         (x): Likewise.
56720         (FAIL): Remove macro.
56721         (NO_INLINE): Likewise.
56722         (fn): Use match function instead of strstr.
56723         * debug/tst-backtrace4.c: Include tst-backtrace.h.
56724         (ret): Remove variable.
56725         (x): Likewise.
56726         (FAIL): Remove macro.
56727         (NO_INLINE): Likewise.
56728         (handle_signal): Use match function instead of strstr.
56729         * debug/tst-backtrace5.c: Include tst-backtrace.h.
56730         (ret): Remove variable.
56731         (x): Likewise.
56732         (FAIL): Remove macro.
56733         (NO_INLINE): Likewise.
56734         (handle_signal): Use match function instead of strstr.
56736 2013-01-23  Roland McGrath  <roland@hack.frob.com>
56738         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
56740 2013-01-23  David S. Miller  <davem@davemloft.net>
56742         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
56743         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
56744         argument of CAS if possible.
56745         * sysdeps/sparc/sparc64/bits/atomic.h
56746         (__arch_compare_and_exchange_val_32_acq): Likewise.
56747         (__arch_compare_and_exchange_val_64_acq): Likewise.
56749 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
56751         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
56752         * sysdeps/posix/ulimit.c: ... this.
56753         Include <limits.h>.
56754         * sysdeps/unix/bsd/ulimit.c: Remove file.
56756 2013-01-23  Adam Conrad  <adconrad@0c3.net>
56758         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
56759         (LDFLAGS-tst-array5): Likewise.
56761 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56763         [BZ #15036]
56764         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
56765         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
56766         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
56767         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
56769 2013-01-21  David S. Miller  <davem@davemloft.net>
56771         * sysdeps/sparc/backtrace.c: New file.
56772         * sysdeps/sparc/sparc32/backtrace.h: New file.
56773         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
56774         * sysdeps/sparc/sparc64/backtrace.h: New file.
56775         * sysdeps/sparc/sparc64/backtrace.c: Delete.
56776         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
56777         -funwind-tables.
56779 2013-01-21  Andreas Schwab  <schwab@suse.de>
56781         [BZ #15020]
56782         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
56783         closed its stdout.
56785 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
56787         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
56788         "mpa2.h".
56789         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56791 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
56792             Mark Mitchell  <mark@codesourcery.com>
56793             Tom de Vries  <tom@codesourcery.com>
56794             Paul Pluzhnikov  <ppluzhnikov@google.com>
56796         * debug/tst-backtrace2.c: New file.
56797         * debug/tst-backtrace3.c: Likewise.
56798         * debug/tst-backtrace4.c: Likewise.
56799         * debug/tst-backtrace5.c: Likewise.
56800         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
56801         (CFLAGS-tst-backtrace3.c): Likewise.
56802         (CFLAGS-tst-backtrace4.c): Likewise.
56803         (CFLAGS-tst-backtrace5.c): Likewise.
56804         (LDFLAGS-tst-backtrace2): Likewise.
56805         (LDFLAGS-tst-backtrace3): Likewise.
56806         (LDFLAGS-tst-backtrace4): Likewise.
56807         (LDFLAGS-tst-backtrace5): Likewise.
56808         (tests): Add new tests tst-backtrace2, tst-backtrace3,
56809         tst-backtrace4 and tst-backtrace5.
56811 2013-01-18  Anton Blanchard  <anton@samba.org>
56812             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56814         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
56815         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
56816         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
56817         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
56818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56819         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
56820         "+r" and remove output regs list as redundant.  Add explicit inline
56821         asm to specify register of return val to work around compiler codegen
56822         bug.  Remove (int) cast on return value.  Add return type parameter to
56823         use in macro so that this macro does not truncate return value for
56824         64-bit values.
56825         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
56826         pass to INTERNAL_VSYSCALL_NCS.
56827         (INLINE_VSYSCALL): Add 'long int' as return type to
56828         INTERNAL_VSYSCALL_NCS macro invocation.
56829         (INTERNAL_VSYSCALL): Add 'long int' as return type to
56830         INTERNAL_VSYSCALL_NCS macro invocation.
56831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56833 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56835         [BZ #14496]
56836         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
56837         Fix application of SIMD FP exception mask.
56839         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56840         mp_no from a power of two.
56841         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
56842         __mpexp_twomm1.  Use __pow_mp.
56844         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
56845         multiplication.
56847 2013-01-17  David S. Miller  <davem@davemloft.net>
56849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56851 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56853         [BZ #15023]
56854         * include/complex.h: Condition contents on [!_COMPLEX_H].
56855         (__kernel_casinhf): New prototype.
56856         (__kernel_casinh): Likewise.
56857         (__kernel_casinhl): Likewise.
56858         * math/Makefile (libm_calls): Add k_casinh.
56859         * math/k_casinh.c: New file.
56860         * math/k_casinhf.c: Likewise.
56861         * math/k_casinhl.c: Likewise.
56862         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
56863         finite nonzero arguments.
56864         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
56865         finite nonzero arguments.
56866         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
56867         finite nonzero arguments.
56868         * math/s_casinh.c: Do not include <float.h>.
56869         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
56870         * math/s_casinhf.c: Do not include <float.h>.
56871         (__casinhf): Move code for finite nonzero arguments to
56872         k_casinhf.c.
56873         * math/s_casinhl.c: Do not include <float.h>.
56874         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
56875         redefine.
56876         (__casinhl): Move code for finite nonzero arguments to
56877         k_casinhl.c.
56878         * math/libm-test.inc (cacos_test): Add more tests.
56879         * sysdeps/i386/fpu/libm-test-ulps: Update.
56880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56882 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
56884         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56885         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56886         [!HAVE_MREMAP]: Remove [defined linux] case.
56887         * malloc/arena.c: Do not include <malloc-sysdep.h>.
56889 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56891         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
56893 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
56895         * elf/elf.h (R_386_SIZE32): New relocation.
56896         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56897         R_386_SIZE32.
56898         (elf_machine_rela): Likewise.
56899         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56900         R_X86_64_SIZE64 and R_X86_64_SIZE32.
56902 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56904         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
56905         (FP_FAST_FMA): Do not define.
56906         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
56907         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
56908         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
56909         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
56910         !_SOFT_FLOAT]: Likewise.
56911         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
56912         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
56913         value.
56914         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
56915         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
56916         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
56917         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
56918         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
56919         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
56920         file.
56922 2013-01-16  Andreas Schwab  <schwab@suse.de>
56924         [BZ #14327]
56925         * include/stdlib.h (__mktemp): Add declaration.
56926         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
56927         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
56929 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56931         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
56932         definitions.
56933         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56934         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
56935         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
56936         definitions here.
56937         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
56938         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
56939         definitions.
56940         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
56941         and ONE.
56942         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
56943         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56944         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
56945         definitions.
56946         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
56947         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
56948         definitions.
56949         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56951         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
56953 2013-01-15  David S. Miller  <davem@davemloft.net>
56955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56956         trunc{,f} to libm-sysdep_routes.
56957         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
56959         file.
56960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
56961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
56962         file.
56963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
56964         file.
56965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
56966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
56967         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
56968         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
56969         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
56970         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
56971         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
56972         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
56974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56975         nearbyint{,f} to libm-sysdep_routes.
56976         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
56978         New file.
56979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
56980         file.
56981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
56982         New file.
56983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
56984         file.
56985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
56986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
56987         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
56988         file.
56989         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
56990         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
56991         file.
56992         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
56993         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
56994         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
56996         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56997         libc_feholdexcept and libc_fesetenv.
56999 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
57001         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
57003 2013-01-14  David S. Miller  <davem@davemloft.net>
57005         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
57006         (SPARC_ASM_VIS2_IFUNC): Likewise.
57007         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
57008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
57009         use of 'siam' instruction.
57010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
57011         Likewise.
57012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
57013         Likewise.
57014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
57015         Likewise.
57016         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
57017         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
57018         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
57019         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
57020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
57021         file.
57022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
57023         file.
57024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
57025         file.
57026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
57027         file.
57028         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
57029         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
57030         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
57031         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
57032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
57033         new VIS2 routines.
57034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
57035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
57037         Likewise.
57038         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
57039         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
57040         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
57041         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
57042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
57043         routines to libm-sysdep_routines.
57044         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57047         fdim/fdimf to libm-sysdep_routines.
57048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
57049         file.
57050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
57051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
57052         file.
57053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
57054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
57055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
57056         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
57057         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
57058         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
57059         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
57061 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57063         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
57064         to optimize copies.
57066         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
57067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57068         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57070         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
57071         local variable MPTWO.
57072         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57073         Likewise.
57075 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57077         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
57078         GLOB_NOESCAPE.
57080 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57082         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
57084 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57086         * manual/pattern.texi (glob_t): Document gl_flags.
57087         (glob64_t): Likewise.
57089 2013-01-11  David S. Miller  <davem@davemloft.net>
57091         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
57092         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
57093         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
57094         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
57095         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
57096         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
57097         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
57098         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
57099         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
57100         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
57101         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
57102         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
57103         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
57105         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57106         sparc V9 rather than using V8 code.
57107         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57108         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57110         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
57111         Move to...
57112         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
57113         Here.
57115 2013-01-11  Roland McGrath  <roland@hack.frob.com>
57117         [BZ #14941]
57118         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
57119         not in the main loop.
57120         * configure: Regenerated.
57122 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
57124         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
57125         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
57126         to just #else.
57127         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
57128         [!__GLIBC_HAVE_LONG_LONG] case.
57129         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
57130         condition to just #else.
57131         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
57132         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
57133         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
57134         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
57135         unconditional.
57136         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
57137         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57138         #elif condition to just #else.
57139         * sysdeps/unix/sysv/linux/sys/sysmacros.h
57140         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
57141         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57142         #elif condition to just #else.
57144 2013-01-11  Steve Ellcey  <sellcey@mips.com>
57146         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
57147         (EF_MIPS_ARCH_64): Fix value.
57148         (EF_MIPS_ARCH_32R2): New.
57149         (EF_MIPS_ARCH_64R2): New.
57151 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
57153         * Makeconfig (+link-pie-before-libc): New.
57154         (+link-pie-after-libc): Likewise.
57155         (+link-pie-tests): Likewise.
57156         (+link-pie): Rewritten.
57157         (link-before-libc): Remove $(config-LDFLAGS).
57158         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
57159         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
57160         (config-LDFLAGS): Renamed to ...
57161         (rtld-LDFLAGS): This.
57162         (rtld-tests-LDFLAGS): New macro.
57163         (link-libc-rpath-link): Likewise.
57164         (link-libc-tests-rpath-link): Likewise.
57165         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
57166         (link-libc): Prepand $(link-libc-rpath-link).
57167         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
57168         (test-program-prefix): New macro.
57169         (test-via-rtld-prefix): Likewise.
57170         (test-program-cmd): Likewise.
57171         (host-test-program-cmd): Likewise.
57172         * Makefile ($(common-objpfx)testrun.sh): Replace
57173         $(run-program-prefix) with $(test-program-prefix).
57174         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
57175         $(rtld-LDFLAGS).
57176         ($(common-objpfx)shlib.lds): Likewise.
57177         (build-module-helper): Likewise.
57178         ($(common-objpfx)format.lds): Likewise.
57179         * Rules (binaries-pie-tests): New.
57180         (binaries-pie-notests): Likewise.
57181         (binaries-pie): Rewritten.
57182         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
57183         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
57184         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
57185         (make-test-out): Replace $(host-built-program-cmd) with
57186         $(host-test-program-cmd).
57187         * config.make.in (build-hardcoded-path-in-tests): New variable.
57188         * configure.in (--enable-hardcoded-path-in-tests): New configure
57189         option.
57190         (hardcoded_path_in_tests): New AC_SUBST.
57191         * configure: Regenerated.
57192         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
57193         $(built-program-cmd) with $(test-program-cmd).
57194         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
57195         (test_program_cmd): This.
57196         * elf/Makefile ($(objpfx)order.out): Run test with
57197         $(test-program-prefix).
57198         ($(objpfx)order2.out): Likewise.
57199         ($(objpfx)tst-initorder.out): Likewise.
57200         ($(objpfx)tst-initorder2.out): Likewise.
57201         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
57202         $(test-program-cmd).
57203         ($(objpfx)tst-array1-static.out): Likewise.
57204         ($(objpfx)tst-array2.out): Likewise.
57205         ($(objpfx)tst-array3.out): Likewise.
57206         ($(objpfx)tst-array4.out): Likewise.
57207         ($(objpfx)tst-array5.out): Likewise.
57208         ($(objpfx)tst-array5-static.out): Likewise.
57209         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
57210         $(test-program-cmd).
57211         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
57212         $(run-program-prefix) with $(test-program-prefix).
57213         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
57214         (test_program_prefix): This.
57215         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
57216         $(run-program-prefix) with $(test-program-prefix).
57217         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
57218         (test_program_prefix): This.
57219         * iconvdata/tst-tables.sh: Likewise.
57220         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
57221         $(run-program-prefix) with $(test-program-prefix).
57222         ($(objpfx)tst-translit.out): Likewise.
57223         ($(objpfx)tst-gettext2.out): Likewise.
57224         ($(objpfx)tst-gettext4.out): Likewise.
57225         ($(objpfx)tst-gettext6.out): Likewise.
57226         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
57227         (test_program_prefix): This.
57228         * intl/tst-gettext2.sh: Likewise.
57229         * intl/tst-gettext4.sh  Likewise.
57230         * intl/tst-gettext6.sh: Likewise.
57231         * intl/tst-translit.sh: Likewise.
57232         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
57233         with $(test-program-cmd).
57234         * libio/Makefile ($(objpfx)test-freopen.out): Replace
57235         $(run-program-prefix) with $(test-program-prefix).
57236         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
57237         (test_program_prefix): This.
57238         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
57239         $(run-program-prefix) with $(test-program-prefix).
57240         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
57241         (test_program_prefix): This.
57242         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
57243         * posix/Makefile ($(objpfx)globtest.out): Replace
57244         $(run-via-rtld-prefix) and $(test-wrapper) with
57245         $(test-program-prefix) and $(test-via-rtld-prefix).
57246         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
57247         $(test-program-prefix).
57248         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
57249         $(host-test-program-cmd).
57250         (tst-spawn-ARGS): Likewise.
57251         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
57252         $(test-program-prefix).
57253         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
57254         (test_via_rtld_prefix): This.
57255         (test_wrapper): Renamed to ...
57256         (test_program_prefix): This.
57257         (run_program_prefix): Replaced by test_program_prefix.
57258         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
57259         (test_program_prefix): This.
57260         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
57261         with $(host-test-program-cmd).
57262         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
57263         $(run-program-prefix) with $(test-program-prefix).
57264         ($(objpfx)tst-printf.out): Likewise.
57265         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
57266         $(test-program-cmd).
57267         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
57268         (test_program_prefix): This.
57269         * stdio-common/tst-unbputc.sh: Likewise.
57270         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
57271         $(run-program-prefix) with $(test-program-prefix).
57272         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
57273         (test_program_prefix): This.
57274         * string/Makefile ($(objpfx)tst-svc.out):  Replace
57275         $(built-program-cmd) with $(test-program-cmd).
57277 2013-01-11  Andreas Jaeger  <aj@suse.de>
57279         [BZ #15003]
57280         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
57281         value. Sync with Linux 3.7.
57283 2013-01-10  David S. Miller  <davem@davemloft.net>
57285         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
57286         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57287         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57289 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57291         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
57292         never set.
57293         * configure: Regenerated.
57295 2013-01-10  David S. Miller  <davem@davemloft.net>
57297         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57298         sparc V9 rather than using V8 code.
57299         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57300         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57302 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57304         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
57305         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
57306         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
57307         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
57308         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
57309         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
57310         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
57311         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
57312         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
57313         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
57314         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
57315         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
57316         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
57317         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
57318         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
57319         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
57320         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
57321         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
57322         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
57323         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
57324         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
57325         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
57326         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
57327         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
57328         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
57329         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
57330         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
57332 2013-01-10  David S. Miller  <davem@davemloft.net>
57334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57336 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57338         * posix/Makefile (tests-static): New variable.
57339         (tests): Add $(tests-static).
57340         (tst-exec-static-ARGS): New variable.
57341         (tst-spawn-static-ARGS): Likewise.
57342         * posix/tst-exec-static.c: New file.
57343         * posix/tst-spawn-static.c: Likewise.
57344         * posix/tst-exec.c: Support run directly.
57345         * posix/tst-spawn.c: Likewise.
57347 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
57349         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
57350         long.
57351         * math/bits/mathcalls.h (llrint): Likewise.
57352         (llround): Likewise.
57353         * stdlib/stdlib.h (struct drand48_data): Likewise.
57354         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
57355         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
57356         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
57357         Likewise.
57358         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
57359         Likewise.
57360         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
57361         (elf_greg_t): Likewise.
57362         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
57363         (__jmp_buf): Likewise.
57364         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
57365         definitions.
57366         (llrint): Likewise, for all definitions.
57367         (llrintl): Likewise.
57369         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
57370         Remove [__GNUC__] condition.
57371         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
57372         condition to just [__USE_ISOC99].
57373         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
57375 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57377         [BZ #14200]
57378         * sysdeps/unix/sysv/linux/x86/bits/environments.h
57379         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
57380         defined.
57381         (_POSIX_V6_ILP32_OFF32): Likewise.
57382         (_XBS5_ILP32_OFF32): Likewise.
57383         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
57384         (__ILP32_OFFBIG_LDFLAGS): Likewise.
57386 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57388         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
57390         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
57391         doubles __mpexp_twomm1.  Adjust usage.
57392         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
57393         Remove.
57395 2013-01-10  Andreas Schwab  <schwab@suse.de>
57397         [BZ #14964]
57398         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
57399         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
57401 2013-01-09  David S. Miller  <davem@davemloft.net>
57403         [BZ #15003]
57404         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
57405         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
57406         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
57407         (TCP_FASTOPEN): Define.
57408         (tcp_repair_opt): New structure.
57409         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
57410         enum values.
57411         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
57412         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
57413         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
57414         (tcp_cookie_transactions): New structure.
57416 2013-01-09  Anton Blanchard  <anton@samba.org>
57418         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
57419         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
57420         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
57421         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
57423 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
57425         * include/features.h (__USE_ANSI): Remove.
57427 2013-01-09  Roland McGrath  <roland@hack.frob.com>
57429         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
57431         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
57433 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
57435         * sysdeps/s390/fpu/libm-test-ulps: Update.
57437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57439         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
57440         (__acr): Likewise.
57441         (__cpy): Likewise.
57442         (norm): Likewise.
57443         (denorm): Likewise.
57444         (__mp_dbl): Likewise.
57445         (__dbl_mp): Likewise.
57446         (add_magnitudes): Likewise.
57447         (sub_magnitudes): Likewise.
57448         (__add): Likewise.
57449         (__sub): Likewise.
57450         (__mul): Likewise.
57451         (__inv): Likewise.
57452         (__dvd): Likewise.
57453         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
57454         (__acr): Likewise.
57455         (__cpy): Likewise.
57456         (norm): Likewise.
57457         (denorm): Likewise.
57458         (__mp_dbl): Likewise.
57459         (__dbl_mp): Likewise.
57460         (add_magnitudes): Likewise.
57461         (sub_magnitudes): Likewise.
57462         (__add): Likewise.
57463         (__sub): Likewise.
57464         (__mul): Likewise.
57465         (__inv): Likewise.
57466         (__dvd): Likewise.
57467         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
57468         (__acr): Likewise.
57469         (__cpy): Likewise.
57470         (norm): Likewise.
57471         (denorm): Likewise.
57472         (__mp_dbl): Likewise.
57473         (__dbl_mp): Likewise.
57474         (add_magnitudes): Likewise.
57475         (sub_magnitudes): Likewise.
57476         (__add): Likewise.
57477         (__sub): Likewise.
57478         (__mul): Likewise.
57479         (__inv): Likewise.
57480         (__dvd): Likewise.
57482 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
57484         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
57485         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
57486         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
57487         2 && __USE_EXTERN_INLINES]: Likewise.
57489 2013-01-08  Andreas Jaeger  <aj@suse.de>
57491         [BZ# 14985]
57492         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
57493         Remove.
57494         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57495         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57497 2013-01-07  Anton Blanchard  <anton@samba.org>
57499         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
57500         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57501         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
57502         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57503         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57504         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57505         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
57506         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57507         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57508         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57509         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57510         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57511         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
57512         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57513         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57514         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57515         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57516         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57517         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57518         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57519         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57520         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
57521         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57522         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57523         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
57524         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57525         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57526         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57527         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
57528         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
57529         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57530         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57531         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57532         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57533         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57534         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57535         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57536         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57537         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
57538         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57539         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
57540         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57541         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57543 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
57545         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
57546         (__MALLOC_PMT): Likewise.
57547         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
57548         [__GNUC__], only on [_LIBC].
57549         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57550         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
57551         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57552         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
57553         forward declaration.
57554         (realloc_hook_ini): Likewise.
57555         (memalign_hook_ini): Likewise.
57556         (__libc_memalign): Do not use __MALLOC_PMT in variable
57557         declaration.
57558         (__libc_valloc): Likewise.
57559         (__libc_pvalloc): Likewise.
57560         (__libc_calloc): Likewise.
57561         (__posix_memalign): Likewise.
57563         [BZ #14996]
57564         * math/s_casinh.c: Include <float.h>.
57565         (__casinh): Do not do computation with squaring and square root
57566         for large arguments.
57567         * math/s_casinhf.c: Include <float.h>.
57568         (__casinhf): Do not do computation with squaring and square root
57569         for large arguments.
57570         * math/s_casinhl.c: Include <float.h>.
57571         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
57572         (__casinhl): Do not do computation with squaring and square root
57573         for large arguments.
57574         * math/libm-test.inc (casin_test): Add more tests.
57575         (casinh_test): Likewise.
57576         * sysdeps/i386/fpu/libm-test-ulps: Update.
57577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57579 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
57581         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
57582         (__x86_64_raw_data_cache_size): Likewise.
57583         (__x86_64_data_cache_size_half): Likewise.
57584         (__x86_64_raw_data_cache_size_half): Likewise.
57585         (__x86_64_shared_cache_size): Likewise.
57586         (__x86_64_raw_shared_cache_size): Likewise.
57587         (__x86_64_shared_cache_size_half): Likewise.
57588         (__x86_64_raw_shared_cache_size_half): Likewise.
57589         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
57590         to ...
57591         (__x86_data_cache_size): This.
57592         (__x86_64_raw_data_cache_size): Renamed to ...
57593         (__x86_raw_data_cache_size): This.
57594         (__x86_64_data_cache_size_half): Renamed to ...
57595         (__x86_data_cache_size_half): This.
57596         (__x86_64_raw_data_cache_size_half): Renamed to ...
57597         (__x86_raw_data_cache_size_half): This.
57598         (__x86_64_shared_cache_size): Renamed to ...
57599         (__x86_shared_cache_size): This.
57600         (__x86_64_raw_shared_cache_size): Renamed to ...
57601         (__x86_raw_shared_cache_size): This.
57602         (__x86_64_shared_cache_size_half): Renamed to ...
57603         (__x86_shared_cache_size_half): This.
57604         (__x86_64_raw_shared_cache_size_half): Renamed to ...
57605         (__x86_raw_shared_cache_size_half): This.
57606         * sysdeps/x86_64/memcpy.S: Updated.
57607         * sysdeps/x86_64/memset.S: Likewise.
57608         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57609         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57610         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57612 2013-01-04  David S. Miller  <davem@davemloft.net>
57614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57616 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
57618         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
57619         1 to avoid redefinition warning.
57620         (__USE_GNU): Don't define.
57621         (init_signaling_nan): Protoize.
57623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57625 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57627         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
57628         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
57629         (__cpymn): Likewise.
57630         (norm): Remove commented code.
57631         (denorm): Likewise.
57632         (__mp_dbl): Likewise.
57633         (__inv): Likewise.
57634         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
57635         (__cpymn): Likewise.
57636         (norm): Remove commented code.
57637         (denorm): Likewise.
57638         (__mp_dbl): Likewise.
57639         (__inv): Likewise.
57641         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
57642         mp_no value for 1.0 and 2.0.
57643         (norm): Use RADIXI instead of radixi.d.
57644         (denorm): Likewise.
57645         (__mul): Use 0.0 instead of zero.d.
57646         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
57647         mp_no value for 1.0 and 2.0.
57648         (norm): Use RADIXI instead of radixi.d.
57649         (denorm): Likewise.
57650         (__mul): Use 0.0 instead of zero.d.
57652 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
57654         [BZ #14994]
57655         * math/s_casinh.c (__casinh): Reduce finite argument to first
57656         quadrant then set signs of results at the end.
57657         * math/s_casinhf.c (__casinhf): Likewise.
57658         * math/s_casinhl.c (__casinhl): Likewise.
57659         * math/libm-test.inc (casin_test): Add more tests.
57660         (casinh_test): Likewise.
57661         * sysdeps/i386/fpu/libm-test-ulps: Update.
57662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57664 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57666         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
57668         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
57670         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
57671         declarations.
57672         (denorm): Likewise.
57673         (__mp_dbl): Likewise.
57674         (__inv): Likewise.
57676         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
57677         and adjust the header comment.
57679         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
57680         variable name from declaration.
57682 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
57684         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57685         Initialize COMMON_CPUID_INDEX_7 element.
57686         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
57687         (CPUID_RTM): Likewise.
57688         (HAS_RTM): Likewise.
57689         (COMMON_CPUID_INDEX_7): New enum.
57691 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
57693         [BZ #14981]
57694         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
57695         size is zero, record memory as freed.
57697 2013-01-03  Andreas Jaeger  <aj@suse.de>
57699         * po/ia.po: Add new Interlingua translation.
57701 2012-01-03  Allan McRae  <allan@archlinux.org>
57703         * locale/programs/localedef.c: Fix description of '--posix' flag.
57705 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
57707         * NEWS: Update dates in second copyright notice.
57708         * README: Update copyright dates in example.
57709         * manual/libc.texinfo: Update copyright dates.
57710         * scripts/test-installation.pl: Update copyright date in --version
57711         output.
57713         * hurd/ctty-input.c: Fix copyright notice formatting.
57714         * hurd/ctty-output.c: Likewise.
57715         * hurd/dtable.c: Likewise.
57716         * hurd/hurd-raise.c: Likewise.
57717         * hurd/hurdprio.c: Likewise.
57718         * hurd/msgportdemux.c: Likewise.
57719         * misc/sys/file.h: Likewise.
57720         * misc/sys/ioctl.h: Likewise.
57721         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57722         * sysdeps/mach/hurd/chdir.c: Likewise.
57723         * sysdeps/mach/hurd/fchdir.c: Likewise.
57724         * sysdeps/mach/hurd/rename.c: Likewise.
57725         * sysdeps/mach/hurd/rmdir.c: Likewise.
57726         * sysdeps/mach/hurd/seekdir.c: Likewise.
57727         * sysdeps/mach/hurd/setsid.c: Likewise.
57728         * sysdeps/posix/wait3.c: Likewise.
57730         * All files with FSF copyright notices: Update copyright dates
57731         using scripts/update-copyrights.
57732         * intl/plural.c: Regenerated.
57733         * locale/programs/charmap-kw.h: Likewise.
57734         * locale/programs/locfile-kw.h: Likewise.
57736 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57738         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
57739         four values.
57741         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
57742         calculation loop and add branch prediction.
57744         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
57745         check access beyond bounds of m1np.
57747         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57748         MPTWO.
57749         (__inv): Remove local variable MPTWO to use the global
57750         constant.
57751         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
57752         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57753         variable MPTWO.
57754         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
57755         MP3HALFS static const.
57757 2013-01-01  David S. Miller  <davem@davemloft.net>
57759         * po/ca.po: Update from translation team.
57761 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
57763         * scripts/update-copyrights: New file.
57764         * Makeconfig: Reformat copyright notice.
57765         * ctype/ctype.h: Likewise.
57766         * debug/swprintf_chk.c: Likewise.
57767         * elf/dl-cache.c: Likewise.
57768         * elf/dl-debug.c: Likewise.
57769         * elf/dl-object.c: Likewise.
57770         * grp/initgroups.c: Likewise.
57771         * hurd/Makefile: Likewise.
57772         * hurd/hurd/signal.h: Likewise.
57773         * hurd/hurdfault.c: Likewise.
57774         * hurd/hurdioctl.c: Likewise.
57775         * hurd/hurdlookup.c: Likewise.
57776         * hurd/intr-msg.c: Likewise.
57777         * iconv/gconv_open.c: Likewise.
57778         * libio/swprintf.c: Likewise.
57779         * locale/lc-ctype.c: Likewise.
57780         * locale/nl_langinfo.c: Likewise.
57781         * mach/Machrules: Likewise.
57782         * mach/Makefile: Likewise.
57783         * malloc/obstack.h: Likewise.
57784         * manual/Makefile: Likewise.
57785         * manual/tsort.awk: Likewise.
57786         * misc/bits/stab.def: Likewise.
57787         * nis/nis_print_group_entry.c: Likewise.
57788         * nis/nis_table.c: Likewise.
57789         * nis/nss_compat/compat-pwd.c: Likewise.
57790         * nis/nss_compat/compat-spwd.c: Likewise.
57791         * po/Makefile: Likewise.
57792         * posix/fnmatch.c: Likewise.
57793         * posix/regex.h: Likewise.
57794         * resolv/Makefile: Likewise.
57795         * resolv/nss_dns/dns-network.c: Likewise.
57796         * resolv/res_hconf.c: Likewise.
57797         * scripts/gen-sorted.awk: Likewise.
57798         * soft-fp/soft-fp.h: Likewise.
57799         * stdio-common/printf.h: Likewise.
57800         * stdlib/monetary.h: Likewise.
57801         * stdlib/random.c: Likewise.
57802         * stdlib/random_r.c: Likewise.
57803         * sysdeps/generic/Makefile: Likewise.
57804         * sysdeps/gnu/Makefile: Likewise.
57805         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57806         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57807         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57808         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57809         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57810         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57811         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57812         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57813         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57814         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57815         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57816         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57817         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57818         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57819         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
57820         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57821         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57822         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57823         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57824         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57825         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57826         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57827         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57828         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57829         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
57830         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57831         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57832         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
57833         * sysdeps/mach/hurd/errnos.awk: Likewise.
57834         * sysdeps/mach/hurd/fork.c: Likewise.
57835         * sysdeps/mach/hurd/getcwd.c: Likewise.
57836         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
57837         * sysdeps/mach/hurd/mmap.c: Likewise.
57838         * sysdeps/mach/hurd/utimes.c: Likewise.
57839         * sysdeps/mach/hurd/xmknod.c: Likewise.
57840         * sysdeps/posix/profil.c: Likewise.
57841         * sysdeps/posix/readdir_r.c: Likewise.
57842         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57843         * sysdeps/powerpc/bits/setjmp.h: Likewise.
57844         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
57845         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57846         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57847         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57848         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57849         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57850         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57851         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57852         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57853         * sysdeps/pthread/lio_listio.c: Likewise.
57854         * sysdeps/sparc/dl-procinfo.h: Likewise.
57855         * sysdeps/unix/i386/sysdep.S: Likewise.
57856         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57857         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
57858         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
57859         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
57860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57861         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
57862         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
57863         * sysdeps/unix/sysv/linux/speed.c: Likewise.
57864         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
57865         * sysdeps/wordsize-32/divdi3.c: Likewise.
57866         * time/sys/time.h: Likewise.
57867         * wcsmbs/Makefile: Likewise.
57869 2013-01-01  David S. Miller  <davem@davemloft.net>
57871         * po/fr.po: Update from translation team.
57873         * catgets/gencat.c: Update copyright year.
57874         * csu/version.c: Likewise.
57875         * debug/catchsegv.sh: Likewise.
57876         * debug/pcprofiledump.c: Likewise.
57877         * debug/xtrace.sh: Likewise.
57878         * elf/ldconfig.c: Likewise.
57879         * elf/ldd.bash.in: Likewise.
57880         * elf/pldd.c: Likewise.
57881         * elf/sotruss.ksh: Likewise.
57882         * elf/sprof.c: Likewise.
57883         * iconv/iconv_prog.c: Likewise.
57884         * iconv/iconvconfig.c: Likewise.
57885         * locale/programs/locale.c: Likewise.
57886         * locale/programs/localedef.c: Likewise.
57887         * login/programs/pt_chown.c: Likewise.
57888         * malloc/memusage.sh: Likewise.
57889         * malloc/memusagestat.c: Likewise.
57890         * malloc/mtrace.pl: Likewise.
57891         * nscd/nscd.c: Likewise.
57892         * nss/getent.c: Likewise.
57893         * nss/makedb.c: Likewise.
57894         * posix/getconf.c: Likewise.
57896 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57898         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
57899         numbers.
57901 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
57903         * math/bits/mathcalls.h (modf): Use __nonnull.
57905 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57907         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
57908         (split): Use macro CN instead of the bare value.
57909         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
57910         could be used.
57911         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
57912         instead of the bare value.
57913         (power1): Likewise.
57915 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57917         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
57918         __ATAN_TWOM.
57919         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57921         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
57922         their values.
57923         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57924         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57925         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
57926         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57928 2012-12-28  Andreas Jaeger  <aj@suse.de>
57930         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
57931         values are from Linux 3.7.
57933         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
57934         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
57936 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57938         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
57939         TRUE case.
57941         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
57942         (norm): Likewise.
57943         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
57944         variables with preprocessor constants.
57945         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57946         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57947         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57949 2012-12-27  Bruno Haible  <bruno@clisp.org>
57951         [BZ #14317]
57952         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
57953         only if needed.
57955 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57957         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
57958         and use variable directly.
57959         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
57961         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57962         MPONE.
57963         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
57964         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57965         variable MPONE.
57966         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57967         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57968         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
57969         include directive.  Remove local variable MPONE.
57970         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
57971         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
57972         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57974 2012-12-25  David S. Miller  <davem@davemloft.net>
57976         * version.h (RELEASE): Set to "development".
57977         (VERSION): Set to "2.17.90".
57978         * NEWS: Add 2.18 section.
57980 2012-12-21  David S. Miller  <davem@davemloft.net>
57982         * po/hr.po: Update from translation team.
57984 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57986         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
57988 2012-12-19  Steve Ellcey  <sellcey@mips.com>
57990         * NEWS:  Mention new memcpy for MIPS.
57992 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57994         * manual/contrib.texi (Contributors): Spelling correction.
57996 2012-12-15  David S. Miller  <davem@davemloft.net>
57998         * po/ru.po: Update from translation team.
58000 2012-12-13  David S. Miller  <davem@davemloft.net>
58002         * NEWS: Mention IFUNC testsuite enhancements.
58004         * po/pl.po: Update from translation team.
58005         * po/bg.po: Likewise.
58007         * manual/contrib.texi (Contributors): Update entries for Hongjiu
58008         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
58010 2012-12-11  David S. Miller  <davem@davemloft.net>
58012         * po/sv.po: Update from translation team.
58014         * po/vi.po: Update from translation team.
58016         * po/cs.po: Update from translation team.
58018         * po/de.po: Update from translation team.
58019         * po/eo.po: Likewise.
58020         * po/nl.po: Likewise.
58022 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58024         [BZ #14246]
58025         * manual/argp.texi (Argp Helper Functions): Move node to follow
58026         Argp Parsing State.
58028         [BZ #14872]
58029         * manual/conf.texi (Limits on File System Capacity): Mention if
58030         terminating null is included in the max size.
58032 2012-12-10  Andreas Jaeger  <aj@suse.de>
58034         * po/cs.po: Update from translation team.
58036 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58038         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
58039         void pointer and cast to uintptr_t.
58040         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
58041         path.
58042         * sysdeps/s390/s390-64/memcpy.S: Likewise.
58043         * sysdeps/s390/s390-64/memset.S: Likewise.
58045 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
58047         [BZ #14833]
58048         * menual/message.texi (Message Translation): Fix typos.
58049         (Helper programs for gettext): Likewise.
58051 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
58053         [BZ #14898]
58054         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
58055         Change to -1.
58057 2012-12-07  David S. Miller  <davem@davemloft.net>
58059         * po/libc.pot: Update.
58061 2012-12-07  Richard Henderson  <rth@redhat.com>
58063         [BZ #10114]
58064         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
58065         normal/normal case to before the switch.
58066         (_FP_DIV): Likewise.
58068 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
58069             Mike Frysinger  <vapier@gentoo.org>
58071         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
58072         check for __NR_fadvise64_64.
58074 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
58076         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
58077         0, not just to plain "0" as a statement.
58078         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
58079         with cw.
58081 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
58083         * NEWS: Use sourceware.org in Bugzilla URL.
58085 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
58088         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58090         * stdio-common/tst-put-error.c (do_test): Add newline to the
58091         padded test to ensure flush.
58093 2012-12-05  Jeff Law  <law@redhat.com>
58095         * sunrpc/etc.rpc (fedfs_admin): Add entry.
58097 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
58099         * README: Don't refer to ports add-on as distributed separately.
58100         Mention AArch64 in list of systems supported in the ports add-on.
58102         * LICENSES: Add more non-FSF copyright and license notices.
58104         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
58105         ((unused)).
58107         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
58109         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
58110         10000 as width of padded output.
58112 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58114         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
58116         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
58117         variable LX with __attribute__ ((unused)).
58118         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58119         Likewise.
58120         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
58121         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58122         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
58123         with __attribute__ ((unused)).
58125 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
58127         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
58129 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58131         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
58132         (CFLAGS-nldbl-acos.c): New variable.
58133         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
58134         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
58135         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
58136         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
58137         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
58138         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
58139         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
58140         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
58141         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
58142         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
58143         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
58144         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
58145         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
58146         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
58147         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
58148         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
58149         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
58150         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
58151         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
58152         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
58153         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
58154         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
58155         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
58156         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
58157         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
58158         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
58159         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
58160         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
58161         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
58162         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
58163         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
58164         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
58165         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
58166         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
58167         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
58168         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
58169         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
58170         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
58171         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
58172         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
58173         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
58174         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
58175         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
58176         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
58177         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
58178         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
58179         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
58180         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
58181         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
58182         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
58183         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
58184         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
58185         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
58186         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
58187         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
58188         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
58189         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
58190         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
58191         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
58192         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
58193         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
58194         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
58195         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
58196         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
58197         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
58198         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
58199         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
58200         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
58201         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
58202         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
58203         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
58204         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
58205         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
58206         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
58207         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
58208         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
58209         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
58210         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
58211         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
58212         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
58213         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
58214         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
58215         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
58216         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
58217         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
58218         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
58219         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
58220         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
58221         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
58222         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
58223         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
58224         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
58225         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
58226         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
58227         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
58228         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
58229         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
58231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58232         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58234         [BZ #14914]
58235         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
58236         whole low double instead of just low 47 bits when splitting values
58237         into two parts.
58239 2012-12-03  Allan McRae  <allan@archlinux.org>
58241         * manual/stdio.texi (Predefined Printf Handlers): Remove
58242         @hsep and @vsep usage.
58244 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
58246         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
58247         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
58249 2012-12-03  Jeff Law  <law@redhat.com>
58251         * time/sys/time.h (settimeofday): Do not mark TV argument
58252         as __nonnull.
58254 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
58256         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
58257         when currently writing and seek to current position when not.
58258         * libio/Makefile (tests): Remove bug-fclose1.
58259         * libio/bug-fclose1.c: Delete.
58261 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
58263         * manual/arith.texi (feenableexcept): Fix typo.
58264         (fedisableexcept): Likewise.
58266 2012-11-30  Roland McGrath  <roland@hack.frob.com>
58268         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
58269         second, differently-typed declaration, rather than a cast.
58271 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58273         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
58274         * include/rpc/svc.h: ... here.
58276 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
58278         [BZ #13013]
58279         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
58280         depending n and resplen2 to catch cases where answer
58281         equals answerp2.
58283 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
58285         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
58286         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
58288 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
58290         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
58292 2012-11-29  Roland McGrath  <roland@hack.frob.com>
58294         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
58296 2012-11-28  Jeff Law  <law@redhat.com>
58298         [BZ #13761]
58299         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
58300         dataset_temporary.  Track alloca usage into alloca_used.
58301         If dataset is large allocate and release it via malloc/free.
58303 2012-06-04  Florian Weimer  <fweimer@redhat.com>
58305         [BZ #14197]
58306         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
58308 2012-11-28  David S. Miller  <davem@davemloft.net>
58310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58312 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58314         [BZ #14803]
58315         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
58316         of pi/2 rounded to nearest to 64 bits.
58317         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
58318         nearest to 64 bits.
58319         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
58320         bits.
58322 2012-11-28  Jeff Law <law@redhat.com>
58323             Martin Osvald <mosvald@redhat.com>
58325         [BZ #14889]
58326         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
58327         * sunrpc/svc.c: Include time.h.
58328         (__svc_accept_failed): New function.
58329         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
58330         any reason other than EINTR, call __svc_accept_failed.
58331         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
58332         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
58334 2012-11-28  Andreas Schwab  <schwab@suse.de>
58336         * scripts/abilist.awk: Also handle indirect functions in .opd
58337         section.
58339 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58341         [BZ #13881]
58342         * sysdeps/x86/fpu/powl_helper.c: New file.
58343         * sysdeps/x86/fpu/Makefile: Likewise.
58344         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
58345         (p3): New object.
58346         (__ieee754_powl): Use __powl_helper for finite arguments except
58347         integer exponents below 8.
58348         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
58349         (p3): New object.
58350         (__ieee754_powl): Use __powl_helper for finite arguments except
58351         integer exponents below 8.
58352         * math/libm-test.inc (pow_test): Add more tests and enable some
58353         previously disabled tests.
58354         * sysdeps/i386/fpu/libm-test-ulps: Update.
58355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58357 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58358             Carlos O'Donell  <carlos_odonell@mentor.com>
58360         * nss/makedb.c (is_prime): Assert that input is odd and greater
58361         than 4.  Note that fact in a comment too.
58362         (next_prime): Add 4 to input.
58364 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58366         [BZ #11741]
58367         * libio/Makefile (tests): Add test case tst-fwrite-error.
58368         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
58369         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
58370         * libio/tst-fwrite-error.c: New test case.
58372 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
58374         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
58375         before casting to void *.
58376         * include/libc-internal.h (__pointer_type): New macro.
58377         (__integer_if_pointer_type_sub): Likewise.
58378         (__integer_if_pointer_type): Likewise.
58379         (cast_to_integer): Likewise.
58380         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
58381         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
58382         before casting to atomic64_t.
58383         (atomic_exchange_acq): Likewise.
58384         (__arch_exchange_and_add_body): Likewise.
58385         (__arch_add_body): Likewise.
58386         (atomic_add_negative): Likewise.
58387         (atomic_add_zero): Likewise.
58389 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
58391         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
58392         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
58393         (add_fdes): Likewise.
58394         (linear_search_fdes): Likewise.
58395         (binary_search_unencoded_fdes): Likewise.
58397 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
58399         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
58401 2012-11-24  Adam Conrad  <adconrad@0c3.net>
58403         * configure.in: Autodetect C++ header directories.
58404         * configure: Regenerated.
58406 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
58408         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
58410 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
58412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58414 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
58416         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
58417         LDBL_MANT_DIG == 106]: Disable some tests.
58418         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58419         Likewise.
58420         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58421         Likewise.
58423         [BZ #14871]
58424         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
58425         input for small inputs.  Return +/- pi/2 for large inputs.
58426         * math/libm-test.inc (atan_test): Add more tests.
58428         * sysdeps/generic/unwind-dw2-fde-glibc.c
58429         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
58430         __attribute__ ((unused)).
58432         [BZ #14645]
58433         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
58434         x * y if x and y are nonzero and z is zero.
58436         [BZ #14811]
58437         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
58438         nonzero exponents with absolute value below 0x1p-117 to +/-
58439         0x1p-117.
58441         [BZ #14869]
58442         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
58443         up arguments below 2**-450, not just those below 2**-500.
58444         * math/libm-test.inc (hypot_test): Add another test.
58446         [BZ #14868]
58447         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
58448         Return a+b for ratio over 2**120, not 2**60.
58449         * math/libm-test.inc (hypot_test): Add another test.
58451         * math/libm-test.inc (clog_test): Use
58452         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
58453         (clog10_test): Likewise.
58455         [BZ #6778]
58456         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
58458 2012-11-22  Andreas Schwab  <schwab@suse.de>
58460         * sysdeps/i386/fpu/libm-test-ulps: Update.
58462 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
58464         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
58465         printf output with newline.
58467 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
58469         [BZ #14865]
58470         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
58471         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
58472         -z nodlopen, -z initfirst and -z execstack support.
58473         * configure: Regenerated.
58475         * elf/elf.h (DF_1_NODIRECT): New macro.
58476         (DF_1_IGNMULDEF): Likewise.
58477         (DF_1_NOKSYMS): Likewise.
58478         (DF_1_NOHDR): Likewise.
58479         (DF_1_EDITED): Likewise.
58480         (DF_1_NORELOC): Likewise.
58481         (DF_1_SYMINTPOSE): Likewise.
58482         (DF_1_GLOBAUDIT): Likewise.
58483         (DF_1_SINGLETON): Likewise.
58484         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
58485         DT_1_SUPPORTED_MASK bits.
58486         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
58488 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
58490         * sysdeps/unix/make-syscalls.sh: Document prefixes.
58492 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
58494         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
58495         macro.
58497         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
58498         (sendmmsg): Move declarations...
58499         * socket/sys/socket.h: ... here.
58500         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
58501         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
58502         include it from...
58503         * socket/recvmmsg.c: ... this new file.
58504         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
58505         (sendmmsg): Rename to __sendmmsg, create weak alias and make
58506         definition of __sendmmsg hidden.
58507         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
58508         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
58509         Move ENOSYS stub into and include it from...
58510         * socket/sendmmsg.c: ... this new file.
58511         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
58512         (sysdep_routines): Move recvmmsg and sendmmsg...
58513         * socket/Makefile (routines): ... here.
58514         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
58515         (GLIBC_PRIVATE): Add __sendmmsg.
58516         * include/sys/socket.h (__sendmmsg): Add declarations.
58517         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
58518         sendmmsg.
58520 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
58522         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
58523         variable I1 with __attribute__ ((unused)).
58524         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58526 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58528         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
58529         DUMMY variables with __attribute__ ((unused)).
58531         * bits/byteswap.h: Include <bits/types.h>.
58532         (__bswap_64): Use __uint64_t instead of unsigned long long int.
58534 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58536         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
58537         string_t.  Do not manually set errno.
58538         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
58539         length with __strnlen.  Make sure to both set errno and return it on
58540         failure.
58542 2012-11-19  David S. Miller  <davem@davemloft.net>
58544         With help from Joseph Myers.
58545         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
58546         very large arguments properly.
58547         * math/libm-test.inc (atan_test): New tests.
58548         (atan2_test): New tests.
58549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58550         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58552 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58554         [BZ #14856]
58555         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
58556         Define to 3.
58558         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
58559         [POSIX] (EADDRNOTAVAIL): Likewise.
58560         [POSIX] (EAFNOSUPPORT): Likewise.
58561         [POSIX] (EALREADY): Likewise.
58562         [POSIX] (ECONNABORTED): Likewise.
58563         [POSIX] (ECONNREFUSED): Likewise.
58564         [POSIX] (ECONNRESET): Likewise.
58565         [POSIX] (EDESTADDRREQ): Likewise.
58566         [POSIX] (EDQUOT): Likewise.
58567         [POSIX] (EHOSTUNREACH): Likewise.
58568         [POSIX] (EIDRM): Likewise.
58569         [POSIX] (EISCONN): Likewise.
58570         [POSIX] (ELOOP): Likewise.
58571         [POSIX] (EMULTIHOP): Likewise.
58572         [POSIX] (ENETDOWN): Likewise.
58573         [POSIX] (ENETUNREACH): Likewise.
58574         [POSIX] (ENOBUFS): Likewise.
58575         [POSIX] (ENODATA): Likewise.
58576         [POSIX] (ENOLINK): Likewise.
58577         [POSIX] (ENOMSG): Likewise.
58578         [POSIX] (ENOPROTOOPT): Likewise.
58579         [POSIX] (ENOSR): Likewise.
58580         [POSIX] (ENOSTR): Likewise.
58581         [POSIX] (ENOTCONN): Likewise.
58582         [POSIX] (ENOTSOCK): Likewise.
58583         [POSIX] (EOPNOTSUPP): Likewise.
58584         [POSIX] (EOVERFLOW): Likewise.
58585         [POSIX] (EPROTO): Likewise.
58586         [POSIX] (EPROTONOSUPPORT): Likewise.
58587         [POSIX] (EPROTOTYPE): Likewise.
58588         [POSIX] (ESTALE): Likewise.
58589         [POSIX] (ETIME): Likewise.
58590         [POSIX] (ETXTBSY): Likewise.
58591         [POSIX] (EWOULDBLOCK): Likewise.
58592         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
58593         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
58594         [POSIX] (SEEK_CUR): Likewise.
58595         [POSIX] (SEEK_END): Likewise.
58596         [POSIX || UNIX98] (mode_t): Do not require.
58597         [POSIX] (off_t): Likewise.
58598         [POSIX] (pid_t): Likewise.
58599         [POSIX] (sys/stat.h): Do not allow header.
58600         [POSIX] (unistd.h): Likewise.
58601         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
58602         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
58603         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
58604         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
58605         require.
58606         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
58607         sigevent): Specify elements.
58608         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
58609         entry.
58610         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
58611         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
58613         * conform/data/cpio.h-data [POSIX]: Disable whole file.
58614         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
58615         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
58616         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
58617         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
58618         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
58619         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
58620         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
58621         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
58622         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
58623         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
58624         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
58625         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
58626         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
58627         Likewise.
58628         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
58629         Likewise.
58630         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
58631         Likewise.
58632         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
58633         Likewise.
58634         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
58635         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
58636         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
58637         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
58638         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
58639         Specify lower bound on value.
58640         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
58641         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
58642         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
58643         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
58644         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
58645         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
58646         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
58647         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
58648         value.
58649         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
58650         as optional.
58651         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
58652         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
58653         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
58654         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
58655         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
58656         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
58657         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
58658         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
58659         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
58660         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
58661         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
58662         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
58663         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
58664         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
58665         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
58666         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
58667         entry.
58668         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
58669         optional.
58670         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
58671         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
58672         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
58673         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
58674         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
58675         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
58676         Likewise.
58677         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
58678         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
58679         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
58680         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
58681         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
58682         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
58683         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
58684         as optional.
58685         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
58686         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
58687         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
58688         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
58689         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
58690         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
58691         specify as optional.
58692         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
58693         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
58694         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
58695         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
58696         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
58697         [XPG3] (NL_LANGMAX): Likewise.
58698         [POSIX || XPG3] (NL_MSGMAX): Likewise.
58699         [POSIX || XPG3] (NL_NMAX): Likewise.
58700         [POSIX || XPG3] (NL_SETMAX): Likewise.
58701         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
58702         [XPG3] (NZERO): Likewise.
58703         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
58704         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
58705         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
58706         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
58707         (REG_ERANGE): Expect.
58708         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
58709         optional-constant.
58710         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
58711         Use (void) in prototype.
58712         [POSIX] (*_t): Allow.
58713         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
58714         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
58715         (WRDE_BADVAL): Expect.
58717         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
58718         expect.
58719         [XPG3 || XPG4] (O_RSYNC): Likewise.
58720         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
58721         Likewise.
58722         [XPG3 || XPG4] (pthread_sigmask): Likewise.
58723         [XPG3 || XPG4] (sigqueue): Likewise.
58724         [XPG3 || XPG4] (sigtimedwait): Likewise.
58725         [XPG3 || XPG4] (sigwaitinfo): Likewise.
58726         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
58727         [XPG3 || XPG4] (vsnprintf): Likewise.
58728         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
58729         Likewise.
58730         [XPG3 || XPG4] (blksize_t): Likewise.
58731         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
58732         Likewise.
58733         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
58734         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
58735         [XPG3 || XPG4] (struct itimerspec): Likewise.
58736         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
58737         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
58738         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
58739         [XPG3 || XPG4] (clockid_t): Likewise.
58740         [XPG3 || XPG4] (timer_t): Likewise.
58741         [XPG3 || XPG4] (clock_getres): Likewise.
58742         [XPG3 || XPG4] (clock_gettime): Likewise.
58743         [XPG3 || XPG4] (clock_settime): Likewise.
58744         [XPG3 || XPG4] (nanosleep): Likewise.
58745         [XPG3 || XPG4] (timer_create): Likewise.
58746         [XPG3 || XPG4] (timer_delete): Likewise.
58747         [XPG3 || XPG4] (timer_gettime): Likewise.
58748         [XPG3 || XPG4] (timer_getoverrun): Likewise.
58749         [XPG3 || XPG4] (timer_settime): Likewise.
58750         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
58751         [XPG3 || XPG4] (getlogin_r): Likewise.
58752         [XPG3 || XPG4] (pread): Likewise.
58753         [XPG3 || XPG4] (pthread_atfork): Likewise.
58754         [XPG3 || XPG4] (pwrite): Likewise.
58756         [BZ #14835]
58757         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
58758         <bits/siginfo.h>.
58760 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58762         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
58763         finalizing MALLSTREAM.
58765         * sysdeps/mach/hurd/syncfs.c: New file.
58767 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58769         [BZ #14719]
58770         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
58771         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
58772         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
58773         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
58774         (_nss_dns_gethostbyname4_r): Likewise.
58775         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
58776         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
58778 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
58780         [BZ #13763]
58781         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
58783 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
58785         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
58786         * elf/cache.c (print_entry): Print ",AArch64" for
58787         FLAG_AARCH64_LIB64
58789         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
58790         * elf/cache.c (print_entry): Print ",hard-float" for
58791         FLAG_ARM_LIBHF.
58793 2012-11-18  David S. Miller  <davem@davemloft.net>
58795         With help from Joseph Myers.
58796         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
58797         cutoff to 2**-13.
58798         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
58799         cutoff to 2**-25.
58800         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
58801         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
58802         small.
58803         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
58804         * math/libm-test.inc (y0_test): New tests.
58805         (y1_test): New tests.
58806         * sysdeps/i386/fpu/libm-test-ulps: Update.
58807         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58808         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58810 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
58812         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
58813         64-bit targets.
58814         * configure: Regenerated.
58816 2012-11-17  David S. Miller  <davem@davemloft.net>
58818         [BZ #14811]
58819         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
58820         nonzero exponents with absolute value below 0x1p-128 to +/-
58821         0x1p-128.
58823 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
58825         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
58827         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
58829         * posix/getconf-speclist.c: New file.
58830         * posix/posix-envs.def: Likewise.
58831         * posix/confstr.c (START_ENV_GROUP): New macro.
58832         (END_ENV_GROUP): Likewise.
58833         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58834         (KNOWN_PRESENT_ENV_STRING): Likewise.
58835         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58836         (UNKNOWN_ENVIRONMENT): Likewise.
58837         (confstr): Include posix-envs.def instead of handling
58838         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
58839         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
58840         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
58841         (END_ENV_GROUP): Likewise.
58842         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58843         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58844         (UNKNOWN_ENVIRONMENT): Likewise.
58845         (__sysconf): Include posix-envs.def instead of handling associated
58846         cases directly here.
58847         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
58848         preprocessing getconf-speclist.c rather than running getconf or
58849         generating empty file.
58851 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
58853         * scripts/check-local-headers.sh: Ignore 'mach' headers.
58855 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
58857         [BZ #14672]
58858         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
58860 2012-11-16  David S. Miller  <davem@davemloft.net>
58862         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
58863         smaller than LDBL_EPSILON/2.0L, just return xm1.
58865 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
58867         * elf/tst-array1.c (init): Set constructor priority to 1000.
58868         (fini): Set destructor priority to 1000.
58869         * elf/tst-array2dep.c: Likewise.
58871 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58873         [BZ #11741]
58874         * libio/fileops.c (_IO_new_file_write): Correctly return error.
58875         (_IO_new_file_xsputn): Also return EOF if none of the input
58876         data was written when overflow failed.
58877         * libio/iopadn.c (_IO_padn): Likewise.
58878         * libio/iowpadn.c (_IO_wpadn): Likewise.
58879         * stdio-common/tst-put-error.c: Add copyright notice.
58880         (do_test): Add case for printing padded string.
58881         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58882         _IO_padn returned error.
58883         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58884         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58885         return EOF.
58887 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58889         * libio/libioP.h: Add comment note that the references to C++
58890         bits are now obsolete.
58892 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58894         * math/libm-test.inc (check_complex): Use asprintf.
58896 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
58898         * debug/pcprofiledump.c (print_version): Update copyright year.
58899         * malloc/memusagestat.c (print_version): Likewise.
58901 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
58903         [BZ #14831]
58904         * elf/Makefile (tests): Add tst-audit8.
58905         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
58906         ($(objpfx)tst-audit8.out): New target.
58907         (tst-audit8-ENV): New variable.
58908         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
58909         audit if l_reloc_result is NULL.
58910         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
58911         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
58912         * elf/tst-audit8.c: New file.
58914 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58916         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
58917         * misc/Makefile (CFLAGS-select.c): Define.
58918         * posix/Makefile (CFLAGS-pause.c): Define.
58920 2012-11-13  David S. Miller  <davem@davemloft.net>
58922         * crypt/Makefile: Move test targets after toplevel Rules
58923         inclusion.  Grab any necessary sysdep routines when linking.
58924         * crypt/md5.c (md5_process_block): Remove define, we will always
58925         name it __md5_process_block.
58926         (md5_finish_ctx): Update md5_process_block call.
58927         (md5_stream): Likewise.
58928         (md5_process_bytes): Likewise.
58929         (md5_process_block): Rename to __md5_process_block and move to ...
58930         * crypt/md5-block.c: ... here.
58931         * crypt/sha256.c (sha256_process_block): Move to ...
58932         * crypt/sha256-block.c: ... here.
58933         * crypt/sha512.c (sha512_process_block): Move to ...
58934         * crypt/sha512-block.c: ... here.
58935         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
58936         path.
58937         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
58938         * sysdeps/sparc/sparc64/multiarch/Makefile
58939         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
58940         crypt subdir.
58941         (localedef-aux): Add md5 crypto assembler when in locale subdir.
58942         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
58943         multiarch changes.
58944         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
58945         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
58946         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
58947         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
58948         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
58949         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
58950         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
58951         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
58952         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
58953         file.
58954         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
58955         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
58956         file.
58957         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
58959 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
58961         * timezone/tzselect.ksh: Update from tzcode git revision
58962         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
58963         * timezone/zdump.c: Likewise.
58964         * timezone/zic.c: Likewise.
58965         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
58966         in TZVERSION setting, not $(PKGVERSION).
58967         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
58968         REPORT_BUGS_TO settings.
58970         [BZ #14838]
58971         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
58972         macro.
58974 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58976         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
58977         detection to immediately after _FP_ROUND().
58978         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
58979         bits are 0.
58981 2012-11-11  David S. Miller  <davem@davemloft.net>
58983         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
58984         inttypes.h
58985         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
58986         __close rather than their public counterparts.
58988 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
58990         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
58991         file.
58992         [UNIX98] (sem_timedwait): Do not expect.
58993         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
58994         [XPG4 || UNIX98] (sockatmark): Do not expect.
58995         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
58996         (clock_getcpuclockid): Do not expect.
58997         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
58998         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
58999         Do not expect.
59000         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
59001         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
59002         [UNIX98] (vwscanf): Likewise.
59003         [UNIX98] (vswscanf): Likewise.
59005 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
59007         * timezone/version.h: Remove file.
59008         * timezone/README: Do not refer to version.h.
59009         * timezone/Makefile ($(objpfx)zic.o): New dependency on
59010         $(objpfx)version.h.
59011         ($(objpfx)zdump.o): Likewise.
59012         ($(objpfx)version.h): New target.
59014         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
59015         2012i.
59016         * timezone/README: Don't mention modification to tzselect.ksh.
59017         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
59018         work on unmodified tzselect.ksh.  Substitute version numbers in
59019         tzselect.ksh.
59021         * Makefile (format-me): Remove.
59022         (INSTALL): Adjust indentation.  Use commands directly instead of
59023         using $(format-me).
59025         * aclocal.m4 (ACX_PKGVERSION): New macro.
59026         (ACX_BUGURL): Likewise.
59027         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
59028         (PKGVERSION): New AC_DEFINE_UNQUOTED.
59029         (REPORT_BUGS_TO): Likewise.
59030         * configure: Regenerated.
59031         * config.h.in (PKGVERSION): New macro.
59032         (REPORT_BUGS_TO): Likewise.
59033         * config.make.in (PKGVERSION): New variable.
59034         (PKGVERSION_TEXI): Likewise.
59035         (REPORT_BUGS_TO): Likewise.
59036         (REPORT_BUGS_TEXI): Likewise.
59037         * Makefile (format-me): Use -I$(common-objpfx)manual.
59038         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
59039         ($(common-objpfx)manual/%): New target.
59040         (manual/%): Remove target.
59041         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
59042         (print_version): Use PKGVERSION.
59043         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
59044         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
59045         and REPORT_BUGS_TO.
59046         ($(objpfx)xtrace): Likewise.
59047         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
59048         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
59049         (print_version): Use PKGVERSION.
59050         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
59051         (do_version): Use PKGVERSION.
59052         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
59053         REPORT_BUGS_TO.
59054         (common-ldd-rewrite): Likewise.
59055         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
59056         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
59057         (print_version): Use PKGVERSION.
59058         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
59059         * elf/pldd.c (argp_program_bug_address): Remove variable.
59060         (more_help): New function.
59061         (argp): Use more_help.
59062         (print_version): Use PKGVERSION.
59063         * elf/sln.c (main): Use PKGVERSION.
59064         (usage): Use REPORT_BUGS_TO.
59065         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
59066         (top level): Use PKGVERSION.
59067         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
59068         (print_version): Use PKGVERSION.
59069         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
59070         (print_version): Use PKGVERSION.
59071         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
59072         (print_version): Use PKGVERSION.
59073         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
59074         (print_version): Use PKGVERSION.
59075         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
59076         (print_version): Use PKGVERSION.
59077         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
59078         (print_version): Use PKGVERSION.
59079         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
59080         and BUGURL.
59081         ($(objpfx)memusage): Likewise.
59082         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
59083         (do_version): Use PKGVERSION.
59084         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
59085         (print_version): Use PKGVERSION.
59086         * malloc/mtrace.pl ($PACKAGE): Remove variable.
59087         ($PKGVERSION): New variable.
59088         ($REPORT_BUGS_TO): Likewise.
59089         (usage): Use $REPORT_BUGS_TO.
59090         (top level): Use $PKGVERSION.
59091         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
59092         ($(objpfx)pkgvers.texi): New rule.
59093         ($(objpfx)stamp-pkgvers): Likewise.
59094         * manual/install.texi: Include pkgvers.texi.
59095         (--with-pkgversion): Document new configure option.
59096         (--with-bugurl): Likewise.
59097         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
59098         than necessarily for this particular distribution.  Use
59099         REPORT_BUGS_TO for where to report bugs.
59100         * INSTALL: Regenerated.
59101         * manual/libc.texinfo: Include pkgvers.texi.
59102         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
59103         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
59104         (print_version): Use PKGVERSION.
59105         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
59106         (print_version): Use PKGVERSION.
59107         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
59108         (print_version): Use PKGVERSION.
59109         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
59110         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
59111         macro.
59112         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
59113         (print_version): Use PKGVERSION.
59114         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
59115         (print_version): Use PKGVERSION.
59116         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
59117         and PKGVERSION.
59119         * timezone/checktab.awk: Update from tzcode 2012i.
59120         * timezone/ialloc.c: Likewise.
59121         * timezone/private.h: Likewise.
59122         * timezone/scheck.c: Likewise.
59123         * timezone/tzfile.h: Likewise.
59124         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
59125         (TZVERSION): Hardcode tzcode version number.
59126         * timezone/zdump.c: Update from tzcode 2012i.
59127         * timezone/zic.c: Likewise.
59128         * timezone/version.h: New file.
59129         * timezone/README: Describe version.h.  Update upstream location.
59131         [BZ #14824]
59132         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
59133         (mktemp): Enable declaration.
59134         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
59135         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
59136         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
59137         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
59138         Likewise.
59139         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
59140         Likewise.
59141         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
59142         Likewise.
59143         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
59144         Likewise.
59145         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
59146         Likewise.
59147         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
59148         Likewise.
59150         [BZ #14821]
59151         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
59152         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
59153         for copies of such integer values.
59154         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59155         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59157 2012-11-09  Andreas Jaeger  <aj@suse.de>
59159         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
59160         definitions and declarations that are provided by
59161         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59163 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59165         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
59166         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
59167         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
59168         definition.
59170 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59172         * elf/elf.h: Update comment before AArch64 relocations.
59174 2012-11-07  David S. Miller  <davem@davemloft.net>
59176         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
59177         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
59178         (__start_context): Declare.
59179         (__makecontext_ret): Delete.
59180         (__makecontext): Hook up __start_context instead of
59181         __makecontext_ret.
59182         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
59183         (sysdep_routines): Add __start_context when in stdlib.
59185 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59187         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
59188         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
59189         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
59190         hardcoded "nm".
59191         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
59192         (READELF): New variable.  Use it instead of hardcoded "readelf".
59194 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59196         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
59197         * sysdeps/x86/Makefile: Here.
59198         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
59199         * sysdeps/x86/tst-xmmymm.sh: This.
59201 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59203         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
59204         expectations.
59205         [UNIX98] (pthread_barrier_t): Do not expect.
59206         [UNIX98] (pthread_barrierattr_t): Likewise.
59207         [UNIX98] (pthread_spinlock_t): Likewise.
59208         [UNIX98] (pthread_barrier_destroy): Likewise.
59209         [UNIX98] (pthread_barrier_init): Likewise.
59210         [UNIX98] (pthread_barrier_wait): Likewise.
59211         [UNIX98] (pthread_barrierattr_destroy): Likewise.
59212         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
59213         [UNIX98] (pthread_barrierattr_init): Likewise.
59214         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
59215         [UNIX98] (pthread_getcpuclockid): Likewise.
59216         [UNIX98] (pthread_mutex_timedlock): Likewise.
59217         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
59218         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
59219         [UNIX98] (pthread_sigmask): Likewise.
59220         [UNIX98] (pthread_spin_destroy): Likewise.
59221         [UNIX98] (pthread_spin_init): Likewise.
59222         [UNIX98] (pthread_spin_lock): Likewise.
59223         [UNIX98] (pthread_spin_trylock): Likewise.
59224         [UNIX98] (pthread_spin_unlock): Likewise.
59225         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
59226         Do not expect.
59227         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
59228         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
59229         [XPG3 || XPG4] (pthread_cond_t): Likewise.
59230         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
59231         [XPG3 || XPG4] (pthread_key_t): Likewise.
59232         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
59233         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
59234         [XPG3 || XPG4] (pthread_once_t): Likewise.
59235         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
59236         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
59237         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
59238         [XPG3 || XPG4] (pthread_t): Likewise.
59240         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
59241         not expect.
59242         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
59244         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
59245         Change function return type to int.
59247         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
59248         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
59249         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
59250         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
59251         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
59252         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
59253         [!POSIX] (posix_madvise): Likewise.
59254         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
59255         && !UNIX98].
59256         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
59257         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
59258         (mode_t): Likewise.
59259         (posix_mem_offset): Likewise.
59260         (posix_typed_mem_get_info): Likewise.
59261         (posix_typed_mem_open): Likewise.
59263         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
59264         Change condition to [XOPEN2K8].
59266         * conform/conformtest.pl: Preprocess allow-header data with -x c
59267         instead of from stdin.
59268         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
59269         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
59270         [C99-based standards] (cerfc): Likewise.
59271         [C99-based standards] (cexp2): Likewise.
59272         [C99-based standards] (cexpm1): Likewise.
59273         [C99-based standards] (clog10): Likewise.
59274         [C99-based standards] (clog1p): Likewise.
59275         [C99-based standards] (clog2): Likewise.
59276         [C99-based standards] (clgamma): Likewise.
59277         [C99-based standards] (ctgamma): Likewise.
59278         [C99-based standards] (cerff): Likewise.
59279         [C99-based standards] (cerfcf): Likewise.
59280         [C99-based standards] (cexp2f): Likewise.
59281         [C99-based standards] (cexpm1f): Likewise.
59282         [C99-based standards] (clog10f): Likewise.
59283         [C99-based standards] (clog1pf): Likewise.
59284         [C99-based standards] (clog2f): Likewise.
59285         [C99-based standards] (clgammaf): Likewise.
59286         [C99-based standards] (ctgammaf): Likewise.
59287         [C99-based standards] (cerfl): Likewise.
59288         [C99-based standards] (cerfcl): Likewise.
59289         [C99-based standards] (cexp2l): Likewise.
59290         [C99-based standards] (cexpm1l): Likewise.
59291         [C99-based standards] (clog10l): Likewise.
59292         [C99-based standards] (clog1pl): Likewise.
59293         [C99-based standards] (clog2l): Likewise.
59294         [C99-based standards] (clgammal): Likewise.
59295         [C99-based standards] (ctgammal): Likewise.
59296         * conform/data/inttypes.h-data [C99-based standards]: Include
59297         stdint.h-data.  Remove all expectations for stdint.h contents.
59298         [C99-based standards] (PRI*): Do not allow.
59299         [C99-based standards] (SCN*): Likewise.
59300         [C99-based standards] (*_t): Likewise.
59301         [C99-based-standards] (PRId8): Expect macro.
59302         [C99-based-standards] (PRIi8): Likewise.
59303         [C99-based-standards] (PRIo8): Likewise.
59304         [C99-based-standards] (PRIu8): Likewise.
59305         [C99-based-standards] (PRIx8): Likewise.
59306         [C99-based-standards] (PRIX8): Likewise.
59307         [C99-based-standards] (SCNd8): Likewise.
59308         [C99-based-standards] (SCNi8): Likewise.
59309         [C99-based-standards] (SCNo8): Likewise.
59310         [C99-based-standards] (SCNu8): Likewise.
59311         [C99-based-standards] (SCNx8): Likewise.
59312         [C99-based-standards] (PRIdLEAST8): Likewise.
59313         [C99-based-standards] (PRIiLEAST8): Likewise.
59314         [C99-based-standards] (PRIoLEAST8): Likewise.
59315         [C99-based-standards] (PRIuLEAST8): Likewise.
59316         [C99-based-standards] (PRIxLEAST8): Likewise.
59317         [C99-based-standards] (PRIXLEAST8): Likewise.
59318         [C99-based-standards] (SCNdLEAST8): Likewise.
59319         [C99-based-standards] (SCNiLEAST8): Likewise.
59320         [C99-based-standards] (SCNoLEAST8): Likewise.
59321         [C99-based-standards] (SCNuLEAST8): Likewise.
59322         [C99-based-standards] (SCNxLEAST8): Likewise.
59323         [C99-based-standards] (PRIdFAST8): Likewise.
59324         [C99-based-standards] (PRIiFAST8): Likewise.
59325         [C99-based-standards] (PRIoFAST8): Likewise.
59326         [C99-based-standards] (PRIuFAST8): Likewise.
59327         [C99-based-standards] (PRIxFAST8): Likewise.
59328         [C99-based-standards] (PRIXFAST8): Likewise.
59329         [C99-based-standards] (SCNdFAST8): Likewise.
59330         [C99-based-standards] (SCNiFAST8): Likewise.
59331         [C99-based-standards] (SCNoFAST8): Likewise.
59332         [C99-based-standards] (SCNuFAST8): Likewise.
59333         [C99-based-standards] (SCNxFAST8): Likewise.
59334         [C99-based-standards] (PRId16): Likewise.
59335         [C99-based-standards] (PRIi16): Likewise.
59336         [C99-based-standards] (PRIo16): Likewise.
59337         [C99-based-standards] (PRIu16): Likewise.
59338         [C99-based-standards] (PRIx16): Likewise.
59339         [C99-based-standards] (PRIX16): Likewise.
59340         [C99-based-standards] (SCNd16): Likewise.
59341         [C99-based-standards] (SCNi16): Likewise.
59342         [C99-based-standards] (SCNo16): Likewise.
59343         [C99-based-standards] (SCNu16): Likewise.
59344         [C99-based-standards] (SCNx16): Likewise.
59345         [C99-based-standards] (PRIdLEAST16): Likewise.
59346         [C99-based-standards] (PRIiLEAST16): Likewise.
59347         [C99-based-standards] (PRIoLEAST16): Likewise.
59348         [C99-based-standards] (PRIuLEAST16): Likewise.
59349         [C99-based-standards] (PRIxLEAST16): Likewise.
59350         [C99-based-standards] (PRIXLEAST16): Likewise.
59351         [C99-based-standards] (SCNdLEAST16): Likewise.
59352         [C99-based-standards] (SCNiLEAST16): Likewise.
59353         [C99-based-standards] (SCNoLEAST16): Likewise.
59354         [C99-based-standards] (SCNuLEAST16): Likewise.
59355         [C99-based-standards] (SCNxLEAST16): Likewise.
59356         [C99-based-standards] (PRIdFAST16): Likewise.
59357         [C99-based-standards] (PRIiFAST16): Likewise.
59358         [C99-based-standards] (PRIoFAST16): Likewise.
59359         [C99-based-standards] (PRIuFAST16): Likewise.
59360         [C99-based-standards] (PRIxFAST16): Likewise.
59361         [C99-based-standards] (PRIXFAST16): Likewise.
59362         [C99-based-standards] (SCNdFAST16): Likewise.
59363         [C99-based-standards] (SCNiFAST16): Likewise.
59364         [C99-based-standards] (SCNoFAST16): Likewise.
59365         [C99-based-standards] (SCNuFAST16): Likewise.
59366         [C99-based-standards] (SCNxFAST16): Likewise.
59367         [C99-based-standards] (PRId32): Likewise.
59368         [C99-based-standards] (PRIi32): Likewise.
59369         [C99-based-standards] (PRIo32): Likewise.
59370         [C99-based-standards] (PRIu32): Likewise.
59371         [C99-based-standards] (PRIx32): Likewise.
59372         [C99-based-standards] (PRIX32): Likewise.
59373         [C99-based-standards] (SCNd32): Likewise.
59374         [C99-based-standards] (SCNi32): Likewise.
59375         [C99-based-standards] (SCNo32): Likewise.
59376         [C99-based-standards] (SCNu32): Likewise.
59377         [C99-based-standards] (SCNx32): Likewise.
59378         [C99-based-standards] (PRIdLEAST32): Likewise.
59379         [C99-based-standards] (PRIiLEAST32): Likewise.
59380         [C99-based-standards] (PRIoLEAST32): Likewise.
59381         [C99-based-standards] (PRIuLEAST32): Likewise.
59382         [C99-based-standards] (PRIxLEAST32): Likewise.
59383         [C99-based-standards] (PRIXLEAST32): Likewise.
59384         [C99-based-standards] (SCNdLEAST32): Likewise.
59385         [C99-based-standards] (SCNiLEAST32): Likewise.
59386         [C99-based-standards] (SCNoLEAST32): Likewise.
59387         [C99-based-standards] (SCNuLEAST32): Likewise.
59388         [C99-based-standards] (SCNxLEAST32): Likewise.
59389         [C99-based-standards] (PRIdFAST32): Likewise.
59390         [C99-based-standards] (PRIiFAST32): Likewise.
59391         [C99-based-standards] (PRIoFAST32): Likewise.
59392         [C99-based-standards] (PRIuFAST32): Likewise.
59393         [C99-based-standards] (PRIxFAST32): Likewise.
59394         [C99-based-standards] (PRIXFAST32): Likewise.
59395         [C99-based-standards] (SCNdFAST32): Likewise.
59396         [C99-based-standards] (SCNiFAST32): Likewise.
59397         [C99-based-standards] (SCNoFAST32): Likewise.
59398         [C99-based-standards] (SCNuFAST32): Likewise.
59399         [C99-based-standards] (SCNxFAST32): Likewise.
59400         [C99-based-standards] (PRId64): Likewise.
59401         [C99-based-standards] (PRIi64): Likewise.
59402         [C99-based-standards] (PRIo64): Likewise.
59403         [C99-based-standards] (PRIu64): Likewise.
59404         [C99-based-standards] (PRIx64): Likewise.
59405         [C99-based-standards] (PRIX64): Likewise.
59406         [C99-based-standards] (SCNd64): Likewise.
59407         [C99-based-standards] (SCNi64): Likewise.
59408         [C99-based-standards] (SCNo64): Likewise.
59409         [C99-based-standards] (SCNu64): Likewise.
59410         [C99-based-standards] (SCNx64): Likewise.
59411         [C99-based-standards] (PRIdLEAST64): Likewise.
59412         [C99-based-standards] (PRIiLEAST64): Likewise.
59413         [C99-based-standards] (PRIoLEAST64): Likewise.
59414         [C99-based-standards] (PRIuLEAST64): Likewise.
59415         [C99-based-standards] (PRIxLEAST64): Likewise.
59416         [C99-based-standards] (PRIXLEAST64): Likewise.
59417         [C99-based-standards] (SCNdLEAST64): Likewise.
59418         [C99-based-standards] (SCNiLEAST64): Likewise.
59419         [C99-based-standards] (SCNoLEAST64): Likewise.
59420         [C99-based-standards] (SCNuLEAST64): Likewise.
59421         [C99-based-standards] (SCNxLEAST64): Likewise.
59422         [C99-based-standards] (PRIdFAST64): Likewise.
59423         [C99-based-standards] (PRIiFAST64): Likewise.
59424         [C99-based-standards] (PRIoFAST64): Likewise.
59425         [C99-based-standards] (PRIuFAST64): Likewise.
59426         [C99-based-standards] (PRIxFAST64): Likewise.
59427         [C99-based-standards] (PRIXFAST64): Likewise.
59428         [C99-based-standards] (SCNdFAST64): Likewise.
59429         [C99-based-standards] (SCNiFAST64): Likewise.
59430         [C99-based-standards] (SCNoFAST64): Likewise.
59431         [C99-based-standards] (SCNuFAST64): Likewise.
59432         [C99-based-standards] (SCNxFAST64): Likewise.
59433         [C99-based-standards] (PRIdMAX): Likewise.
59434         [C99-based-standards] (PRIiMAX): Likewise.
59435         [C99-based-standards] (PRIoMAX): Likewise.
59436         [C99-based-standards] (PRIuMAX): Likewise.
59437         [C99-based-standards] (PRIxMAX): Likewise.
59438         [C99-based-standards] (PRIXMAX): Likewise.
59439         [C99-based-standards] (SCNdMAX): Likewise.
59440         [C99-based-standards] (SCNiMAX): Likewise.
59441         [C99-based-standards] (SCNoMAX): Likewise.
59442         [C99-based-standards] (SCNuMAX): Likewise.
59443         [C99-based-standards] (SCNxMAX): Likewise.
59444         [C99-based-standards] (PRIdPTR): Likewise.
59445         [C99-based-standards] (PRIiPTR): Likewise.
59446         [C99-based-standards] (PRIoPTR): Likewise.
59447         [C99-based-standards] (PRIuPTR): Likewise.
59448         [C99-based-standards] (PRIxPTR): Likewise.
59449         [C99-based-standards] (PRIXPTR): Likewise.
59450         [C99-based-standards] (SCNdPTR): Likewise.
59451         [C99-based-standards] (SCNiPTR): Likewise.
59452         [C99-based-standards] (SCNoPTR): Likewise.
59453         [C99-based-standards] (SCNuPTR): Likewise.
59454         [C99-based-standards] (SCNxPTR): Likewise.
59455         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
59456         allow.
59457         * conform/data/stdint.h-data: Update comments to clarify
59458         requirements.
59459         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
59460         type.
59461         [C99-based standards] (INT8_MAX): Likewise.
59462         [C99-based standards] (INT16_MIN): Likewise.
59463         [C99-based standards] (INT16_MAX): Likewise.
59464         [C99-based standards] (INT32_MIN): Likewise.
59465         [C99-based standards] (INT32_MAX): Likewise.
59466         [C99-based standards] (INT64_MIN): Likewise.
59467         [C99-based standards] (INT64_MAX): Likewise.
59468         [C99-based standards] (UINT8_MAX): Likewise.
59469         [C99-based standards] (UINT16_MAX): Likewise.
59470         [C99-based standards] (UINT32_MAX): Likewise.
59471         [C99-based standards] (UINT64_MAX): Likewise.
59472         [C99-based standards] (INT_LEAST8_MIN): Likewise.
59473         [C99-based standards] (INT_LEAST8_MAX): Likewise.
59474         [C99-based standards] (INT_LEAST16_MIN): Likewise.
59475         [C99-based standards] (INT_LEAST16_MAX): Likewise.
59476         [C99-based standards] (INT_LEAST32_MIN): Likewise.
59477         [C99-based standards] (INT_LEAST32_MAX): Likewise.
59478         [C99-based standards] (INT_LEAST64_MIN): Likewise.
59479         [C99-based standards] (INT_LEAST64_MAX): Likewise.
59480         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
59481         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
59482         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
59483         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
59484         [C99-based standards] (INT_FAST8_MIN): Likewise.
59485         [C99-based standards] (INT_FAST8_MAX): Likewise.
59486         [C99-based standards] (INT_FAST16_MIN): Likewise.
59487         [C99-based standards] (INT_FAST16_MAX): Likewise.
59488         [C99-based standards] (INT_FAST32_MIN): Likewise.
59489         [C99-based standards] (INT_FAST32_MAX): Likewise.
59490         [C99-based standards] (INT_FAST64_MIN): Likewise.
59491         [C99-based standards] (INT_FAST64_MAX): Likewise.
59492         [C99-based standards] (UINT_FAST8_MAX): Likewise.
59493         [C99-based standards] (UINT_FAST16_MAX): Likewise.
59494         [C99-based standards] (UINT_FAST32_MAX): Likewise.
59495         [C99-based standards] (UINT_FAST64_MAX): Likewise.
59496         [C99-based standards] (INTPTR_MIN): Likewise.
59497         [C99-based standards] (INTPTR_MAX): Likewise.
59498         [C99-based standards] (UINTPTR_MAX): Likewise.
59499         [C99-based standards] (INTMAX_MIN): Likewise.
59500         [C99-based standards] (INTMAX_MAX): Likewise.
59501         [C99-based standards] (UINTMAX_MAX): Likewise.
59502         [C99-based standards] (PTRDIFF_MIN): Likewise.
59503         [C99-based standards] (PTRDIFF_MAX): Likewise.
59504         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
59505         [C99-based standards] (SIZE_MAX): Likewise.
59506         [C99-based standards] (WCHAR_MAX): Likewise.
59507         [C99-based standards] (WINT_MAX): Likewise.
59508         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
59509         constraint on value.
59510         [C99-based standards] (WCHAR_MIN): Likewise.
59511         [C99-based standards] (WINT_MIN): Likewise.
59512         [C99-based standards] (*_t): Allow.
59513         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
59514         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
59515         Include math.h-data and complex.h-data.  Remove all expectations
59516         of math.h and complex.h contents.
59517         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
59518         at end of line.
59519         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
59520         (struct tm): Expect tag.
59521         [C99-based-standards] (wcstof): Expect function.
59522         [C99-based-standards] (wcstold): Likewise.
59523         [C99-based-standards] (wcstoll): Likewise.
59524         [C99-based-standards] (wcstoull): Likewise.
59525         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
59526         macro-int-constant.  Specify type.
59527         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
59528         constraint on value.
59529         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59530         Specify type.
59531         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
59532         Specify value.
59533         [ISO C standards]: Do not allow headers.
59534         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
59535         wcs[abcdefghijklmnopqrstuvwxyz]*.
59536         [ISO C standards] (*_t): Do not allow.
59537         * conform/data/wctype.h-data [C99-based standards] (iswblank):
59538         Expect function.
59539         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
59540         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59541         Specify type.
59542         [ISO C standards]: Do not allow headers.
59543         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
59544         is[abcdefghijklmnopqrstuvwxyz]*.
59545         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
59546         to[abcdefghijklmnopqrstuvwxyz]*.
59547         [ISO C standards] (*_t): Do not allow.
59548         * conform/data/stdalign.h-data: New file.
59549         * conform/data/stdbool.h-data: Likewise.
59550         * conform/data/stdnoreturn.h-data: Likewise.
59552 2012-11-07  Roland McGrath  <roland@hack.frob.com>
59554         [BZ #14815]
59555         * manual/filesys.texi (Directory Entries): Typo fix.
59556         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
59558 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59560         * elf/elf.h (EM_AARCH64): New macro.
59561         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
59562         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
59563         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
59564         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
59565         (R_AARCH64_TLSDESC): Likewise.
59566         (NT_ARM_TLS): Likewise.
59567         (NT_ARM_HW_BREAK): Likewise.
59568         (NT_ARM_HW_WATCH): Likewise.
59570 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59572         [BZ #14811]
59573         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
59574         (__ieee754_powl): Saturate nonzero exponents with absolute value
59575         below 0x1p-79 to +/- 0x1p-79.
59576         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
59577         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
59578         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
59579         nonzero exponents with absolute value below 0x1p-32 to +/-
59580         0x1p-32.
59581         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
59582         (__ieee754_powl): Saturate nonzero exponents with absolute value
59583         below 0x1p-79 to +/- 0x1p-79.
59584         * math/libm-test.inc (pow_test): Add more tests.
59586 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59588         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
59589         _dl_s390_cap_flags with kernel. Increase string length.
59590         (_dl_s390_platforms): Add z196 and zEC12.
59592 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59594         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
59595         Change XOPEN21K to XOPEN2K.
59597 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
59599         * string/memmove.c: Use memcpy when possible.
59601 2012-11-06  Andreas Jaeger  <aj@suse.de>
59603         * po/eo.po: Update from translation team.
59605 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
59607         [BZ #14793]
59608         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
59609         exponent and small x and y exponents, scale x or y up.  Increase
59610         by 2 the exponent used in scaling up.
59611         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59612         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59613         * math/libm-test.inc (fma_test): Add more tests.
59614         (fma_test_towardzero): Likewise.
59615         (fma_test_downward): Likewise.
59616         (fma_test_upward): Likewise.
59618 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
59620         [BZ #14805]
59621         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
59622         fenv_t *.
59624         [BZ #14801]
59625         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
59626         namespace for names of struct fields.
59627         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
59628         fenv_t fields.
59629         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
59630         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
59632 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59634         [BZ #3665]
59635         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
59637 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59639         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
59640         PTR_DEMANGLE.
59642         [BZ #5246]
59643         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
59644         PTR_DEMANGLE.
59646 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
59648         [BZ #14797]
59649         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
59650         definitely overflow as x * y not x * y + z.
59651         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59652         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59653         * math/libm-test.inc (fma_test): Add more tests.
59654         (fma_test_towardzero): Likewise.
59655         (fma_test_downward): Likewise.
59656         (fma_test_upward): Likewise.
59658 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59660         [BZ #157]
59662         * include/stub-tag.h: Remove file.
59663         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
59664         '#include' of it.
59665         * manual/maint.texi (Porting): Don't reference it.
59666         * Makerules ($(objpfx)stubs): Likewise.
59667         * dirent/closedir.c: Don't include <stub-tag.h>.
59668         * dirent/dirfd.c: Likewise.
59669         * dirent/fdopendir.c: Likewise.
59670         * dirent/getdents.c: Likewise.
59671         * dirent/getdents64.c: Likewise.
59672         * dirent/opendir.c: Likewise.
59673         * dirent/readdir.c: Likewise.
59674         * dirent/readdir64.c: Likewise.
59675         * dirent/readdir64_r.c: Likewise.
59676         * dirent/readdir_r.c: Likewise.
59677         * dirent/rewinddir.c: Likewise.
59678         * dirent/seekdir.c: Likewise.
59679         * dirent/telldir.c: Likewise.
59680         * gmon/profil.c: Likewise.
59681         * grp/setgroups.c: Likewise.
59682         * inet/if_index.c: Likewise.
59683         * io/access.c: Likewise.
59684         * io/chdir.c: Likewise.
59685         * io/chmod.c: Likewise.
59686         * io/chown.c: Likewise.
59687         * io/close.c: Likewise.
59688         * io/dup.c: Likewise.
59689         * io/dup2.c: Likewise.
59690         * io/dup3.c: Likewise.
59691         * io/euidaccess.c: Likewise.
59692         * io/faccessat.c: Likewise.
59693         * io/fchdir.c: Likewise.
59694         * io/fchmod.c: Likewise.
59695         * io/fchmodat.c: Likewise.
59696         * io/fchown.c: Likewise.
59697         * io/fchownat.c: Likewise.
59698         * io/fcntl.c: Likewise.
59699         * io/flock.c: Likewise.
59700         * io/fstatfs.c: Likewise.
59701         * io/fstatfs64.c: Likewise.
59702         * io/fstatvfs.c: Likewise.
59703         * io/fstatvfs64.c: Likewise.
59704         * io/futimens.c: Likewise.
59705         * io/fxstat.c: Likewise.
59706         * io/fxstat64.c: Likewise.
59707         * io/fxstatat.c: Likewise.
59708         * io/fxstatat64.c: Likewise.
59709         * io/getcwd.c: Likewise.
59710         * io/isatty.c: Likewise.
59711         * io/lchmod.c: Likewise.
59712         * io/lchown.c: Likewise.
59713         * io/link.c: Likewise.
59714         * io/linkat.c: Likewise.
59715         * io/lseek.c: Likewise.
59716         * io/lseek64.c: Likewise.
59717         * io/lxstat64.c: Likewise.
59718         * io/mkdir.c: Likewise.
59719         * io/mkdirat.c: Likewise.
59720         * io/mkfifo.c: Likewise.
59721         * io/mkfifoat.c: Likewise.
59722         * io/open.c: Likewise.
59723         * io/open64.c: Likewise.
59724         * io/openat.c: Likewise.
59725         * io/openat64.c: Likewise.
59726         * io/pipe.c: Likewise.
59727         * io/pipe2.c: Likewise.
59728         * io/poll.c: Likewise.
59729         * io/posix_fadvise.c: Likewise.
59730         * io/posix_fadvise64.c: Likewise.
59731         * io/posix_fallocate.c: Likewise.
59732         * io/posix_fallocate64.c: Likewise.
59733         * io/read.c: Likewise.
59734         * io/readlink.c: Likewise.
59735         * io/readlinkat.c: Likewise.
59736         * io/rmdir.c: Likewise.
59737         * io/sendfile.c: Likewise.
59738         * io/sendfile64.c: Likewise.
59739         * io/statfs.c: Likewise.
59740         * io/statfs64.c: Likewise.
59741         * io/statvfs.c: Likewise.
59742         * io/statvfs64.c: Likewise.
59743         * io/symlink.c: Likewise.
59744         * io/symlinkat.c: Likewise.
59745         * io/ttyname.c: Likewise.
59746         * io/ttyname_r.c: Likewise.
59747         * io/umask.c: Likewise.
59748         * io/unlink.c: Likewise.
59749         * io/unlinkat.c: Likewise.
59750         * io/utime.c: Likewise.
59751         * io/utimensat.c: Likewise.
59752         * io/write.c: Likewise.
59753         * io/xmknod.c: Likewise.
59754         * io/xmknodat.c: Likewise.
59755         * io/xstat.c: Likewise.
59756         * io/xstat64.c: Likewise.
59757         * login/getpt.c: Likewise.
59758         * login/grantpt.c: Likewise.
59759         * login/unlockpt.c: Likewise.
59760         * math/e_acoshl.c: Likewise.
59761         * math/e_acosl.c: Likewise.
59762         * math/e_asinl.c: Likewise.
59763         * math/e_atan2l.c: Likewise.
59764         * math/e_atanhl.c: Likewise.
59765         * math/e_coshl.c: Likewise.
59766         * math/e_expl.c: Likewise.
59767         * math/e_fmodl.c: Likewise.
59768         * math/e_gammal_r.c: Likewise.
59769         * math/e_hypotl.c: Likewise.
59770         * math/e_j0l.c: Likewise.
59771         * math/e_j1l.c: Likewise.
59772         * math/e_jnl.c: Likewise.
59773         * math/e_lgammal_r.c: Likewise.
59774         * math/e_log10l.c: Likewise.
59775         * math/e_log2l.c: Likewise.
59776         * math/e_logl.c: Likewise.
59777         * math/e_powl.c: Likewise.
59778         * math/e_rem_pio2l.c: Likewise.
59779         * math/e_sinhl.c: Likewise.
59780         * math/e_sqrtl.c: Likewise.
59781         * math/fclrexcpt.c: Likewise.
59782         * math/fedisblxcpt.c: Likewise.
59783         * math/feenablxcpt.c: Likewise.
59784         * math/fegetenv.c: Likewise.
59785         * math/fegetexcept.c: Likewise.
59786         * math/fegetround.c: Likewise.
59787         * math/feholdexcpt.c: Likewise.
59788         * math/fesetenv.c: Likewise.
59789         * math/fesetround.c: Likewise.
59790         * math/feupdateenv.c: Likewise.
59791         * math/fgetexcptflg.c: Likewise.
59792         * math/fraiseexcpt.c: Likewise.
59793         * math/fsetexcptflg.c: Likewise.
59794         * math/ftestexcept.c: Likewise.
59795         * math/k_cosl.c: Likewise.
59796         * math/k_rem_pio2l.c: Likewise.
59797         * math/k_sinl.c: Likewise.
59798         * math/k_tanl.c: Likewise.
59799         * math/s_asinhl.c: Likewise.
59800         * math/s_atanl.c: Likewise.
59801         * math/s_cbrtl.c: Likewise.
59802         * math/s_erfl.c: Likewise.
59803         * math/s_expm1l.c: Likewise.
59804         * math/s_log1pl.c: Likewise.
59805         * math/s_tanhl.c: Likewise.
59806         * misc/acct.c: Likewise.
59807         * misc/brk.c: Likewise.
59808         * misc/chflags.c: Likewise.
59809         * misc/chroot.c: Likewise.
59810         * misc/fchflags.c: Likewise.
59811         * misc/fgetxattr.c: Likewise.
59812         * misc/flistxattr.c: Likewise.
59813         * misc/fremovexattr.c: Likewise.
59814         * misc/fsetxattr.c: Likewise.
59815         * misc/fsync.c: Likewise.
59816         * misc/ftruncate.c: Likewise.
59817         * misc/futimes.c: Likewise.
59818         * misc/futimesat.c: Likewise.
59819         * misc/getdomain.c: Likewise.
59820         * misc/getdtsz.c: Likewise.
59821         * misc/gethostid.c: Likewise.
59822         * misc/gethostname.c: Likewise.
59823         * misc/getloadavg.c: Likewise.
59824         * misc/getpagesize.c: Likewise.
59825         * misc/getsysstats.c: Likewise.
59826         * misc/getxattr.c: Likewise.
59827         * misc/gtty.c: Likewise.
59828         * misc/ioctl.c: Likewise.
59829         * misc/lgetxattr.c: Likewise.
59830         * misc/listxattr.c: Likewise.
59831         * misc/llistxattr.c: Likewise.
59832         * misc/lremovexattr.c: Likewise.
59833         * misc/lsetxattr.c: Likewise.
59834         * misc/lutimes.c: Likewise.
59835         * misc/madvise.c: Likewise.
59836         * misc/mincore.c: Likewise.
59837         * misc/mlock.c: Likewise.
59838         * misc/mlockall.c: Likewise.
59839         * misc/mmap.c: Likewise.
59840         * misc/mprotect.c: Likewise.
59841         * misc/msync.c: Likewise.
59842         * misc/munlock.c: Likewise.
59843         * misc/munlockall.c: Likewise.
59844         * misc/munmap.c: Likewise.
59845         * misc/preadv.c: Likewise.
59846         * misc/preadv64.c: Likewise.
59847         * misc/ptrace.c: Likewise.
59848         * misc/pwritev.c: Likewise.
59849         * misc/pwritev64.c: Likewise.
59850         * misc/readv.c: Likewise.
59851         * misc/reboot.c: Likewise.
59852         * misc/remap_file_pages.c: Likewise.
59853         * misc/removexattr.c: Likewise.
59854         * misc/revoke.c: Likewise.
59855         * misc/select.c: Likewise.
59856         * misc/setdomain.c: Likewise.
59857         * misc/setegid.c: Likewise.
59858         * misc/seteuid.c: Likewise.
59859         * misc/sethostid.c: Likewise.
59860         * misc/sethostname.c: Likewise.
59861         * misc/setregid.c: Likewise.
59862         * misc/setreuid.c: Likewise.
59863         * misc/setxattr.c: Likewise.
59864         * misc/sstk.c: Likewise.
59865         * misc/stty.c: Likewise.
59866         * misc/swapoff.c: Likewise.
59867         * misc/swapon.c: Likewise.
59868         * misc/sync.c: Likewise.
59869         * misc/syncfs.c: Likewise.
59870         * misc/syscall.c: Likewise.
59871         * misc/truncate.c: Likewise.
59872         * misc/ualarm.c: Likewise.
59873         * misc/usleep.c: Likewise.
59874         * misc/ustat.c: Likewise.
59875         * misc/utimes.c: Likewise.
59876         * misc/vhangup.c: Likewise.
59877         * misc/writev.c: Likewise.
59878         * posix/_exit.c: Likewise.
59879         * posix/alarm.c: Likewise.
59880         * posix/execve.c: Likewise.
59881         * posix/fexecve.c: Likewise.
59882         * posix/fork.c: Likewise.
59883         * posix/fpathconf.c: Likewise.
59884         * posix/getaddrinfo.c: Likewise.
59885         * posix/getegid.c: Likewise.
59886         * posix/geteuid.c: Likewise.
59887         * posix/getgid.c: Likewise.
59888         * posix/getgroups.c: Likewise.
59889         * posix/getlogin.c: Likewise.
59890         * posix/getlogin_r.c: Likewise.
59891         * posix/getpgid.c: Likewise.
59892         * posix/getpid.c: Likewise.
59893         * posix/getppid.c: Likewise.
59894         * posix/getresgid.c: Likewise.
59895         * posix/getresuid.c: Likewise.
59896         * posix/getsid.c: Likewise.
59897         * posix/getuid.c: Likewise.
59898         * posix/glob64.c: Likewise.
59899         * posix/nanosleep.c: Likewise.
59900         * posix/pathconf.c: Likewise.
59901         * posix/pause.c: Likewise.
59902         * posix/posix_madvise.c: Likewise.
59903         * posix/pread.c: Likewise.
59904         * posix/pread64.c: Likewise.
59905         * posix/pwrite.c: Likewise.
59906         * posix/pwrite64.c: Likewise.
59907         * posix/sched_getaffinity.c: Likewise.
59908         * posix/sched_getp.c: Likewise.
59909         * posix/sched_gets.c: Likewise.
59910         * posix/sched_primax.c: Likewise.
59911         * posix/sched_primin.c: Likewise.
59912         * posix/sched_rr_gi.c: Likewise.
59913         * posix/sched_setaffinity.c: Likewise.
59914         * posix/sched_setp.c: Likewise.
59915         * posix/sched_sets.c: Likewise.
59916         * posix/sched_yield.c: Likewise.
59917         * posix/setgid.c: Likewise.
59918         * posix/setlogin.c: Likewise.
59919         * posix/setpgid.c: Likewise.
59920         * posix/setresgid.c: Likewise.
59921         * posix/setresuid.c: Likewise.
59922         * posix/setsid.c: Likewise.
59923         * posix/setuid.c: Likewise.
59924         * posix/sleep.c: Likewise.
59925         * posix/spawni.c: Likewise.
59926         * posix/sysconf.c: Likewise.
59927         * posix/times.c: Likewise.
59928         * posix/wait.c: Likewise.
59929         * posix/wait3.c: Likewise.
59930         * posix/wait4.c: Likewise.
59931         * posix/waitpid.c: Likewise.
59932         * resolv/gai_sigqueue.c: Likewise.
59933         * resource/getpriority.c: Likewise.
59934         * resource/getrlimit.c: Likewise.
59935         * resource/getrusage.c: Likewise.
59936         * resource/nice.c: Likewise.
59937         * resource/setpriority.c: Likewise.
59938         * resource/setrlimit.c: Likewise.
59939         * resource/ulimit.c: Likewise.
59940         * rt/aio_cancel.c: Likewise.
59941         * rt/aio_fsync.c: Likewise.
59942         * rt/aio_read.c: Likewise.
59943         * rt/aio_sigqueue.c: Likewise.
59944         * rt/aio_suspend.c: Likewise.
59945         * rt/aio_write.c: Likewise.
59946         * rt/clock_getres.c: Likewise.
59947         * rt/clock_gettime.c: Likewise.
59948         * rt/clock_nanosleep.c: Likewise.
59949         * rt/clock_settime.c: Likewise.
59950         * rt/lio_listio.c: Likewise.
59951         * rt/mq_close.c: Likewise.
59952         * rt/mq_getattr.c: Likewise.
59953         * rt/mq_notify.c: Likewise.
59954         * rt/mq_open.c: Likewise.
59955         * rt/mq_receive.c: Likewise.
59956         * rt/mq_send.c: Likewise.
59957         * rt/mq_setattr.c: Likewise.
59958         * rt/mq_timedreceive.c: Likewise.
59959         * rt/mq_timedsend.c: Likewise.
59960         * rt/mq_unlink.c: Likewise.
59961         * rt/shm_open.c: Likewise.
59962         * rt/shm_unlink.c: Likewise.
59963         * rt/timer_create.c: Likewise.
59964         * rt/timer_delete.c: Likewise.
59965         * rt/timer_getoverr.c: Likewise.
59966         * rt/timer_gettime.c: Likewise.
59967         * rt/timer_settime.c: Likewise.
59968         * setjmp/__longjmp.c: Likewise.
59969         * setjmp/setjmp.c: Likewise.
59970         * signal/kill.c: Likewise.
59971         * signal/killpg.c: Likewise.
59972         * signal/raise.c: Likewise.
59973         * signal/sigaction.c: Likewise.
59974         * signal/sigaltstack.c: Likewise.
59975         * signal/sigblock.c: Likewise.
59976         * signal/sigignore.c: Likewise.
59977         * signal/sigintr.c: Likewise.
59978         * signal/signal.c: Likewise.
59979         * signal/sigpause.c: Likewise.
59980         * signal/sigpending.c: Likewise.
59981         * signal/sigqueue.c: Likewise.
59982         * signal/sigreturn.c: Likewise.
59983         * signal/sigset.c: Likewise.
59984         * signal/sigsetmask.c: Likewise.
59985         * signal/sigstack.c: Likewise.
59986         * signal/sigsuspend.c: Likewise.
59987         * signal/sigtimedwait.c: Likewise.
59988         * signal/sigvec.c: Likewise.
59989         * signal/sigwait.c: Likewise.
59990         * signal/sigwaitinfo.c: Likewise.
59991         * signal/sysv_signal.c: Likewise.
59992         * socket/accept.c: Likewise.
59993         * socket/accept4.c: Likewise.
59994         * socket/bind.c: Likewise.
59995         * socket/connect.c: Likewise.
59996         * socket/getpeername.c: Likewise.
59997         * socket/getsockname.c: Likewise.
59998         * socket/getsockopt.c: Likewise.
59999         * socket/isfdtype.c: Likewise.
60000         * socket/listen.c: Likewise.
60001         * socket/recv.c: Likewise.
60002         * socket/recvfrom.c: Likewise.
60003         * socket/recvmsg.c: Likewise.
60004         * socket/send.c: Likewise.
60005         * socket/sendmsg.c: Likewise.
60006         * socket/sendto.c: Likewise.
60007         * socket/setsockopt.c: Likewise.
60008         * socket/shutdown.c: Likewise.
60009         * socket/sockatmark.c: Likewise.
60010         * socket/socket.c: Likewise.
60011         * socket/socketpair.c: Likewise.
60012         * stdio-common/ctermid.c: Likewise.
60013         * stdio-common/cuserid.c: Likewise.
60014         * stdio-common/remove.c: Likewise.
60015         * stdio-common/rename.c: Likewise.
60016         * stdio-common/renameat.c: Likewise.
60017         * stdio-common/tempname.c: Likewise.
60018         * stdlib/getcontext.c: Likewise.
60019         * stdlib/makecontext.c: Likewise.
60020         * stdlib/setcontext.c: Likewise.
60021         * stdlib/swapcontext.c: Likewise.
60022         * stdlib/system.c: Likewise.
60023         * streams/fattach.c: Likewise.
60024         * streams/fdetach.c: Likewise.
60025         * streams/getmsg.c: Likewise.
60026         * streams/getpmsg.c: Likewise.
60027         * streams/putmsg.c: Likewise.
60028         * streams/putpmsg.c: Likewise.
60029         * sysdeps/unix/bsd/getpt.c: Likewise.
60030         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
60031         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
60032         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
60033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60034         Likewise.
60035         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
60036         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60037         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
60038         * sysvipc/msgctl.c: Likewise.
60039         * sysvipc/msgget.c: Likewise.
60040         * sysvipc/msgrcv.c: Likewise.
60041         * sysvipc/msgsnd.c: Likewise.
60042         * sysvipc/semctl.c: Likewise.
60043         * sysvipc/semget.c: Likewise.
60044         * sysvipc/semop.c: Likewise.
60045         * sysvipc/semtimedop.c: Likewise.
60046         * sysvipc/shmat.c: Likewise.
60047         * sysvipc/shmctl.c: Likewise.
60048         * sysvipc/shmdt.c: Likewise.
60049         * sysvipc/shmget.c: Likewise.
60050         * termios/tcdrain.c: Likewise.
60051         * termios/tcflow.c: Likewise.
60052         * termios/tcflush.c: Likewise.
60053         * termios/tcgetattr.c: Likewise.
60054         * termios/tcgetpgrp.c: Likewise.
60055         * termios/tcsendbrk.c: Likewise.
60056         * termios/tcsetattr.c: Likewise.
60057         * termios/tcsetpgrp.c: Likewise.
60058         * time/adjtime.c: Likewise.
60059         * time/clock.c: Likewise.
60060         * time/getitimer.c: Likewise.
60061         * time/gettimeofday.c: Likewise.
60062         * time/setitimer.c: Likewise.
60063         * time/settimeofday.c: Likewise.
60064         * time/stime.c: Likewise.
60065         * time/time.c: Likewise.
60067 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
60069         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
60070         /usr/old/bin.
60072         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
60073         instead of spaces.
60074         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
60076 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
60078         [BZ #14796]
60079         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
60080         FE_TONEAREST before applying Dekker multiplication and Knuth
60081         addition.  Clear inexact exceptions and check for exact zero
60082         results afterwards.
60083         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60084         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60085         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60086         * math/libm-test.inc (fma_test): Add more tests.
60087         (fma_test_towardzero): Likewise.
60088         (fma_test_downward): Likewise.
60089         (fma_test_upward): Likewise.
60090         * sysdeps/generic/math_private.h (default_libc_fesetround): New
60091         function.
60092         (libc_fesetround): New macro.
60093         (libc_fesetroundf): Likewise.
60094         (libc_fesetroundl): Likewise.
60095         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
60096         function.
60097         (libc_fesetround_387): Likewise.
60098         (libc_fesetroundf): New macro.
60099         (libc_fesetround): Likewise.
60100         (libc_fesetroundl): Likewise.
60101         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
60102         function.
60103         (libc_fesetroundf): New macro.
60104         (libc_fesetround): Likewise.
60105         (libc_fesetroundl): Likewise.
60106         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
60107         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
60108         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
60109         libm_hidden_ver.
60110         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
60111         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
60112         libm_hidden_def.
60113         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
60114         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
60115         libm_hidden_ver.
60116         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
60117         libm_hidden_def.
60119         [BZ #3439]
60120         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
60121         integer constant usable in #if and use that to give value to enum
60122         constant.
60123         (FE_DIVBYZERO): Likewise.
60124         (FE_UNDERFLOW): Likewise.
60125         (FE_OVERFLOW): Likewise.
60126         (FE_INVALID): Likewise.
60127         (FE_INVALID_SNAN): Likewise.
60128         (FE_INVALID_ISI): Likewise.
60129         (FE_INVALID_IDI): Likewise.
60130         (FE_INVALID_ZDZ): Likewise.
60131         (FE_INVALID_IMZ): Likewise.
60132         (FE_INVALID_COMPARE): Likewise.
60133         (FE_INVALID_SOFTWARE): Likewise.
60134         (FE_INVALID_SQRT): Likewise.
60135         (FE_INVALID_INTEGER_CONVERSION): Likewise.
60136         (FE_TONEAREST): Likewise.
60137         (FE_TOWARDZERO): Likewise.
60138         (FE_UPWARD): Likewise.
60139         (FE_DOWNWARD): Likewise.
60140         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
60141         (FE_DIVBYZERO): Likewise.
60142         (FE_OVERFLOW): Likewise.
60143         (FE_UNDERFLOW): Likewise.
60144         (FE_INEXACT): Likewise.
60145         (FE_TONEAREST): Likewise.
60146         (FE_DOWNWARD): Likewise.
60147         (FE_UPWARD): Likewise.
60148         (FE_TOWARDZERO): Likewise.
60149         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
60150         (FE_UNDERFLOW): Likewise.
60151         (FE_OVERFLOW): Likewise.
60152         (FE_DIVBYZERO): Likewise.
60153         (FE_INVALID): Likewise.
60154         (FE_TONEAREST): Likewise.
60155         (FE_TOWARDZERO): Likewise.
60156         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
60157         (FE_OVERFLOW): Likewise.
60158         (FE_UNDERFLOW): Likewise.
60159         (FE_DIVBYZERO): Likewise.
60160         (FE_INEXACT): Likewise.
60161         (FE_TONEAREST): Likewise.
60162         (FE_TOWARDZERO): Likewise.
60163         (FE_UPWARD): Likewise.
60164         (FE_DOWNWARD): Likewise.
60165         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
60166         (FE_DIVBYZERO): Likewise.
60167         (FE_OVERFLOW): Likewise.
60168         (FE_UNDERFLOW): Likewise.
60169         (FE_INEXACT): Likewise.
60170         (FE_TONEAREST): Likewise.
60171         (FE_DOWNWARD): Likewise.
60172         (FE_UPWARD): Likewise.
60173         (FE_TOWARDZERO): Likewise.
60175 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
60177         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
60179 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
60181         * scripts/cross-test-ssh.sh (command): Use newlines to separate
60182         commands.  Quote $PWD.
60183         (blacklist_exports): Don't use remove_newlines.  Replace "declare
60184         -x" by "export".
60185         (remove_newlines): Remove.
60187 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
60189         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
60190         * stdlib/stdlib.h (atof): Moved to ...
60191         * include/bits/stdlib-float.h: Here.  New file.
60192         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
60193         * stdlib/bits/stdlib-float.h: New file.
60194         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
60195         -mno-sse -mno-mmx.
60196         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
60197         <xmmintrin.h>.
60199 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60201         * conform/conformtest.pl (@headers): Add fenv.h.
60202         * conform/data/fenv.h-data: New file.
60203         * include/fenv.h [_ISOMAC]: Disable all contents of file except
60204         include of <math/fenv.h>.
60206         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
60207         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
60208         && !UNIX98].  Enables tests for XOPEN2K8.
60209         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
60210         POSIX2008]: Likewise.
60212         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
60213         (struct rusage): Do not expect type or its members.
60215         [BZ #3439]
60216         * math/math.h (FP_NAN): Define macro to integer constant usable in
60217         #if and use that to give value to enum constant.
60218         (FP_INFINITE): Likewise.
60219         (FP_ZERO): Likewise.
60220         (FP_SUBNORMAL): Likewise.
60221         (FP_NORMAL): Likewise.
60223 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
60225         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
60226         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
60227         arguments.
60229 2012-11-02  Roland McGrath  <roland@hack.frob.com>
60231         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
60232         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
60233         autoconf-time if not.
60234         * configure.in: Remove AC_PREREQ.
60236 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60238         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
60239         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
60240         of the internal implementation.
60242 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60244         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
60245         except include of <misc/sys/syslog.h>.
60247 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
60250         function returns with a NULL context exit with zero.
60252 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60254         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
60256 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
60258         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
60259         (run_program_cmd): This.
60260         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
60261         (tst_langinfo): New variable.  Use it.
60263 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
60265         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
60266         floating point opcodes.
60268 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60270         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
60271         variable.
60273         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
60275         * sysdeps/mach/hurd/powerpc: Remove directory.
60276         * sysdeps/mach/powerpc: Likewise.
60278 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60280         * scripts/check-local-headers.sh: Ignore c++ headers.
60282 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60284         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
60285         __libc_cleanup_region_start argument.
60287 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
60289         [BZ #14784]
60290         [BZ #14785]
60291         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
60292         x * y using scaling, not as x * y + z.
60293         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60294         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60295         * math/libm-test.inc (fma_test): Add more tests.
60296         (fma_test_towardzero): Likewise.
60297         (fma_test_downward): Likewise.
60298         (fma_test_upward): Likewise.
60300 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60302         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
60304 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60306         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
60307         New variable.
60309 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
60311         * rt/tst-shm.c (worker): Correct checking for mmap failure.
60313 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60316         Fix sort order.
60317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60318         Likewise.
60320 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60323         Fix the order of the list for glibc 2.17.
60324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60325         Likewise.
60327 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60331 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60333         [BZ #14610]
60334         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
60335         for low part of x being zero before using __atanl (y).
60336         * math/libm-test.inc (atan2_test): Add another test.
60338         * manual/install.texi (Configuring and compiling): Document
60339         general use of test-wrapper and test-wrapper-env.
60340         * INSTALL: Regenerated.
60342         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
60343         (__fma): Do not extract and scale down low bits on after-rounding
60344         systems when result rounded to normal precision would have normal
60345         exponent.
60346         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
60347         (__fmal): Do not extract and scale down low bits on after-rounding
60348         systems when result rounded to normal precision would have normal
60349         exponent.
60350         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
60351         (__fmal): Do not extract and scale down low bits on after-rounding
60352         systems when result rounded to normal precision would have normal
60353         exponent.
60354         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
60355         macro.
60356         (fma_test): Add more tests.
60357         (fma_test_towardzero): Likewise.
60358         (fma_test_downward): Likewise.
60359         (fma_test_upward): Likewise.
60361 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
60363         * sysdeps/i386/tininess.h: Renamed to ...
60364         * sysdeps/x86/tininess.h: This.
60365         * sysdeps/x86_64/tininess.h: Removed.
60367 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60369         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
60370         input.  Use $(build-program-cmd).
60371         ($(objpfx)tst-array1-static.out): Likewise.
60372         ($(objpfx)tst-array2.out): Likewise.
60373         ($(objpfx)tst-array3.out): Likewise.
60374         ($(objpfx)tst-array4.out): Likewise.
60375         ($(objpfx)tst-array5.out): Likewise.
60376         ($(objpfx)tst-array5-static.out): Likewise.
60378 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
60380         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
60381         if defined.
60383         * nss/nsswitch.h (nss_interface_function): Provide new
60384         macro for use with NSS functions.
60385         * grp/initgroups.c: Use new macro.
60386         * nss/getXXbyYY.c: Likewise.
60387         * nss/getXXbyYY_r.c: Likewise.
60388         * nss/getXXent.c: Likewise.
60389         * nss/getXXent_r.c: Likewise.
60390         * sysdeps/posix/getaddrinfo.c: Likewise.
60392 2012-10-30  Andreas Jaeger  <aj@suse.de>
60394         * po/ru.po: Update Russion translation from translation project.
60396 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60398         [BZ #14152]
60399         [BZ #14783]
60400         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
60401         result and shift together with sticky bit instead of replicating
60402         round-to-nearest rounding.
60403         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60404         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60405         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
60406         missing underflow exceptions.
60407         (fma_test_towardzero): Add more tests.
60408         (fma_test_downward): Likewise.
60409         (fma_test_upward): Likewise.
60411         [BZ #14047]
60412         * sysdeps/generic/tininess.h: New file.
60413         * sysdeps/i386/tininess.h: Likewise.
60414         * sysdeps/sh/tininess.h: Likewise.
60415         * sysdeps/x86_64/tininess.h: Likewise.
60416         * stdlib/tst-strtod-underflow.c: Likewise.
60417         * stdlib/tst-tininess.c: Likewise.
60418         * stdlib/strtod_l.c: Include <tininess.h>.
60419         (round_and_return): Do not set errno for exact underflow cases.
60420         Force an underflow exception when setting errno for underflow.
60421         Determine underflow based on rounding to normal precision if
60422         TININESS_AFTER_ROUNDING.
60423         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
60424         ERANGE for exact underflow cases.
60425         * stdlib/Makefile (tests): Add tst-tininess and
60426         tst-strtod-underflow.
60427         ($(objpfx)tst-tininess): Use $(link-libm).
60428         ($(objpfx)tst-strtod-underflow): Likewise.
60430 2012-10-30  Andreas Jaeger  <aj@suse.de>
60432         [BZ#14767]
60433         * elf/Makefile (tests): Remove conditional for have-initfini-array
60434         since this is now always required and the variable does not exist
60435         anymore.
60436         (tests-static): Likewise.
60437         (modules-names): Likewise.
60439         * po/eo.po: Add Esperanto translation from translation project.
60441         * elf/tst-array1.c (fini_array): Make writeable so that it can be
60442         merged with constructor/destructor.
60443         (init_array): Likewise.
60444         * elf/tst-array2dep.c (fini_array): Likewise.
60445         (init_array): Likewise.
60447 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
60449         * manual/message.texi: Delete @cartouche tags.
60451 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
60453         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
60454         EOPNOTSUPP.
60455         * sysdeps/mach/hurd/fsync.c: Likewise.
60457         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
60458         [_POSIX_REALTIME_SIGNALS]: Change condition to
60459         [_POSIX_REALTIME_SIGNALS > 0].
60461 2012-10-27  Andreas Jaeger  <aj@suse.de>
60463         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
60464         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
60465         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
60466         [__WORDSIZE != 64]: Likewise.
60468 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
60470         *  iconvdata/tst-table.sh: Remove ${SHELL}.
60471         *  iconvdata/tst-tables.sh: Likewise.
60473 2012-10-25  David S. Miller  <davem@davemloft.net>
60475         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60476         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
60477         of strtoull.
60479         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
60480         ifunc-impl-list.c
60481         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60482         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
60483         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
60484         file.
60486 2012-10-25  Roland McGrath  <roland@hack.frob.com>
60488         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60489         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
60490         __getdirentries.
60492 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60493             Jim Blandy  <jimb@codesourcery.com>
60495         * scripts/cross-test-ssh.sh: New file.
60496         * manual/install.texi (Configuring and compiling): Document use of
60497         cross-test-ssh.sh.
60498         * INSTALL: Regenerated.
60500 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
60502         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
60503         EOPNOTSUPP.
60505 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60507         * Makeconfig (run-program-prefix): Fix comment.
60509 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60510             Jim Blandy  <jimb@codesourcery.com>
60512         * Makeconfig (test-wrapper): New variable,
60513         (test-wrapper-env): Likewise.
60514         [$(cross-compiling) = yes && $(test-wrapper) != ""]
60515         (run-built-tests): Define to yes.
60516         (run-program-prefix): Use $(test-wrapper).
60517         (built-program-cmd): Likewise.
60518         * Rules (make-test-out): Use $(test-wrapper-env) and
60519         $(host-built-program-cmd).
60520         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
60521         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
60522         tst-pathopt.sh.
60523         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
60524         $(test-wrapper-env) to tst-rtld-load-self.sh.
60525         ($(objpfx)order2.out): Use $(test-wrapper).
60526         ($(objpfx)tst-initorder.out): Likewise.
60527         ($(objpfx)tst-initorder2.out): Likewise.
60528         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
60529         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
60530         (test_wrapper_env): New variable.  Use it to run ld.so.
60531         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
60532         Use it to run ld.so.
60533         (test_wrapper_env): Likewise.
60534         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
60535         $(test-wrapper) to run-iconv-test.sh.
60536         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
60537         (ICONV): Use $test_wrapper.
60538         * posix/Makefile ($(objpfx)globtest.out): Pass
60539         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
60540         globtest.sh, not $(run-program-prefix).
60541         * posix/globtest.sh (run_via_rtld_prefix): New variable.
60542         (test_wrapper): Likewise.
60543         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
60544         set together with run_via_rtld_prefix.
60545         (run_program_prefix): Define in terms of test_wrapper and
60546         run_via_rtld_prefix.
60548 2012-10-24  Roland McGrath  <roland@hack.frob.com>
60550         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
60551         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
60552         Targets removed.
60554         [BZ #14743]
60555         * include/time.h: Remove librt_hidden_proto (clock_gettime).
60556         Declare __clock_getres, __clock_gettime, __clock_settime,
60557         __clock_nanosleep, and __clock_getcpuclockid.
60558         * rt/clock_gettime.c: Define __clock_gettime as an alias.
60559         Remove librt_hidden_def (clock_gettime).
60560         * sysdeps/unix/clock_gettime.c: Likewise.
60561         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
60562         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
60563         * rt/clock_getres.c: Define __clock_getres as an alias.
60564         * sysdeps/posix/clock_getres.c: Likewise.
60565         * rt/clock_settime.c: Define __clock_settime as an alias.
60566         * sysdeps/unix/clock_settime.c: Likewise.
60567         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
60568         * sysdeps/unix/clock_nanosleep.c: Likewise.
60569         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
60570         * rt/clock-compat.c: New file.
60571         * rt/Makefile (librt-routines): Add clock-compat and move
60572         $(clock-routines) to ...
60573         (routines): ... here, new variable.
60574         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
60575         Don't add get_clockfreq here.
60576         * rt/Versions (libc: GLIBC_2.17): New version set.
60577         Add clock_* symbols here.
60578         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
60579         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
60580         (GLIBC_2.17): Add clock_* symbols.
60581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60583         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60585         Likewise.
60586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60587         Likewise.
60588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60592         * NEWS: Mention the move.
60594         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
60595         Use __open, __read, __close rather than their public counterparts.
60596         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60597         (__get_clockfreq_via_cpuinfo): Likewise.
60598         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
60599         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
60601         * config.h.in (HAVE_IFUNC): New #undef.
60602         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
60603         was successful.
60604         * configure: Regenerated.
60606 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60608         * configure.in: Move READELF check to start of file.
60609         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
60610         libc_cv_asm_gnu_indirect_function in the process.
60611         * configure: Regenerated.
60613 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60615         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
60616         send the output to /dev/null.
60617         (libc_cv_cc_with_libunwind): Likewise.
60618         (libc_cv_as_noexecstack): Likewise.
60619         * configure: Regenerate.
60621 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60623         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
60625         * posix/globtest.sh (TMPDIR): Do not set.
60626         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
60627         (testout): Likewise.
60629 2012-10-24  Andreas Jaeger  <aj@suse.de>
60631         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
60632         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
60633         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
60634         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
60635         posix_fadvise64, posix_fallocate64.
60637         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
60638         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
60639         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
60640         Likewise.
60641         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
60642         Likewise.
60643         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
60645         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
60646         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
60647         <bits/fcntl-linux.h>.
60648         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
60650         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
60651         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
60652         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
60653         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
60654         [__WORDSIZE != 64]: Likewise.
60656 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60658         * Makeconfig (run-built-tests): New variable.
60659         * Rules [$(cross-compiling) = yes]: Change condition to
60660         [$(run-built-tests) = no].
60661         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
60662         to [$(run-built-tests) = yes].
60663         * elf/Makefile [$(cross-compiling) = no]: Likewise.
60664         * grp/Makefile [$(cross-compiling) = no]: Likewise.
60665         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
60666         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
60667         * intl/Makefile [$(cross-compiling) = no]: Likewise.
60668         * io/Makefile [$(cross-compiling) = no]: Likewise.
60669         * libio/Makefile [$(cross-compiling) = no]: Likewise.
60670         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
60671         * misc/Makefile [$(cross-compiling) = no]: Likewise.
60672         * posix/Makefile [$(cross-compiling) = no]: Likewise.
60673         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
60674         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
60675         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
60676         * string/Makefile [$(cross-compiling) = no]: Likewise.
60678         * posix/Makefile ($(objpfx)globtest.out): Pass
60679         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
60680         $(rtld-installed-name).
60681         * posix/globtest.sh (elf_objpfx): Remove variable.
60682         (rtld_installed_name): Likewise.
60683         (library_path): Likewise.
60684         (run_program_prefix): New variable.  Use for running globtest
60685         binary.
60687 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
60688             Joseph Myers  <joseph@codesourcery.com>
60690         * Makeconfig (host-built-program-cmd): New variable.
60691         * elf/Makefile (tst-stackguard1-ARGS): Use
60692         $(host-built-program-cmd).
60693         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
60694         (tst-spawn-ARGS): Likewise.
60695         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
60697 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60698             Jim Blandy  <jimb@codesourcery.com>
60700         * Makeconfig (run-via-rtld-prefix): New variable.
60701         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
60702         (built-program-cmd): Likewise.
60704 2012-10-22  Andreas Jaeger  <aj@suse.de>
60706         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
60707         __O_RSYNC if it exists, otherwise to O_SYNC.
60709 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
60710             Joseph Myers  <joseph@codesourcery.com>
60712         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
60713         /dev/null.
60714         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
60715         from /dev/null
60716         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
60717         /dev/null.
60719 2012-10-22  Andreas Jaeger  <aj@suse.de>
60721         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
60722         Define always.
60723         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
60725         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60726         bits/fcntl-linux.h.
60728         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
60729         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
60731         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
60732         to __O_LARGEFILE.
60733         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
60734         to __O_LARGEFILE.
60736 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
60737             Joseph Myers  <joseph@codesourcery.com>
60739         * config.make.in (NM): New variable.
60741 2012-10-21  Andreas Jaeger  <aj@suse.de>
60743         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
60744         definitions and declarations that are provided by
60745         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60747 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60749         [BZ #14683]
60750         * elf/Makefile (tests-static): Add tst-leaks1-static.
60751         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
60752         ($(objpfx)tst-leaks1-static): New rule.
60753         ($(objpfx)tst-leaks1-static-mem): Likewise.
60754         (tst-leaks1-static-ENV): New macro.
60755         * elf/dl-open.c (dl_open_worker): Check the main application
60756         only if SHARED is defined.
60757         * elf/tst-leaks1-static.c: New file.
60759 2012-10-20  Andreas Jaeger  <aj@suse.de>
60761         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
60762         generic values for Linux.
60763         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
60764         and declarations that are provided by <bits/fcntl-linux.h> and
60765         include <bits/fcntl-linux.h>.
60766         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60767         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60769 2012-10-20  Roland McGrath  <roland@hack.frob.com>
60771         * io/fcntl.h: Move include of <bits/types.h> to the top and
60772         include it unconditionally.
60774 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60776         * wcsmbs/Makefile (tests-ifunc): New variable.
60777         (tests): Add $(tests-ifunc).
60778         * wcsmbs/test-wcschr-ifunc.c: New file.
60779         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
60780         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
60781         * wcsmbs/test-wcslen-ifunc.c: Likewise.
60782         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
60783         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
60785         * string/Makefile (tests-ifunc): New variable.
60786         (tests): Add $(tests-ifunc).
60787         * string/test-memccpy.c (TEST_NAME): New macro.
60788         * string/test-memchr.c (TEST_NAME): Likewise.
60789         * string/test-memcmp.c (TEST_NAME): Likewise.
60790         * string/test-memcpy.c (TEST_NAME): Likewise.
60791         * string/test-memmem.c (TEST_NAME): Likewise.
60792         * string/test-memmove.c (TEST_NAME): Likewise.
60793         * string/test-memset.c (TEST_NAME): Likewise.
60794         * string/test-rawmemchr.c (TEST_NAME): Likewise.
60795         * string/test-stpcpy.c (TEST_NAME): Likewise.
60796         * string/test-stpncpy.c (TEST_NAME): Likewise.
60797         * string/test-strcasecmp.c (TEST_NAME): Likewise.
60798         * string/test-strcasestr.c (TEST_NAME): Likewise.
60799         * string/test-strcat.c (TEST_NAME): Likewise.
60800         * string/test-strchr.c (TEST_NAME): Likewise.
60801         * string/test-strcmp.c(TEST_NAME): Likewise.
60802         * string/test-strcpy.c (TEST_NAME): Likewise.
60803         * string/test-strcspn.c (TEST_NAME): Likewise.
60804         * string/test-strlen.c (TEST_NAME): Likewise.
60805         * string/test-strncasecmp.c (TEST_NAME): Likewise.
60806         * string/test-strncmp.c (TEST_NAME): Likewise.
60807         * string/test-strncpy.c (TEST_NAME): Likewise.
60808         * string/test-strnlen.c (TEST_NAME): Likewise.
60809         * string/test-strpbrk.c (TEST_NAME): Likewise.
60810         * string/test-strrchr.c (TEST_NAME): Likewise.
60811         * string/test-strspn.c (TEST_NAME): Likewise.
60812         * string/test-strstr.c (TEST_NAME): Likewise.
60813         * string/test-bcopy-ifunc.c: New file.
60814         * string/test-bzero-ifunc.c: Likewise.
60815         * string/test-memccpy-ifunc.c: Likewise.
60816         * string/test-memchr-ifunc.c: Likewise.
60817         * string/test-memcmp-ifunc.c: Likewise.
60818         * string/test-memcpy-ifunc.c: Likewise.
60819         * string/test-memmem-ifunc.c: Likewise.
60820         * string/test-memmove-ifunc.c: Likewise.
60821         * string/test-mempcpy-ifunc.c: Likewise.
60822         * string/test-memset-ifunc.c: Likewise.
60823         * string/test-rawmemchr-ifunc.c: Likewise.
60824         * string/test-stpcpy-ifunc.c: Likewise.
60825         * string/test-stpncpy-ifunc.c: Likewise.
60826         * string/test-strcasecmp-ifunc.c: Likewise.
60827         * string/test-strcasestr-ifunc.c: Likewise.
60828         * string/test-strcat-ifunc.c: Likewise.
60829         * string/test-strchr-ifunc.c: Likewise.
60830         * string/test-strchrnul-ifunc.c: Likewise.
60831         * string/test-strcmp-ifunc.c: Likewise.
60832         * string/test-strcpy-ifunc.c: Likewise.
60833         * string/test-strcspn-ifunc.c: Likewise.
60834         * string/test-strlen-ifunc.c: Likewise.
60835         * string/test-strncasecmp-ifunc.c: Likewise.
60836         * string/test-strncat-ifunc.c: Likewise.
60837         * string/test-strncmp-ifunc.c: Likewise.
60838         * string/test-strncpy-ifunc.c: Likewise.
60839         * string/test-strnlen-ifunc.c: Likewise.
60840         * string/test-strpbrk-ifunc.c: Likewise.
60841         * string/test-strrchr-ifunc.c: Likewise.
60842         * string/test-strspn-ifunc.c: Likewise.
60843         * string/test-strstr-ifunc.c: Likewise.
60845         * debug/Makefile (tests-ifunc): New variable.
60846         (tests): Add $(tests-ifunc).
60847         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
60848         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
60849         * debug/test-stpcpy_chk-ifunc.c: New file.
60850         * debug/test-strcpy_chk-ifunc.c: Likewise.
60852 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60854         [BZ #13601]
60855         * elf/dl-load.c (open_verify): Retry read if the entire ELF
60856         header is not read in.
60858 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
60860         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
60861         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
60862         directly.  Pass built executable to script as
60863         $(built-program-cmd).
60864         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
60865         $testprogram without using LD_LIBRARY_PATH and $ldso.
60867         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
60868         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
60869         $(rtld-installed-name).
60870         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
60871         (rtld_installed_name): Likewise.
60872         (library_path): Likewise.
60873         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
60874         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
60875         $(run-program-prefix) to tst-tables.sh.
60876         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
60877         it to run tst-table-from and tst-table-to.
60878         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60879         Pass it to tst-table.sh.
60880         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60881         $(run-program-prefix) to tst-gettext.sh.
60882         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60883         tst-translit.sh.
60884         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60885         tst-gettext2.sh.
60886         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
60887         to run tst-gettext.
60888         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
60889         to run tst-gettext2.
60890         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
60891         to run tst-translit.
60892         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
60893         $(run-program-prefix) to tst-mtrace.sh.
60894         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
60895         to run tst-mtrace.
60896         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
60897         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
60898         $(rtld-installed-name).
60899         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
60900         (rtld_installed_name): Likewise.
60901         (run_program_prefix): New variable.  Use it to run wordexp-test.
60903         * Makeconfig (ARCH): Remove all definitions.
60904         (machine): Likewise.
60905         [ARCH]: Remove conditional code.
60906         [!objdir]: Give error.
60907         [!objdir] (objpfx): Remove.
60908         [!objdir] (common-objpfx): Likewise.
60909         [!objdir] (common-objdir): Likewise.
60910         * configure.in (config_makefile): Remove.  Hardcode Makefile in
60911         AC_CONFIG_FILES call.
60912         * configure: Regenerated.
60914         [BZ #13888]
60915         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
60916         or TMPDIR.
60917         (testout): Likewise.
60919         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
60920         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
60921         $(rtld-installed-name).
60922         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
60923         (rtld_installed_name): Likwise.
60924         (runit): Remove function.
60925         (run_getconf): New variable,  Use it for running getconf binary.
60927 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
60929         [BZ #14716]
60930         * string/test-memmem.c (check_result): New function.
60931         (do_one_test): Use it.
60932         (check1): New function.
60933         (test_main): Use it.
60935 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
60937         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
60939 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
60941         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
60942         (_G_LSEEK64): Likewise.
60943         (_G_MMAP64): Likewise.
60944         (_G_FSTAT64): Likewise.
60945         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
60946         (_G_LSEEK64): Likewise.
60947         (_G_MMAP64): Likewise.
60948         (_G_FSTAT64): Likewise.
60949         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
60950         unconditional.  Call __mmap64 directly.
60951         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
60952         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
60953         __lseek64 directly.
60954         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
60955         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
60956         __mmap64 directly.
60957         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
60958         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60959         __lseek64 directly.
60960         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
60961         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60962         __lseek64 directly.
60963         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
60964         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
60965         __lseek64 directly.
60966         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
60967         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
60968         __fxstat64 directly.
60969         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
60970         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
60971         unconditional.
60972         (freopen64) [!_G_OPEN64]: Remove conditional code.
60973         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
60974         unconditional.
60975         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
60976         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
60977         unconditional.
60978         (ftello64) [!_G_LSEEK64]: Remove conditional code.
60979         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
60980         unconditional.
60981         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60982         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
60983         unconditional.
60984         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
60985         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
60986         unconditional.
60987         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60988         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
60989         unconditional.
60990         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60991         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
60992         unconditional.
60993         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60995 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60997         [BZ #12140]
60998         * manual/memory.texi (Malloc Tunable Parameters): Add note
60999         about free list pointers overwriting some perturb bytes.
61000         Wording suggested by Roland McGrath.
61002 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
61004         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
61005         (lgamma_test): Likewise.
61006         (tgamma_test): Likewise.
61008 2012-10-16  Florian Weimer  <fweimer@redhat.com>
61010         [BZ #14700]
61011         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
61012         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
61014 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
61016         * NEWS: Mention BZ #14716.
61017         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
61018         when removing AVAILABLE1_USES_J macro.
61020 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
61022         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
61023         (__bswap_64): __uint64_t for unsigned 64-bit int.
61025 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
61027         * include/string.h (memmem): Declare libc hidden alias.
61028         * string/memmem.c (memmem): Define libc hidden alias.
61029         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
61030         __read, __close instead of open, read, close.
61032 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
61034         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
61035         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
61036         global and hidden.
61037         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
61038         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
61039         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
61040         Likewise.
61041         (__rawmemchr_sse2): Likewise.
61042         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
61043         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
61044         (__strchr_sse2): Likewise.
61045         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
61046         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
61047         (__strcasecmp_sse2): Likewise.
61048         (__strncasecmp_sse2): Likewise.
61049         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
61050         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
61051         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
61052         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
61053         (__strrchr_sse2): Likewise.
61054         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
61055         ifunc-impl-list.c.
61056         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
61057         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
61058         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
61059         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61060         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
61061         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
61062         * sysdeps/x86_64/multiarch/memset.S: Likewise.
61063         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
61064         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
61065         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
61066         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
61067         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
61068         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
61069         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
61070         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
61071         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61072         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
61073         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
61074         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
61075         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
61076         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
61077         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
61078         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
61079         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61080         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
61081         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61082         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
61083         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61084         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
61085         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
61087         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
61088         global and hidden.
61089         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
61090         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
61091         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
61092         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
61093         Likewise.
61094         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
61095         Likewise.
61096         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
61097         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
61098         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
61099         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
61100         ifunc-impl-list.c.
61101         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
61102         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
61103         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
61104         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
61105         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
61106         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
61107         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
61108         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
61109         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
61110         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
61111         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
61112         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
61113         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
61114         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
61115         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
61116         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61117         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
61118         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
61119         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
61120         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
61121         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61122         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
61123         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
61124         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
61125         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61126         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
61127         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
61128         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
61129         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
61130         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
61131         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
61132         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
61133         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
61134         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
61135         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
61136         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
61137         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
61138         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
61139         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
61140         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61141         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
61143         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
61144         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
61145         * include/ifunc-impl-list.h: New file.
61146         * misc/ifunc-impl-list.c: Likewise.
61147         * misc/Makefile (routines): Add ifunc-impl-list.
61148         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
61149         * string/test-string.h: Include <ifunc-impl-list.h>.
61150         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
61151         TEST_NAME]: New variables.
61152         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
61153         are defined.
61154         (test_init): Call __libc_ifunc_impl_list to initialize
61155         func_list if TEST_IFUNC and TEST_NAME are defined.
61157         * string/Makefile (strop-tests): Add bcopy and bzero.
61158         * string/test-bcopy.c: New file.
61159         * string/test-bzero.c: Likewise.
61160         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
61161         defined.
61162         * string/test-memset.c: Support bzero test if TEST_BZERO is
61163         defined.
61164         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
61165         __libc_memmove.
61166         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
61167         __libc_memset.
61168         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
61169         of memset.
61171 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
61173         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
61174         * configure: Regenerated.
61176         * Makeconfig (+link-static-before-libc): Don't include
61177         $(link-static-libc).
61179         * libio/libio.h (_IO_pos_t): Remove.
61181 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61183         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
61184         McGrath.
61186 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61188         * crypt/crypt-entry.c: Include fips-private.h.
61189         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
61190         * crypt/md5c-test.c (main): Tolerate disabled MD5.
61191         * sysdeps/unix/sysv/linux/fips-private.h: New file.
61192         * sysdeps/generic/fips-private.h: New file, dummy fallback.
61194 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61196         * crypt/crypt-private.h: Include stdbool.h.
61197         (_ufc_setup_salt_r): Return bool.
61198         * crypt/crypt-entry.c: Include errno.h.
61199         (__crypt_r): Return NULL with EINVAL for bad salt.
61200         * crypt/crypt_util.c (bad_for_salt): New.
61201         (_ufc_setup_salt_r): Check that salt is long enough and within
61202         the specified alphabet.
61203         * crypt/badsalttest.c: New file.
61204         * crypt/Makefile (tests): Add it.
61205         ($(objpfx)badsalttest): New.
61207 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
61209         * NEWS: Add entry for BZ #14602.
61211 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61213         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
61214         type-generic.
61215         * math/libm-test.inc: Update comment listing what functions and
61216         macros are tested.
61217         (isgreater_test): New function.
61218         (isgreaterequal_test): Likewise.
61219         (isless_test): Likewise.
61220         (islessequal_test): Likewise.
61221         (islessgreater_test): Likewise.
61222         (isunordered_test): Likewise.
61223         (main): Call the new functions.
61225 2012-10-09  Roland McGrath  <roland@hack.frob.com>
61227         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
61228         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
61229         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
61230         * sysdeps/i386/configure: Regenerated.
61231         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
61232         * sysdeps/mach/configure: Regenerated.
61233         * sysdeps/mach/hurd/configure: Regenerated.
61234         * sysdeps/powerpc/configure: Regenerated.
61235         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61236         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61237         * sysdeps/s390/s390-32/configure: Regenerated.
61238         * sysdeps/s390/s390-64/configure: Regenerated.
61239         * sysdeps/sh/configure: Regenerated.
61240         * sysdeps/sparc/configure: Regenerated.
61241         * sysdeps/unix/sysv/linux/configure: Regenerated.
61242         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
61243         * sysdeps/x86_64/configure: Regenerated.
61245         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
61246         defined.  Don't check if MAP is NULL.
61248 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61250         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
61251         (_G_stat64): Likewise.
61252         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
61253         (_G_stat64): Likewise.
61254         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
61255         instead of struct _G_stat64.
61256         * libio/fileops.c (mmap_remap_check): Likewise.
61257         (decide_maybe_mmap): Likewise.
61258         (_IO_new_file_seekoff): Likewise.
61259         (_IO_file_stat): Likewise.
61260         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
61261         _G_off64_t.
61262         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
61263         instead of struct _G_stat64.
61264         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61266 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
61268         [BZ #14602]
61269         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61270         Replace with ...
61271         (CHECK_EOL): New macro.
61272         (two_way_short_needle): Check beginning of haystack for EOL.  Use
61273         CHECK_EOL.
61274         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61275         Replace with CHECK_EOL.
61276         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61277         Replace with CHECK_EOL.
61279 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
61281         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
61282         type-generic.
61283         * math/libm-test.inc: Update comment listing what functions and
61284         macros are tested.
61285         (finite_test): New function.
61286         (isinf_test): Likewise.
61287         (isnan_test): Likewise.
61288         (fpclassify_test): Test subnormal input.
61289         (isfinite_test): Likewise.
61290         (isnormal_test): Likewise.
61291         (main): Call the new functions.
61293 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
61295         [BZ #14660]
61296         * Makerules (%.dynsym): Force C locale when running
61297         $(OBJDUMP) --dynamic-syms.
61299 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
61301         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
61302         <stdint.h>.
61304 2012-10-06  David S. Miller  <davem@davemloft.net>
61306         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
61307         upper 32-bits of the length value in %o2 since we use branch-on-register
61308         tests which consider the entire 64-bit register.
61310 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
61312         * string/test-strstr.c (check2): Add a test for page boundary.
61314 2012-10-05  David S. Miller  <davem@davemloft.net>
61316         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
61317         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
61318         file.
61319         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61320         sysdep_routines.
61321         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61322         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
61323         and bzero when HWCAP_SPARC_CRYPTO is present.
61325 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
61327         [BZ #14602]
61328         * string/test-strstr.c (check2): New function.
61329         (test_main): Call check2.
61331         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
61332         and bug-strchr1.
61333         * string/bug-strcasestr1.c (do_test): Moved to ...
61334         * string/test-strcasestr.c (check1): Here.  New function.
61335         (do_one_test): Break out result checking code into ...
61336         (check_result): This.  New function.
61337         (do_one_test): Call check_result.
61338         (test_main): Call check1.
61339         * string/bug-strchr1.c (do_test): Moved to ...
61340         * string/test-strchr.c (check1): Here.  New function.
61341         (do_one_test): Break out result checking code into ...
61342         (check_result): This.  New function.
61343         (do_one_test): Call check_result.
61344         (test_main): Call check1.
61345         * string/bug-strstr1.c (main): Moved to ...
61346         * string/test-strstr.c (check1): Here.  New function.
61347         (do_one_test): Break out result checking code into ...
61348         (check_result): This.  New function.
61349         (do_one_test): Call check_result.
61350         (test_main): Call check1.
61351         * string/bug-strcasestr1.c: Removed.
61352         * string/bug-strchr1.c: Likewise.
61353         * string/bug-strstr1.c: Likewise.
61355         * elf/Makefile (dl-routines): Add hwcaps.
61356         * elf/dl-support.c (_dl_important_hwcaps): Removed.
61357         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
61358         (_dl_important_hwcaps): Moved to ...
61359         * elf/dl-hwcaps.c: Here.  New file.
61360         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
61362         [BZ #14557]
61363         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
61364         if IS_IN_rtld isn't defined.
61366         * elf/dl-support.c (_dl_sysinfo_map): New.
61367         Include "get-dynamic-info.h" and "setup-vdso.h".
61368         (_dl_non_dynamic_init): Call setup_vdso.
61369         * elf/dynamic-link.h: Don't include <assert.h>.
61370         (elf_get_dynamic_info): Moved to ...
61371         * elf/get-dynamic-info.h: Here.  New file.
61372         * elf/dynamic-link.h: Include "get-dynamic-info.h".
61373         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
61374         * elf/setup-vdso.h: Here.  New file.
61375         * elf/rtld.c: Include "setup-vdso.h".
61376         (dl_main): Call setup_vdso.
61378 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
61380         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
61381         creal in comment listing functions tested.  List finite, isinf,
61382         isnan, isless, islessequal, isgreater, isgreaterequal,
61383         islessgreater, isunordered, lgamma_r and pow10 as functions and
61384         macros not tested.  Mention which functions not tested are aliases
61385         for other functions.  Fix typo.  Note that signs of NaNs are not
61386         tested.
61388         * scripts/config.guess: Update from config.git.
61389         * scripts/config.sub: Likewise.
61391 2012-10-04  Roland McGrath  <roland@hack.frob.com>
61393         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
61394         * misc/madvise.c (madvise): Renamed to __madvise.
61395         Make madvise a weak alias.
61396         * include/sys/mman.h: Declare __madvise.
61397         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
61398         * sysdeps/unix/syscalls.list
61399         (madvise): Make __madvise the strong name, and madvise a weak alias.
61400         * sysdeps/unix/sysv/linux/syscalls.list
61401         (madvise, mmap): Remove redundant entries.
61402         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
61403         * malloc/malloc.c (mtrim): Likewise.
61404         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
61406 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61408         * sysdeps/mach/hurd/dl-cache.c: File removed.
61409         * config.h.in (USE_LDCONFIG): New #undef.
61410         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
61411         * configure: Regenerated.
61412         * elf/Makefile (dl-routines): Add dl-cache only under
61413         [$(use-ldconfig) = yes].
61414         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
61415         cache on [USE_LDCONFIG].
61416         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
61417         [USE_LDCONFIG].
61418         * elf/rtld.c (dl_main): Likewise.
61420 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
61422         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
61423         _SC_LEVEL4_CACHE_LINESIZE.
61425 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61427         * sysdeps/unix/bsd/confstr.h: File removed.
61429 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
61431         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
61432         sys/sdt-config.h.
61434 2012-10-02  Roland McGrath  <roland@hack.frob.com>
61436         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
61437         Make 'mapoff' field ElfW(Off) rather than off_t.
61439 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
61441         * nscd/Makefile: Remove nscd-cflags and all its users.
61442         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
61443         (CFLAGS-nonlib): Add compiler flags for nscd modules.
61445         [BZ #10631]
61446         * malloc.c (malloc_printerr): Clarify error message.
61448 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
61450         [BZ #14648]
61451         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61452         Set bit_FMA_Usable if FMA is supported.
61453         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
61454         macro.
61455         (bit_FMA4_Usable): Updated.
61456         (index_FMA_Usable): New macro.
61457         (CPUID_FMA): Likewise.
61458         (HAS_FMA): Defined with bit_FMA_Usable.
61460 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61462         * bits/types.h (__swblk_t): Type removed.
61463         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
61464         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
61465         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61466         (__SWBLK_T_TYPE): Likewise.
61467         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61468         (__SWBLK_T_TYPE): Likewise.
61469         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61470         (__SWBLK_T_TYPE): Likewise.
61471         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61472         (__SWBLK_T_TYPE): Likewise.
61474 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
61475             Honza Horak <hhorak@redhat.com>
61477         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
61478         (xdr_mapname): Use YPMAXMAP as maxsize.
61479         (xdr_peername): Use YPMAXPEER as maxsize.
61480         (xdr_keydat): Use YPAXRECORD as maxsize.
61481         (xdr_valdat): Use YPMAXRECORD as maxsize.
61483 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61485         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
61487         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
61488         * csu/init-first.c: ... here.
61489         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
61490         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
61491         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
61492         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
61493         * sysdeps/i386/init-first.c: File removed.
61494         * sysdeps/sh/init-first.c: File removed.
61496 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
61498         [BZ #14645]
61499         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
61500         if x * y might underflow to zero and z is zero.
61501         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61502         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61503         * math/libm-test.inc (min_subnorm_value): New variable.
61504         (fma_test): Add more tests.
61505         (fma_test_towardzero): Likewise.
61506         (fma_test_downward): Likewise.
61507         (fma_test_upward): Likewise.
61508         (initialize): Set min_subnorm_value.
61510 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
61512         [BZ #14638]
61513         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
61514         0 + 0.
61515         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
61516         mode for addition resulting in exact zero.
61517         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
61518         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
61519         exact 0 + 0.
61520         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61521         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61522         * math/libm-test.inc (fma_test): Add more tests.
61523         (fma_test_towardzero): New function.
61524         (fma_test_downward): Likewise.
61525         (fma_test_upward): Likewise.
61526         (main): Call the new functions.
61528 2012-09-28  David S. Miller  <davem@davemloft.net>
61530         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
61532 2012-09-28  Roland McGrath  <roland@hack.frob.com>
61534         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
61535         instead of SIGALRM.
61537         * sysdeps/gnu/_G_config.h: Moved to ...
61538         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
61539         * sysdeps/mach/hurd/_G_config.h: Moved to ...
61540         * sysdeps/generic/_G_config.h: ... here.
61542         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
61544         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
61546         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
61547         Conditionalize target on [libnss_test1.so-version].
61549         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
61551         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
61552         (elfobjdir): Move out of conditionals.
61554         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
61555         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
61556         (__nss_lookup_function): Conditionalize label remove_from_tree on
61557         [!DO_STATIC_NSS || SHARED], matching its only use.
61559 2012-09-28  David S. Miller  <davem@davemloft.net>
61561         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
61562         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
61563         file.
61564         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61565         sysdep_routines.
61566         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61567         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
61568         when HWCAP_SPARC_CRYPTO is present.
61570 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61572         * io/tst-mknodat.c: Create a FIFO instead of a socket.
61574 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
61576         [BZ #6530]
61577         * stdio-common/vfprintf.c (process_string_arg): Revert
61578         2000-07-22 change.
61580 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
61582         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
61583         for testcase.
61584         * stdio-common/tst-sprintf.c: Include <locale.h>
61585         (main): Test sprintf's handling of incomplete multibyte
61586         characters.
61588 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
61590         * elf/dl-runtime.c (VERSYMIDX): Removed.
61591         * elf/dl-version.c (VERSYMIDX): Likewise.
61592         * elf/do-rel.h (VERSYMIDX): Likewise.
61593         (VALIDX): Likewise.
61594         * elf/dynamic-link.h (VERSYMIDX): Likewise.
61595         * elf/rtld.c (VALIDX): Likewise.
61596         (ADDRIDX): Likewise.
61597         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
61598         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
61599         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
61600         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
61601         (VALIDX): Likewise.
61602         (ADDRIDX): Likewise.
61604 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61606         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
61608 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
61610         [BZ #11438]
61611         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
61612         to global scope.
61613         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
61614         addresses are in the same scope as 192.0.2/24.
61615         * posix/gai.conf: Document new scope table defaults.
61617 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61619         [BZ #5298]
61620         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
61621         for ftell.  Compute offsets from write pointers instead.
61622         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61624 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61626         [BZ #14543]
61627         * libio/Makefile (tests): New test case tst-fseek.
61628         * libio/tst-fseek.c: New test case to verify that fseek/ftell
61629         combination works in wide mode.
61630         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
61631         state when the external buffer state changes.
61633 2012-09-27  David S. Miller  <davem@davemloft.net>
61635         [BZ #14376]
61636         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
61637         pass reloc->r_addend in as the 'high' argument to
61638         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
61640         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61642 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61644         * rt/tst-aio2.c: Include <pthread.h>.
61645         * rt/tst-aio3.c: Likewise.
61647 2012-09-27  Steve Ellcey  <sellcey@mips.com>
61649         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
61651 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
61653         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
61654         contents on [SHARED].
61656 2012-09-26  Marek Polacek  <polacek@redhat.com>
61658         [BZ #14530]
61659         [BZ #13741]
61660         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
61661         for C++ and GCC <4.3 as well as for non GCC compilers.
61663 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61665         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61667 2012-09-25  Roland McGrath  <roland@hack.frob.com>
61669         * Makefile.in (all, install): Declare with .PHONY.
61670         Reported by Michael Hope <michael.hope@linaro.org>.
61672 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61674         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
61675         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
61676         system header.
61677         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
61678         Likewise.
61679         (sydep_routines): Add the new and the internal functions.
61680         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
61681         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
61682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
61683         (GLIBC_2.17): Add the new function.
61684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61685         (GLIBC_2.17): Likewise.
61686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
61687         (GLIBC_2.17): Likewise.
61688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
61689         (GLIBC_2.17): Likewise.
61690         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
61692 2012-09-25  Alan Modra  <amodra@gmail.com>
61694         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
61695         Add release barrier before setting once_control to say
61696         initialisation is done.  Add hints on lwarx.  Use macro in
61697         place of isync.
61698         (clear_once_control): Add release barrier.
61700 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61702         [BZ #13629]
61703         * math/s_clog.c (__clog): Handle more values close to |z| = 1
61704         specially.
61705         * math/s_clog10.c (__clog10): Likewise.
61706         * math/s_clog10f.c (__clog10f): Likewise.
61707         * math/s_clog10l.c (__clog10l): Likewise.
61708         * math/s_clogf.c (__clogf): Likewise.
61709         * math/s_clogl.c (__clogl): Likewise.
61710         * math/Makefile (libm-calls): Add x2y2m1.
61711         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
61712         (__x2y2m1): Likewise.
61713         (__x2y2m1l): Likewise.
61714         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
61715         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
61716         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
61717         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61718         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
61719         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
61720         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
61721         * sysdeps/i386/fpu/libm-test-ulps: Update.
61722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61724         [BZ #14621]
61725         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
61726         int as type of variable DEPTH.
61727         (glob): Use size_t instead of int as type of variables NEWCOUNT
61728         and OLD_PATHC.
61730 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61732         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61733         Add s_sincosf-sse2.
61734         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
61735         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
61736         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
61737         macros for using routine as __sincosf_ia32.
61738         Use macro for function declaration and weak_alias.
61739         * sysdeps/i386/fpu/libm-test-ulps: Update.
61741         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
61742         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61744         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
61745         subnormal argument.
61746         * math/s_cexpf.c (__cexpf): Likewise.
61747         * math/s_csinf.c (__csinf): Likewise.
61748         * math/s_csinhf.c (__csinhf): Likewise.
61749         * math/s_ctanf.c (__ctanf): Likewise.
61750         * math/s_ctanhf.c (__ctanhf): Likewise.
61751         * math/s_ccosh.c (__ccoshf): Likewise.
61752         * math/s_cexp.c (__cexpl): Likewise.
61753         * math/s_csin.c (__csin): Likewise.
61754         * math/s_csinh.c (__csinh): Likewise.
61755         * math/s_ctan.c (__ctan): Likewise.
61756         * math/s_ctanh.c (ctanh): Likewise.
61757         * math/s_ccoshl.c (__ccoshl): Likewise.
61758         * math/s_cexpl.c (__cexpl): Likewise.
61759         * math/s_csinl.c (__csinl): Likewise.
61760         * math/s_csinhl.c (__csinhl): Likewise.
61761         * math/s_ctanl.c (__ctanl): Likewise.
61762         * math/s_ctanhl.c (__ctanhl): Likewise.
61764 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61766         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
61767         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
61768         (_IO_off_t): Define to __off_t, not _G_off_t.
61769         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
61770         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
61771         (_IO_wint_t): Define to wint_t, not _G_wint_t.
61772         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
61773         type of __dummy and __dummy2 fields.
61774         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
61775         (_G_ssize_t): Likewise.
61776         (_G_off_t): Likewise.
61777         (_G_pid_t): Likewise.
61778         (_G_uid_t): Likewise.
61779         (_G_wchar_t): Likewise.
61780         (_G_wint_t): Likewise.
61781         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
61782         (_G_ssize_t): Likewise.
61783         (_G_off_t): Likewise.
61784         (_G_pid_t): Likewise.
61785         (_G_uid_t): Likewise.
61786         (_G_wchar_t): Likewise.
61787         (_G_wint_t): Likewise.
61788         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
61789         (_G_ssize_t): Likewise.
61790         (_G_off_t): Likewise.
61791         (_G_pid_t): Likewise.
61792         (_G_uid_t): Likewise.
61793         (_G_wchar_t): Likewise.
61794         (_G_wint_t): Likewise.
61796 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61798         * malloc/arena.c: Include malloc-sysdep.h.
61799         (shrink_heap): Use check_may_shrink_heap to decide if madvise
61800         is sufficient to shrink the heap or an unmap is needed.
61801         * sysdeps/generic/malloc-sysdep.h: New file.  Define
61802         new function check_may_shrink_heap.
61803         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
61804         new function check_may_shrink_heap.
61806 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61808         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
61809         comments.
61811 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
61813         * catgets/test-gencat.sh: Add "set -e".
61814         * elf/tst-pathopt.sh: Likewise.
61815         * grp/tst_fgetgrent.sh: Likewise.
61816         * iconvdata/run-iconv-test.sh: Likewise.
61817         * intl/tst-gettext.sh: Likewise.
61818         * intl/tst-gettext2.sh: Likewise.
61819         * intl/tst-gettext4.sh: Likewise.
61820         * intl/tst-gettext6.sh: Likewise.
61821         * intl/tst-translit.sh: Likewise.
61822         * io/ftwtest-sh: Likewise.
61823         * libio/test-freopen.sh: Likewise.
61824         * malloc/tst-mtrace.sh: Likewise.
61825         * posix/globtest.sh: Likewise.
61826         * posix/tst-getconf.sh: Likewise.
61827         * posix/wordexp-tst.sh: Likewise.
61828         * stdio-common/tst-printf.sh: Likewise.
61829         * stdio-common/tst-unbputc.sh: Likewise.
61830         * stdlib/tst-fmtmsg.sh: Likewise.
61831         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61832         * catgets/Makefile: Do not specify -e option when running
61833         testsuite shell scripts.
61834         * elf/Makefile: Likewise.
61835         * grp/Makefile: Likewise.
61836         * iconvdata/Makefile: Likewise.
61837         * intl/Makefile: Likewise.
61838         * io/Makefile: Likewise.
61839         * libio/Makefile: Likewise.
61840         * malloc/Makefile: Likewise.
61841         * posix/Makefile: Likewise.
61842         * stdio-common/Makefile: Likewise.
61843         * stdlib/Makefile: Likewise.
61844         * sysdeps/x86_64/Makefile: Likewise.
61846         * io/ftwtest-sh: Add copyright header.
61847         * posix/globtest.sh: Likewise.
61848         * posix/tst-getconf.sh: Likewise.
61849         * posix/wordexp-tst.sh: Likewise.
61850         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61852 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
61854         [BZ #13679]
61855         * Makeconfig (+link): Defined as $(+link-static) if
61856         $(build-shared) isn't yes.
61857         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
61858         isn't yes.
61859         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
61861         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
61863         [BZ #14562]
61864         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
61865         new chunk size with MALLOC_ALIGN_MASK.
61867 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
61869         [BZ #5044]
61870         * stdio-common/printf_fphex.c: Include <stdbool.h> and
61871         <rounding-mode.h>.
61872         (__printf_fphex): Determine rounding using get_rounding_mode and
61873         round_away.
61874         * stdio-common/tst-printf-round.c (struct hex_test): New
61875         structure.
61876         (hex_tests): New variable.
61877         (test_hex_in_one_mode): New function.
61878         (do_test): Also run tests for hex float output.
61880 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
61882         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61883         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61884         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61885         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61886         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61887         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61888         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61889         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61891 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
61893         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
61894         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
61895         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
61896         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
61898 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
61900         [BZ #14579]
61901         * elf/rtld.c (dl_main): Limit the check for self loading to normal
61902         mode only.
61903         * elf/tst-rtld-load-self.sh: New test.
61904         * elf/Makefile: Run it.
61906 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
61908         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
61909         (tst-writev-ENV): Remove.
61910         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
61912 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
61914         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
61916 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
61918         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
61919         unconditional.
61920         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
61921         Likewise.
61922         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
61923         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
61924         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
61925         Likewise.
61927 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
61929         [BZ #14587]
61930         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
61931         * config.make.in (have-cpp-asm-debuginfo): Removed.
61932         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
61933         * configure: Regenerated.
61935 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
61937         [BZ #5044]
61938         * stdio-common/printf_fp.c: Include <stdbool.h> and
61939         <rounding-mode.h>.
61940         (___printf_fp): Determine rounding using get_rounding_mode and
61941         round_away.
61942         * stdio-common/tst-printf-round.c: New file.
61943         * stdio-common/Makefile (tests): Add tst-printf-round.
61944         (link-libm): New variable.
61945         ($(objpfx)tst-printf-round): Depend in $(link-libm).
61947 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
61949         [BZ #14576]
61950         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
61951         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
61952         Likewise.
61953         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
61954         Likewise.
61956 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
61958         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
61959         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61960         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61961         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61963 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
61965         [BZ #14518]
61966         * include/rounding-mode.h: New file.
61967         * sysdeps/generic/get-rounding-mode.h: Likewise.
61968         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
61969         * stdlib/strtod_l.c: Include <rounding-mode.h>.
61970         (MAX_VALUE): New macro.
61971         (MIN_VALUE): Likewise.
61972         (overflow_value): New function.
61973         (underflow_value): Likewise.
61974         (round_and_return): Use overflow_value and underflow_value to
61975         determine return values in overflow and underflow cases.  Use
61976         round_away to determine rounding depending on rounding mode.
61977         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
61978         determine return values in overflow and underflow cases.
61979         * stdlib/tst-strtod-round.c: Include <fenv.h>.
61980         (struct test_results): New structure.
61981         (struct test): Use struct test_results to store expected results
61982         for all rounding modes.
61983         (TEST): Include expected results for all rounding modes.
61984         (test_in_one_mode): New function.
61985         (do_test): Use test_in_one_mode to compute and check results.
61986         Check results for all rounding modes.
61987         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
61988         $(link-libm).
61990 2012-12-09  Allan McRae  <allan@archlinux.org>
61992         * sysdeps/i386/fpu/libm-test-ulps: Update
61994 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
61996         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
61997         (_G_int32_t): Likewise.
61998         (_G_uint16_t): Likewise.
61999         (_G_uint32_t): Likewise.
62000         (_G_HAVE_BOOL): Likewise.
62001         (_G_HAVE_ATEXIT): Likewise.
62002         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62003         (_G_HAVE_IO_FILE_OPEN): Likewise.
62004         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
62005         (_G_int32_t): Likewise.
62006         (_G_uint16_t): Likewise.
62007         (_G_uint32_t): Likewise.
62008         (_G_HAVE_BOOL): Likewise.
62009         (_G_HAVE_ATEXIT): Likewise.
62010         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62011         (_G_HAVE_IO_FILE_OPEN): Likewise.
62012         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
62013         (_G_int32_t): Likewise.
62014         (_G_uint16_t): Likewise.
62015         (_G_uint32_t): Likewise.
62016         (_G_HAVE_BOOL): Likewise.
62017         (_G_HAVE_ATEXIT): Likewise.
62018         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62019         (_G_HAVE_IO_FILE_OPEN): Likewise.
62021 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
62023         * csu/libc-tls.c: Update copyright years.
62025 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
62027         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
62028         [!_G_USING_THUNKS]: Remove conditional code.
62029         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
62030         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
62032         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
62033         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
62034         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62035         (_G_VTABLE_LABEL_PREFIX): Likewise.
62036         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62037         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62038         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62039         (_G_VTABLE_LABEL_PREFIX): Likewise.
62040         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62041         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62042         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62043         (_G_VTABLE_LABEL_PREFIX): Likewise.
62044         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62046 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
62048         * libio/Makefile: Include ../Makeconfig before tests.
62049         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
62050         only if $(build-shared) is yes.
62052         * iconv/gconv_db.c: Update copyright years.
62054 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62056         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
62057         unwind info if defined PIC. Fix special cases description.
62058         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
62060         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
62061         DP_HI_MASK entry.
62062         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
62064 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
62066         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
62068         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
62069         is NULL.
62071         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
62072         (LDLIBS-tst-chk4): This.
62073         (LDFLAGS-tst-chk5): Renamed to ...
62074         (LDLIBS-tst-chk5): This.
62075         (LDFLAGS-tst-chk6): Renamed to ...
62076         (LDLIBS-tst-chk6): This.
62077         (LDFLAGS-tst-lfschk4): Renamed to ...
62078         (LDLIBS-tst-lfschk4): This.
62079         (LDFLAGS-tst-lfschk5): Renamed to ...
62080         (LDLIBS-tst-lfschk5): This.
62081         (LDFLAGS-tst-lfschk6): Renamed to ...
62082         (LDLIBS-tst-lfschk6): This.
62084         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
62085         on $(common-objpfx)soversions.mk.
62087 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
62089         [BZ #10014]
62090         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
62091         example host name.
62093 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62095         * malloc/arena.c (arena_get_retry): New function that gets
62096         another arena for the caller to try its request on.
62097         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
62098         current arena cannot fulfill the request.
62099         (__libc_memalign): Likewise.
62100         (__libc_memalign): Likewise.
62101         (__libc_pvalloc): Likewise.
62102         (__libc_calloc): Likewise.
62104 2012-09-05  John Tobey  <john.tobey@gmail.com>
62106         [BZ #13542]
62107         * manual/arith.texi (Operations on Complex): Fix description
62108         of carg branch cut.
62110 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62112         [BZ #10014]
62113         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
62114         host name.
62116         [BZ #10038]
62117         * manual/memory.texi (Memory): Make order of menu items match
62118         order of sections.
62120 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62122         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
62123         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
62124         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
62126 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62128         * csu/libc-tls.c (static_dtv): Renamed to ...
62129         (_dl_static_dtv): This.  Make it global.
62130         (_dl_initial_dtv): Removed.
62131         (__libc_setup_tls): Updated.
62132         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
62133         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
62134         DL_INITIAL_DTV.
62136 2012-09-06  Petr Machata  <pmachata@redhat.com>
62138         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
62139         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
62140         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
62141         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
62143 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62145         [BZ #14545]
62146         * csu/libc-tls.c (_dl_initial_dtv): New variable.
62147         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
62148         freeing dtv[-1].
62150 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62152         [BZ #14544]
62153         * Makeconfig (link-static-before-libc): Replace $(+prector)
62154         with $(+prectorT).
62155         (link-static-after-libc): Replace $(+postctor) with
62156         $(+postctorT).
62157         (link-bounded): Replace $(+prector)/$(+postctor) with
62158         $(+prectorT)/$(+postctorT).
62159         (+prectorT): New macro.
62160         (+postctorT): Likewise.
62162 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62164         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
62165         (round_str): Handle values above the maximum for IBM long double
62166         as inexact.
62167         * stdlib/tst-strtod-round.c (tests): Regenerated.
62169 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62171         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
62172         assembler flag.
62173         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
62174         zarch_nohighgprs around the zarch optimized routines.
62175         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
62176         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
62177         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
62178         for zarch.
62180 2012-09-05  David S. Miller  <davem@davemloft.net>
62182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62184         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
62185         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
62186         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
62187         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62188         entries.
62190 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62192         * malloc/arena.c: Fold copyright years.
62193         * malloc/mcheck.c, malloc/memusage.c: Likewise.
62195 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62197         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
62199 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62201         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
62203 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62205         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
62206         change internal state upon failure.
62208 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62210         * malloc/mcheck.c (mcheck_check_all): Fix typo.
62211         * malloc/memusage.c (mmap): Likewise.
62212         (mmap64, mremap): Likewise.  Adjust name in comment.
62214 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62216         * libio/fileops.c: Fix typos in comments.
62217         * libio/oldfileops.c: Likewise.
62218         * libio/wfileops.c: Likewise.
62220 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62222         [BZ #1349]
62223         * malloc/Makefile (tests): Add tst-malloc-usable test case.
62224         (tst-malloc-usable-ENV): Set environment for test case.
62225         * malloc/hooks.c (malloc_check_get_size): New function to get
62226         requested size.
62227         * malloc/malloc.c (musable): Use malloc_check_get_size.
62228         * malloc/tst-malloc-usable.c: New test case.
62230 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62232         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
62234 2012-09-05  Allan McRae  <allan@archlinux.org>
62236         [BZ #13966]
62237         * configure.in (CXX_SYSINCLUDES): Use compiler output to
62238         determine header location.
62239         * configure: Regenerated.
62241 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62243         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
62244         float format.
62245         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
62246         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
62247         format.
62248         (test): Regenerate.
62250 2012-09-04  David S. Miller  <davem@davemloft.net>
62252         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
62253         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
62254         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
62256 2012-09-04  Florian Weimer  <fweimer@redhat.com>
62258         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
62259         failures.
62261         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
62263 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
62265         [BZ #9914]
62266         * libio/iogetdelim.c: Include <limits.h>.
62267         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
62268         + len + 1 would overflow.
62270 2012-09-03  Andreas Jaeger  <aj@suse.de>
62272         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62273         * sysdeps/i386/fpu/libm-test-ulps: Update.
62275 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62277         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62278         Add s_sinf-sse2, s_conf-sse2.
62280         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
62281         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
62282         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
62283         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
62285         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
62286         for using routine as __sinf_ia32.
62287         Use macro for function declaration and weak_alias.
62288         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
62289         for using routine as __cosf_ia32.
62290         Use macro for function declaration and weak_alias.
62292         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
62293         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
62295         * sysdeps/x86_64/fpu/s_sinf.S: New file.
62296         * sysdeps/x86_64/fpu/s_cosf.S: New file.
62297         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62299         * math/libm-test.inc (cos_test): Add more test cases.
62300         (sin_test): Likewise.
62301         (sincos_test): Likewise.
62303 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62305         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
62306         (IFUNC_RESOLVE): Make pointers to the specialized implementations
62307         hidden.
62308         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62310 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
62312         [BZ #14538]
62313         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
62314         first element of the GOT.
62315         (elf_machine_load_address): Return the difference between
62316         the runtime address of _DYNAMIC and elf_machine_dynamic ().
62318 2012-09-01  Allan McRae  <allan@archlinux.org>
62320         [BZ #13412]
62321         * configure.in (AWK): Require gawk version 3.0 or later.
62322         * configure: Regenerated.
62324 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
62326         * sysdeps/unix/sysv/linux/kernel-features.h
62327         (__ASSUME_POSIX_CPU_TIMERS): Remove.
62328         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62329         [__NR_clock_getres]: Make code unconditional.
62330         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
62331         (clock_getcpuclockid): Remove code left unreachable by removal of
62332         conditionals.
62333         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
62334         code unconditional.
62335         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62336         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62337         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
62338         Make code unconditional.
62339         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62340         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62341         * sysdeps/unix/sysv/linux/clock_settime.c
62342         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
62343         conditional code.
62344         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
62345         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62347 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
62349         [BZ #14476]
62350         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
62351         scripts/test-installation.pl.
62353         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
62354         and $ld_so_version if it is set.
62356 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62358         [BZ #14516]
62359         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
62360         failure if reading from procfs failed.
62361         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
62363 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62365         * sysdeps/unix/sysv/linux/kernel-features.h
62366         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
62367         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62368         Remove conditional code.
62369         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62370         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
62371         Remove conditional code.
62372         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62373         * sysdeps/unix/sysv/linux/i386/fxstat.c
62374         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62375         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62376         * sysdeps/unix/sysv/linux/i386/fxstatat.c
62377         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62378         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62379         * sysdeps/unix/sysv/linux/i386/lxstat.c
62380         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62381         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62382         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
62383         Remove conditional code.
62384         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62385         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62386         Remove conditional code.
62387         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62388         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
62389         <kernel-features.h>.
62390         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
62391         Remove.
62392         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
62393         Remove conditional code.
62394         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62395         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
62396         Remove conditional.
62398 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
62400         [BZ #5400]
62401         * NEWS: Add fixed bug number.
62403 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62405         [BZ #14519]
62406         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
62407         underflowing exponent in case of negative sign.
62408         * stdlib/tst-strtod-round-data: Add more tests.
62409         * stdlib/tst-strtod-round.c (tests): Regenerated.
62411         [BZ #3479]
62412         * stdlib/strtod_l.c (NDIG): Remove.
62413         (HEXNDIG): Likewise.
62414         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
62415         smallest representable value.
62416         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
62417         lie within an exact representation of 1/2 ulp of the result.
62418         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
62419         unconditionally.
62420         (TENS_P9_IDX): Define unconditionally.
62421         (TENS_P9_SIZE): Likewise.
62422         (TENS_P10_IDX): Likewise.
62423         (TENS_P10_SIZE): Likewise.
62424         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
62425         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
62426         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
62427         entries for 10^2^13 and 10^2^14.
62428         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
62429         (TENS_P13_IDX): Define.
62430         (TENS_P13_SIZE): Likewise.
62431         (TENS_P14_IDX): Likewise.
62432         (TENS_P14_SIZE): Likewise.
62433         (_fpioconst_pow10): Change array size to
62434         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
62435         unconditional.
62436         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
62437         1024]: Add entries for 10^2^13 and 10^2^14.
62438         [LAST_POW10 > _LAST_POW10]: Remove #error.
62439         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
62440         (_fpioconst_pow10): Change array size to
62441         FPIOCONST_POW10_ARRAY_SIZE.
62442         * stdlib/gen-fpioconst.c: New file.
62443         * stdlib/gen-tst-strtod-round.c: Likewise.
62444         * stdlib/tst-strtod-round-data: Likewise.
62445         * stdlib/tst-strtod-round.c: Likewise.
62446         * stdlib/Makefile (tests): Add tst-strtod-round.
62448         [BZ #14459]
62449         * stdlib/strtod_l.c: Include <stdint.h>.
62450         (NDEBUG): Do not define.
62451         (round_and_return): Change EXPONENT parameter to type intmax_t.
62452         Rearrange calculations to avoid internal overflow possibilities.
62453         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
62454         Rearrange calculations to avoid internal overflow possibilities.
62455         Assert that number fits inside MPNSIZE limbs.
62456         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
62457         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
62458         calculations and add assertions to avoid internal overflow
62459         possibilities.  Add casts to avoid signed/unsigned operations.
62460         * stdlib/tst-strtod-overflow.c: New file.
62461         * stdlib/Makefile (tests): Add tst-strtod-overflow.
62463 2012-08-25  Marek Polacek  <polacek@redhat.com>
62465         * time/time.h: Fix some typos in comments.
62467 2012-08-23  Roland McGrath  <roland@hack.frob.com>
62469         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
62470         * posix/tst-rfc3484-2.c: Likewise.
62471         * posix/tst-rfc3484-3.c: Likewise.
62473 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
62475         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
62476         (EF_ARM_ABI_FLOAT_HARD): Likewise.
62478 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
62480         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
62481         #include of fxstatat64.c.
62483 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62485         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
62486         * shadow/getspent_r.c: Likewise.
62487         * shadow/getspnam.c: Likewise.
62488         * shadow/getspnam_r.c: Likewise.
62489         * gshadow/getsgent.c: Likewise.
62490         * gshadow/getsgent_r.c: Likewise.
62491         * gshadow/getsgnam.c: Likewise.
62492         * gshadow/getsgnam_r.c: Likewise.
62493         * inet/getnetbyad.c: Likewise.
62494         * inet/getnetbyad_r.c: Likewise.
62495         * inet/getnetbynm.c: Likewise.
62496         * inet/getnetbynm_r.c: Likewise.
62497         * inet/getnetent.c: Likewise.
62498         * inet/getnetent_r.c: Likewise.
62499         * inet/getproto.c: Likewise.
62500         * inet/getproto_r.c: Likewise.
62501         * inet/getprtent.c: Likewise.
62502         * inet/getprtent_r.c: Likewise.
62503         * inet/getprtname.c: Likewise.
62504         * inet/getprtname_r.c: Likewise.
62505         * inet/getrpcbyname.c: Likewise.
62506         * inet/getrpcbyname_r.c: Likewise.
62507         * inet/getrpcbynumber.c: Likewise.
62508         * inet/getrpcbynumber_r.c: Likewise.
62509         * inet/getrpcent.c: Likewise.
62510         * inet/getrpcent_r.c: Likewise.
62511         * inet/getaliasent.c: Likewise.
62512         * inet/getaliasent_r.c: Likewise.
62513         * inet/getaliasname.c: Likewise.
62514         * inet/getaliasname_r.c: Likewise.
62515         * nscd/getgrgid_r.c: Likewise.
62516         * nscd/getgrnam_r.c: Likewise.
62517         * nscd/gethstbyad_r.c: Likewise.
62518         * nscd/gethstbynm3_r.c: Likewise.
62519         * nscd/getpwnam_r.c: Likewise.
62520         * nscd/getpwuid_r.c: Likewise.
62521         * nscd/getsrvbynm_r.c: Likewise.
62522         * nscd/getsrvbypt_r.c: Likewise.
62523         * nscd/gai.c: Likewise.
62525         * configure.in (build_nscd): New substituted variable, set
62526         by --disable-build-nscd and defaults to $use_nscd.
62527         * configure: Regenerated.
62528         * config.make.in (build-nscd): New substituted variable.
62529         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
62530         Change conditional to require [$(build-nscd) = yes] as well.
62531         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
62533         [BZ# 13696]
62534         * configure.in (use_nscd): New substituted variable, set by
62535         --disable-nscd.  If enabled, define USE_NSCD.
62536         * configure: Regenerated.
62537         * config.h.in: Add USE_NSCD.
62538         * config.make.in (use-nscd): New substituted variable.
62539         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
62540         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
62541         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
62542         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
62543         (CFLAGS-getgrnam_r.c): Likewise.
62544         (CFLAGS-initgroups.c): Likewise.
62545         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
62546         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
62547         Variables removed.
62548         * inet/getnetgrent_r.c
62549         (nscd_setnetgrent): New function, broken out of ...
62550         (setnetgrent): ... here.  Call it.
62551         (innetgr): Conditionalize nscd bits on [USE_NSCD].
62552         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
62553         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
62554         * nscd/Makefile (routines, aux): Move definitions after include of
62555         Makeconfig.  Conditionalize on [$(use-nscd) != no].
62556         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
62557         Conditionalize on [USE_NSCD].
62558         (is_nscd, nscd_init_cb): Likewise.
62559         (nss_load_library): Conditionalize init callback on [USE_NSCD].
62560         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
62561         * nss/nss_db/db-init.c: Likewise.
62562         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
62563         [USE_NSCD].
62564         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
62565         (make_request): Use it.
62566         (cache_valid_p): New function.
62567         (__check_pf): Use it.
62568         * NEWS: Add item for --disable-nscd.
62570 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
62572         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
62573         to support sed >= 4.2.1-20-ga9bf076.
62574         * configure: Regenerated.
62576 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62578         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
62579         Conditionalize whole body on [IREL].
62581 2012-08-22  Jeff Law <law@redhat.com>
62583         [BZ #14505]
62584         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
62585         if the family is PF_UNSPEC.
62587 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
62589         * Makerules (lib-version): Rename from V.
62590         (install-lib-nosubdir): Change V to lib-version.
62592 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
62594         [BZ #14252]
62595         * powerpc32/power6/wcschr.c: New file.
62596         * powerpc32/power6/wcscpy.c: New file.
62597         * powerpc32/power6/wcsrchr.c: New file.
62598         * powerpc64/power6/wcschr.c: New file.
62599         * powerpc64/power6/wcscpy.c: New file.
62600         * powerpc64/power6/wcsrchr.c: New file.
62602 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62604         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
62605         (two_way_short_needle): Use it.
62606         * string/strstr.c (AVAILABLE1_USES_J): Define.
62607         * string/strcasestr.c: Likewise.
62609         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
62610         array references.
62611         * string/strcasestr.c (TOLOWER): Make side-effect safe.
62613         [BZ #11607]
62614         * NEWS: Add an entry.
62615         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
62616         define their defaults.
62617         (two_way_short_needle): Detect end-of-string on-the-fly.
62618         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
62619         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
62620         * string/bug-strcasestr1.c: New test.
62621         * string/Makefile: Run it.
62623 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62625         [BZ #11607]
62626         * string/str-two-way.h (two_way_short_needle): Optimize matching of
62627         the first character.
62629 2012-08-21  Roland McGrath  <roland@hack.frob.com>
62631         * csu/elf-init.c (__libc_csu_irel): Function removed.
62632         * csu/libc-start.c (apply_irel): New function.
62633         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
62635 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
62637         * sysdeps/unix/sysv/linux/kernel-features.h
62638         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
62639         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62640         <kernel-features.h>.
62641         [__NR_fadvise64_64]: Make code unconditional.
62642         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
62643         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62644         !__NR_fadvise64_64)]: Likewise.
62645         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62646         !__NR_fadvise64_64))]: Likewise.
62647         [__NR_fadvise64]: Make code unconditional.
62648         [!__NR_fadvise64]: Remove conditional code.
62649         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
62650         <kernel-features.h>.
62651         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62652         unconditional.
62653         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62654         conditional code.
62655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
62656         not include <kernel-features.h>.
62657         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62658         unconditional.
62659         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62660         conditional code.
62661         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
62662         include <kernel-features.h>.
62663         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62664         unconditional.
62665         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62666         conditional code.
62668 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62670         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
62671         slight instruction rearrangements per scrollpipe analysis.
62672         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62674 2012-08-20  Roland McGrath  <roland@hack.frob.com>
62676         * manual/syslog.texi (syslog; vsyslog, closelog):
62677         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
62678         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
62680         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
62681         DSOCAPS to match condition on defining it.
62683 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
62685         * sysdeps/unix/sysv/linux/kernel-features.h
62686         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
62687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
62688         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62689         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
62691         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62692         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
62694         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62695         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62697         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
62698         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
62700         * sysdeps/unix/sysv/linux/kernel-features.h
62701         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
62702         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
62703         unconditional.
62704         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62705         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
62706         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62707         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62708         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
62709         Make code unconditional.
62710         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62711         (__mmap64) [!__NR_mmap2]: Likewise.
62712         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
62713         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62714         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62715         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
62716         [__NR_mmap2]: Make code unconditional.
62717         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62718         (__mmap64) [!__NR_mmap2]: Likewise.
62720 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62722         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
62724 2012-08-18  Andreas Jaeger  <aj@suse.de>
62726         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
62728 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62730         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
62731         * include/unistd.h (__have_sock_cloexec): Likewise.
62732         (__have_pipe2): Likewise.
62733         (__have_dup3): Likewise.
62735 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62737         [BZ #9685]
62738         * include/unistd.h (__have_pipe2): Change define into an extern int.
62739         (__have_dup3): Likewise.
62740         * socket/have_sock_cloexec.c: Include fcntl.h.
62741         (__have_pipe2): New variable.
62742         (__have_dup3): Likewise.
62744 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
62746         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
62748 2012-08-17  Marek Polacek  <polacek@redhat.com>
62750         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
62751         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
62753 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62755         * configure.in: Add AC_SUBST for sysheaders.
62756         * configure: Regenerated.
62757         * config.make.in (sysheaders): New substituted variable.
62759         * sysdeps/unix/mkfifo.c: Moved ...
62760         * sysdeps/posix/mkfifo.c: ... here.
62761         * sysdeps/unix/mkfifoat.c: Moved ...
62762         * sysdeps/posix/mkfifoat.c: ... here.
62764         * sysdeps/unix/utime.c: Moved ...
62765         * sysdeps/posix/utime.c: ... here.
62767         * sysdeps/unix/time.c: Moved ...
62768         * sysdeps/posix/time.c: ... here.
62769         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
62770         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
62772         * sysdeps/unix/nice.c: Moved ...
62773         * sysdeps/posix/nice.c: ... here.
62775         * sysdeps/unix/alarm.c: Moved ...
62776         * sysdeps/posix/alarm.c: ... here.
62778         * intl/Makefile ($(codeset_mo)): Depend on the input file.
62780 2012-08-17  Jeff Law <law@redhat.com>
62782         * intl/Makefile (codeset_mo): New variable.
62783         ($(codeset_mo)): New target.
62784         (tst-codeset.out): Depend on that.  Remove explicit rule.
62785         (tst-gettext3.out, tst-gettext5.out): Likewise.
62786         (LOCPATH-ENV, tst-codeset-ENV): New variables.
62787         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
62788         * intl/tst-codeset.sh: Remove.
62789         * intl/tst-gettext3.sh: Likewise.
62790         * intl/tst-gettext5.sh: Likewise.
62792 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62794         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
62795         * sysdeps/unix/syscalls.list: ... here.
62797         * sysdeps/posix/getaddrinfo.c
62798         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
62799         (gaiconf_init, gaiconf_reload): Use them.
62800         [!_STATBUF_ST_NSEC]
62801         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
62802         Define using time_t rather than struct timespec.
62804         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
62805         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
62806         Macros removed.
62807         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
62808         [!NO_THREADS].
62809         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
62810         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
62811         Likewise.
62813         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
62814         __libc_cleanup_push argument.
62816         * bits/param.h: New file.
62817         * misc/sys/param.h: New file.
62818         * include/sys/param.h: New file.
62819         * misc/Makefile (headers): Add bits/param.h.
62820         * sysdeps/generic/sys/param.h: File removed.
62821         * sysdeps/unix/sysv/linux/bits/param.h: New file.
62822         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
62823         * sysdeps/mach/hurd/bits/param.h: New file.
62824         * sysdeps/mach/hurd/sys/param.h: File removed.
62826         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
62827         last change.
62829         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
62830         [_IO_MTSAFE_IO].
62831         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
62832         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
62833         New macros.
62835         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
62836         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62837         rather than -D_IO_MTSAFE_IO conditionally.
62838         * stdio-common/Makefile (CPPFLAGS): Likewise.
62839         * wcsmbs/Makefile (CPPFLAGS): Likewise.
62840         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62841         Use $(libio-mtsafe).
62842         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
62843         of -D_IO_MTSAFE_IO.
62844         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
62845         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
62846         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
62847         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
62848         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
62849         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
62850         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
62851         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
62852         (CFLAGS-fread_u_chk.c): Likewise.
62853         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
62854         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
62855         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62856         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
62857         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
62858         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
62859         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
62860         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
62861         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
62863         * libio/Makefile: Test [$(libc-reentrant) = yes]
62864         instead of [$(filter %REENTRANT, $(defines)) nonempty].
62866         * Makeconfig
62867         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
62868         * sysdeps/pthread/configure: File removed.
62869         * sysdeps/pthread/Makeconfig: New file.
62870         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
62871         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
62873 2012-08-16  Gary Benson  <gbenson@redhat.com>
62875         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
62876         unmapping the first object in a namespace.
62878 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62880         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62881         (__internal_setnetgrent): ... this.  Add internal_function to
62882         definition.  Add libc_hidden_def.
62883         (setnetgrent): Update caller.
62884         (internal_endnetgrent): Renamed to ...
62885         (__internal_endnetgrent): ... this.  Add internal_function to
62886         definition.  Add libc_hidden_def.
62887         (endnetgrent): Update caller.
62888         (internal_getnetgrent_r): Renamed to ...
62889         (__internal_getnetgrent_r): ... this.  Add internal_function to
62890         definition.  Add libc_hidden_def.
62891         (__getnetgrent_r): Update caller.
62892         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
62894 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62896         * stdlib/longlong.h: Update from GCC.
62898 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62900         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
62901         on _QL, which is set by umul_ppmm but never used.
62902         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
62903         variables, which are set by GMP macros but never used.
62904         * stdio-common/_itowa.c (_itowa): Likewise.
62905         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
62906         * stdlib/mod_1.c (mpn_mod_1): Likewise.
62908 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
62910         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
62911         struct La_sh_regs is not constant.
62912         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
62913         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
62914         and struct La_sparc64_regs are not constant.
62916 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62918         * sysdeps/unix/sysv/linux/kernel-features.h
62919         (__ASSUME_POSIX_TIMERS): Remove.
62920         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62921         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62922         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
62923         Make code unconditional.
62924         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62925         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
62926         Make code unconditional.
62927         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62928         * sysdeps/unix/sysv/linux/clock_nanosleep.c
62929         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
62930         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62931         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
62932         Make code unconditional.
62933         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62934         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
62935         (__libc_missing_posix_timers): Remove.
62937 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62939         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
62940         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
62942         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
62944         * elf/dl-sym.c: Include <stdlib.h>.
62946         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
62947         constants, which avoids warnings in 32-bit builds.
62949         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
62950         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
62952         * misc/lseek.c: File moved to ...
62953         * io/lseek.c: ... here.
62955         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
62957         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
62958         shifting LEN more than 31 bits at once.
62960 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62962         [BZ #14195]
62963         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
62964         segmentation fault for a case of two empty input strings.
62965         * string/test-strncasecmp.c (check1): Renamed to...
62966         (bz12205): ...this.
62967         (bz14195): Add new testcase for two empty input strings and N > 0.
62968         (test_main): Call new testcase, adapt for renamed function.
62970 2012-08-15  Andreas Jaeger  <aj@suse.de>
62972         [BZ #14090]
62973         * crypt/md5test2.c: New test, based on test supplied by Serge
62974         Belyshev <belyshev@depni.sinp.msu.ru>.
62975         * crypt/Makefile (xtests): Add md5test-giant..
62976         * crypt/Makefile ($(objpfx)md5test-giant): Add.
62978 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
62980         [BZ #14090]
62981         * crypt/md5.c (md5_process_block): Don't assume the buffer
62982         length is less than 2**32.
62983         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
62984         length is less than 2**64.
62986 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62988         * string/str-two-way.h: Include <sys/param.h>.
62989         (MAX): Macro removed.
62991         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
62992         Move #define and #undef of memmove to just before and after
62993         including <string.h>.
62995         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
62996         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
62997         and after including <string.h>.  Move declarations of
62998         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
62999         to before #include "string/memmove.c".
63001         * include/dirent.h: Declare __getdirentries.
63003         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
63004         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
63006 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
63008         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
63009         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
63010         * sysdeps/i386/configure: Regenerated.
63011         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
63012         STABS_CURRENT_FILE, and STABS_FUN.
63013         (END): Remove call to STABS_FUN_END.
63014         (STABS_CURRENT_FILE1): Delete.
63015         (STABS_CURRENT_FILE): Likewise.
63016         (STABS_FUN): Likewise.
63017         (STABS_FUN_END): Likewise.
63018         (STABS_FUN2): Likewise.
63019         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
63020         * sysdeps/x86_64/configure: Regenerated.
63022 2012-08-14  Roland McGrath  <roland@hack.frob.com>
63024         * elf/dl-open.c: Include <atomic.h>.
63025         * elf/dl-lookup.c: Likewise.
63027 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
63029         * sysdeps/unix/sysv/linux/kernel-features.h
63030         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
63031         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
63032         unconditionally.
63033         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
63034         unconditionally.
63035         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
63036         condition on __ASSUME_CLONE_THREAD_FLAGS.
63038 2012-08-14  Andreas Jaeger  <aj@suse.de>
63040         * sysdeps/i386/fpu/libm-test-ulps: Update.
63042 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
63044         * include/atomic.h (atomic_exchange_and_add): Split into ...
63045         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
63046         New atomic macros.
63048 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
63050         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63052 2012-08-13  Jeff Law <law@redhat.com>
63054         * manual/stdio.texi (snprintf): Clarify handling of the trailing
63055         null byte in the output string.
63057 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
63059         * sysdeps/unix/sysv/linux/kernel-features.h
63060         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
63061         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
63062         (__ASSUME_ARG_MAX_STACK_BASED): Define.
63063         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
63064         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
63065         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
63066         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
63068 2012-08-09  Jeff Law <law@redhat.com>
63070         [BZ #13939]
63071         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
63072         When avoid_arena is set, don't retry in the that arena.  Pick the
63073         next one, whatever it might be.
63074         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
63075         (arena_lock): Pass in new parameter to arena_get2.
63076         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
63077         arena_get2.
63078         (__libc_malloc): Unify retrying after main arena failure with
63079         __libc_memalign version.
63080         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
63082 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
63084         [BZ #14166]
63085         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
63086         to __redirect_strstr.
63087         (__strstr_sse42): Use typeof __redirect_strstr.
63088         (__strstr_ia32): Likewise.
63089         (__libc_strstr): New prototype.
63090         (strstr): Renamed to ...
63091         (__libc_strstr): This.
63092         (strstr): New strong alias of __libc_strstr.
63093         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63094         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
63095         __redirect_time.
63096         Include <time.h>.
63097         (__libc_time): New prototype.
63098         (time_ifunc): Replace time with __libc_time.
63099         (time): New strong alias and hidden definition of __libc_time.
63100         (__GI_time): Remove strong alias.
63101         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
63102         Include <stddef.h>.
63103         (memmove): Redefined to __redirect_memmove.
63104         (__memmove_sse2): Use typeof __redirect_memmove.
63105         (__memmove_ssse3): Likewise.
63106         (__memmove_ssse3_back): Likewise.
63107         (__libc_memmove): New prototype.
63108         (memmove): Renamed to ...
63109         (__libc_memmove): This.
63110         (memmove): New strong alias of __libc_memmove.
63112 2012-08-08  Mark Salter  <msalter@redhat.com>
63114         * elf/elf.h
63115         (R_MN10300_TLS_GD): Define.
63116         (R_MN10300_TLS_LD): Likewise.
63117         (R_MN10300_TLS_LDO): Likewise.
63118         (R_MN10300_TLS_GOTIE): Likewise.
63119         (R_MN10300_TLS_IE): Likewise.
63120         (R_MN10300_TLS_LE): Likewise.
63121         (R_MN10300_TLS_DTPMOD): Likewise.
63122         (R_MN10300_TLS_DTPOFF): Likewise.
63123         (R_MN10300_TLS_TPOFF): Likewise.
63124         (R_MN10300_SYM_DIFF): Likewise.
63125         (R_MN10300_ALIGN): Likewise.
63126         (R_MN10300_NUM): Update.
63128 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
63130         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
63131         Remove.
63133 2012-08-08  Roland McGrath  <roland@hack.frob.com>
63135         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
63137         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
63138         sysdeps/unix -> sysdeps/posix move.
63139         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
63141 2012-08-07      Allan McRae     <allan@archlinux.org>
63143         [BZ #14303]
63144         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
63145         (SUNOS_CPP): Likewise.
63146         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
63147         not found.
63148         (open_input): Call CPP using execvp.
63150 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63152         * sysdeps/unix/sysv/linux/kernel-features.h
63153         (__ASSUME_PROT_GROWSUPDOWN): Remove.
63154         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63155         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63156         (__ASSUME_WAITID_SYSCALL): Likewise.
63157         * sysdeps/unix/sysv/linux/dl-execstack.c
63158         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
63159         code unconditional.
63160         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
63161         conditional code.
63162         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
63163         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
63164         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
63165         code.
63166         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
63167         unconditional.
63168         [__ASSUME_WAITID_SYSCALL]: Likewise.
63169         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
63171 2012-08-07  Roland McGrath  <roland@hack.frob.com>
63173         * sysdeps/unix/closedir.c: Renamed to ...
63174         * sysdeps/posix/closedir.c: ... here.
63175         * sysdeps/unix/dirfd.c: Renamed to ...
63176         * sysdeps/posix/dirfd.c: ... here.
63177         * sysdeps/unix/dirstream.h: Renamed to ...
63178         * sysdeps/posix/dirstream.h: ... here.
63179         * sysdeps/unix/fdopendir.c: Renamed to ...
63180         * sysdeps/posix/fdopendir.c: ... here.
63181         * sysdeps/unix/opendir.c: Renamed to ...
63182         * sysdeps/posix/opendir.c: ... here.
63183         * sysdeps/unix/readdir.c: Renamed to ...
63184         * sysdeps/posix/readdir.c: ... here.
63185         * sysdeps/unix/readdir_r.c: Renamed to ...
63186         * sysdeps/posix/readdir_r.c: ... here.
63187         * sysdeps/unix/rewinddir.c: Renamed to ...
63188         * sysdeps/posix/rewinddir.c: ... here.
63189         * sysdeps/unix/seekdir.c: Renamed to ...
63190         * sysdeps/posix/seekdir.c: ... here.
63191         * sysdeps/unix/telldir.c: Renamed to ...
63192         * sysdeps/posix/telldir.c: ... here.
63193         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
63194         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
63195         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
63196         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
63198         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
63199         * bits/fcntl.h: ... here.
63201         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
63202         not 0.
63203         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
63204         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
63205         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
63206         (struct flock): Move l_start, l_len to the beginning.
63207         Use __pid_t for l_pid.
63208         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
63209         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
63210         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
63211         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
63212         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
63213         [__USE_LARGEFILE64] (struct flock64): New type.
63214         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
63216         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
63217         * bits/dirent.h: ... here.
63219         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
63220         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
63222 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63224         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63225         Change from 2.6.0 to 2.6.16.
63226         * sysdeps/unix/sysv/linux/configure: Regenerated.
63227         * sysdeps/unix/sysv/linux/kernel-features.h
63228         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
63229         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
63230         version.
63231         (__ASSUME_UTIMES): Likewise.
63232         (__ASSUME_CLONE_STOPPED): Remove.
63233         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
63234         architectures, not kernel version.
63235         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
63236         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63237         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63238         (__ASSUME_WAITID_SYSCALL): Likewise.
63239         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
63240         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
63241         * README: State 2.6.16 as minimum Linux kernel version.  Do not
63242         refer to older versions.
63244 2012-08-06  Roland McGrath  <roland@hack.frob.com>
63246         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
63247         Define alphasort64 as an alias.
63248         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
63249         Define versionsort64 as an alias.
63250         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
63251         Define scandir64 as an alias.
63252         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
63253         Define scandirat64 as an alias.
63254         * dirent/alphasort64.c (alphasort64):
63255         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
63256         * dirent/versionsort64.c: Likewise.
63257         * dirent/scandir64.c: Likewise.
63258         * dirent/scandirat64.c: Likewise.
63259         * sysdeps/wordsize-64/alphasort.c: File removed.
63260         * sysdeps/wordsize-64/alphasort64.c: File removed.
63261         * sysdeps/wordsize-64/scandir.c: File removed.
63262         * sysdeps/wordsize-64/scandir64.c: File removed.
63263         * sysdeps/wordsize-64/scandirat.c: File removed.
63264         * sysdeps/wordsize-64/scandirat64.c: File removed.
63265         * sysdeps/wordsize-64/versionsort.c: File removed.
63266         * sysdeps/wordsize-64/versionsort64.c: File removed.
63267         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
63268         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
63269         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
63270         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
63271         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
63272         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
63273         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
63274         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
63276         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
63277         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63278         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
63279         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63280         [defined __arch64__ || defined __sparcv9]
63281         (__INO_T_MATCHES_INO64_T): New macro.
63282         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63283         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
63284         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
63285         * sysdeps/unix/sysv/linux/bits/dirent.h
63286         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
63287         (_DIRENT_MATCHES_DIRENT64): New macro.
63289         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
63290         Define lockf64 as an alias.
63291         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
63292         Define fseeko64 as an alias.
63293         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
63294         Define ftello64 as an alias.
63295         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
63296         Define _IO_fgetpos64 and fgetpos64 as aliases.
63297         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
63298         Define _IO_fsetpos64 and fsetpos64 as aliases.
63299         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
63300         Conditionalize body on this.
63301         * libio/fseeko64.c: Likewise.
63302         * libio/ftello64.c: Likewise.
63303         * libio/iofgetpos64.c: Likewise.
63304         * libio/iofsetpos64.c: Likewise.
63305         * sysdeps/wordsize-64/lockf.c: File removed.
63306         * sysdeps/wordsize-64/lockf64.c: File removed.
63307         * sysdeps/wordsize-64/fseeko.c: File removed.
63308         * sysdeps/wordsize-64/fseeko64.c: File removed.
63309         * sysdeps/wordsize-64/ftello.c: File removed.
63310         * sysdeps/wordsize-64/ftello64.c: File removed.
63311         * sysdeps/wordsize-64/iofgetpos.c: File removed.
63312         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
63313         * sysdeps/wordsize-64/iofsetpos.c: File removed.
63314         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
63315         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
63316         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
63317         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
63318         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
63319         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
63320         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
63321         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
63322         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
63323         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
63324         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
63326         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63327         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63328         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
63329         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63330         [defined __arch64__ || defined __sparcv9]
63331         (__OFF_T_MATCHES_OFF64_T): New macro.
63332         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63333         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63334         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63335         (__OFF_T_MATCHES_OFF64_T): New macro.
63337 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63339         * stdlib/secure-getenv.c (__secure_getenv): Replace
63340         GLIBC_2_16 with GLIBC_2_17.
63342 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63344         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
63345         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63347 2012-08-03  David S. Miller  <davem@davemloft.net>
63349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63351 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63353         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
63354         Remove.
63355         (__ASSUME_CORRECT_SI_PID): Likewise.
63356         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
63357         (__ASSUME_TMPFS_NAME): Likewise.
63358         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
63359         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
63360         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
63361         (HAVE_AUX_SECURE): Make definition unconditional.
63362         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
63363         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
63365 2012-08-03  Roland McGrath  <roland@hack.frob.com>
63367         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
63368         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
63369         * sysdeps/mach/hurd/eloop-threshold.h: New file.
63370         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63371         __eloop_threshold instead of SYMLOOP_MAX.
63373         * sysdeps/generic/eloop-threshold.h: New file.
63374         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
63375         of MAXSYMLINKS.
63376         * elf/chroot_canon.c (chroot_canon): Likewise.
63378 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63380         [BZ #13717]
63381         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63382         Change to 2.6.0 everywhere.
63383         * sysdeps/unix/sysv/linux/configure: Regenerated.
63384         * sysdeps/unix/sysv/linux/kernel-features.h
63385         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
63386         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
63387         kernel versions.
63388         (__ASSUME_POSIX_TIMERS): Define unconditionally.
63389         (__ASSUME_FUTEX_REQUEUE): Remove.
63390         (__ASSUME_STATFS64): Define unconditionally.
63391         (__ASSUME_AT_SECURE): Likewise.
63392         (__ASSUME_CORRECT_SI_PID): Likewise.
63393         (__ASSUME_TGKILL): Define without depending on kernel version for
63394         i386.
63395         (__ASSUME_UTIMES): Likewise.
63396         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
63397         kernel version.
63398         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
63399         (__ASSUME_TMPFS_NAME): Likewise.
63400         * README: Update reference to Linux kernel versions.
63402 2012-08-02  Marek Polacek  <polacek@redhat.com>
63404         [BZ# 14150]
63405         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
63406         libc_cv_asm_type_prefix with %.
63407         * configure: Regenerated.
63408         * include/libc-symbols.h: Remove comment about
63409         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63410         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
63411         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
63412         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
63413         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
63414         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63415         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
63416         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
63417         * elf/tst-unique2mod1.c: Likewise.
63418         * elf/tst-unique1mod2.c: Likewise.
63419         * elf/tst-unique1mod1.c: Likewise.
63420         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
63421         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
63422         Replace ASM_TYPE_DIRECTIVE with .type.
63423         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63424         * sysdeps/i386/sysdep.h: Likewise.
63425         * sysdeps/x86_64/sysdep.h: Likewise.
63426         * sysdeps/sh/sysdep.h: Likewise.
63427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63428         Do not define ASM_TYPE_DIRECTIVE.
63429         * sysdeps/powerpc/sysdep.h: Likewise.
63430         * sysdeps/powerpc/powerpc32/sysdep.h:
63431         Replace ASM_TYPE_DIRECTIVE with .type.
63432         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63433         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63434         * sysdeps/i386/fpu/e_powf.S: Likewise.
63435         * sysdeps/i386/fpu/e_expl.S: Likewise.
63436         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63437         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63438         * sysdeps/i386/fpu/e_pow.S: Likewise.
63439         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63440         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63441         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63442         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63443         * sysdeps/i386/fpu/e_log2.S: Likewise.
63444         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63445         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63446         * sysdeps/i386/fpu/e_powl.S: Likewise.
63447         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63448         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63449         * sysdeps/i386/fpu/e_logl.S: Likewise.
63450         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63451         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63452         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63453         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63454         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63455         * sysdeps/i386/fpu/e_log.S: Likewise.
63456         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63457         * sysdeps/i386/fpu/e_logf.S: Likewise.
63458         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63459         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63460         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63461         * sysdeps/i386/fpu/e_log10.S: Likewise.
63462         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63463         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63464         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63465         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63466         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63467         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
63468         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63469         * sysdeps/i386/i686/strtok.S: Likewise.
63470         * sysdeps/i386/i386-mcount.S: Likewise.
63471         * sysdeps/i386/strtok.S: Likewise.
63472         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
63473         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63474         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63475         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63476         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63477         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63478         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63479         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63480         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63481         * sysdeps/x86_64/_mcount.S: Likewise.
63482         * sysdeps/x86_64/strtok.S: Likewise.
63483         * sysdeps/sh/_mcount.S: Likewise.
63485 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63487         * libio/iofopen.c: Include <fcntl.h>.
63488         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
63489         (_IO_fopen64, fopen64): Define as aliases.
63490         * libio/iofopen64.c: Include <fcntl.h>.
63491         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
63492         Conditionalize body on this.
63493         * sysdeps/wordsize-64/iofopen.c: File removed.
63494         * sysdeps/wordsize-64/iofopen64.c: File removed.
63496 2012-08-01  Marek Polacek  <polacek@redhat.com>
63498         * libc/Makeconfig: Use elf in place of binfmt-subdir.
63499         Use dlfcn directly instead of a variable.
63500         (binfmt-subdir): Do not define.
63501         (dlfcn): Likewise.
63503 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
63505         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
63506         Remove all definitions.
63507         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
63508         <kernel-features.h>.
63509         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63510         (miss_F_GETOWN_EX): Remove all definitions.
63511         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
63512         macro definition.
63513         [!__ASSUME_FCNTL64]: Remove conditional code.
63514         [__ASSUME_FCNTL64]: Make code unconditional.
63515         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
63516         <kernel-features.h>.
63517         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63518         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
63519         (lockf64) [__NR_fcntl64]: Make code unconditional.
63520         (lockf64) [__ASSUME_FCNTL64]: Likewise.
63522         * sysdeps/unix/sysv/linux/kernel-features.h
63523         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
63524         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
63525         Make code unconditional.
63526         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63527         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
63529         [__NR_vfork]: Make code unconditional.
63530         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63531         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
63533         [__NR_vfork]: Make code unconditional.
63534         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63535         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63537 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63539         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
63540         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
63542         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63543         Define mkstemp64 as an alias.
63544         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63545         Define mkstemps64 as an alias.
63546         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63547         Define mkostemp64 as an alias.
63548         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63549         Define mkostemps64 as an alias.
63550         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
63551         Conditionalize body on this.
63552         * misc/mkostemp64.c: Likewise.
63553         * misc/mkostemps64.c: Likewise.
63554         * misc/mkstemps64.c: Likewise.
63555         * sysdeps/wordsize-64/mkstemp64.c: File removed.
63556         * sysdeps/wordsize-64/mkostemp64.c: File removed.
63557         * sysdeps/wordsize-64/mkostemp.c: File removed.
63558         * sysdeps/wordsize-64/mkstemp.c: File removed.
63559         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
63560         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
63561         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
63562         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
63564         [BZ #14138]
63565         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
63566         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
63567         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
63568         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
63570         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
63571         compat_symbol macros from <shlib-compat.h> rather than the underlying
63572         default_symbol_version and symbol_version macros, so that DEFAULT
63573         lines in shlib-versions are respected.
63574         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
63576 2012-08-01  Florian Weimer  <fweimer@redhat.com>
63578         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
63579         Declare with warn_unused_result.
63580         (setgid, setregid, setegid, setresgid): Likewise.
63581         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
63582         Likewise.
63583         * WUR-REPORT: Remove set*id functions.
63585 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
63587         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
63589 2012-07-31  Roland McGrath  <roland@hack.frob.com>
63591         [BZ #10191]
63592         * include/sys/socket.h (__libc_accept, __libc_accept4):
63593         Add attribute_hidden.
63594         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
63596         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
63597         use of PTR_MANGLE.
63598         * inet/getnetgrent_r.c (setup): Likewise.
63600         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
63602 2012-07-31  David S. Miller  <davem@davemloft.net>
63604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63606 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
63608         [BZ #13629]
63609         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
63610         value between 1.0 and 2.0 and smaller part has absolute value less
63611         than 1.0.
63612         * math/s_clog10.c (__clog10): Likewise.
63613         * math/s_clog10f.c (__clog10f): Likewise.
63614         * math/s_clog10l.c (__clog10l): Likewise.
63615         * math/s_clogf.c (__clogf): Likewise.
63616         * math/s_clogl.c (__clogl): Likewise.
63617         * math/libm-test.inc (clog_test): Add more tests.
63618         (clog10_test): Likewise.
63619         * sysdeps/i386/fpu/libm-test-ulps: Update.
63620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63622 2012-07-31  Florian Weimer  <fweimer@redhat.com>
63624         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
63625         Exit with zero in case no suitable GID is found, and write a
63626         message to standard error.
63628 2012-07-30  Roland McGrath  <roland@hack.frob.com>
63630         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
63631         rather than to 1.
63632         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
63633         (MAXPATHLEN): Removed.
63634         (NOGROUP, NODEV): New macros.
63635         (setbit, clrbit, isset, isclr): New macros.
63636         (howmany, roundup, powerof2): New macros.
63637         (DEV_BSIZE): New macro.
63639         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
63640         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
63642         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
63643         definition on [!__NO_LONG_DOUBLE_MATH].
63645         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
63646         PTR_MANGLE and PTR_DEMANGLE.
63648         * socket/accept4.c (accept4): Rename to __libc_accept4.
63649         Define accept4 as a weak alias.
63651         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
63652         on [_DIRENT_HAVE_D_TYPE].
63653         * io/ftw.c (ftw_dir): Likewise.
63655         * io/xmknod.c (__xmknod): Don't check PATH for being null.
63657         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
63659         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
63660         Use the BSD numbers rather than the arbitrary ones we had.
63661         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
63662         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
63663         (SIGXCPU, SIGXFSZ): New macros.
63664         (_NSIG): Now 32.
63666         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
63667         initializer on [_LIBC_REENTRANT].
63669         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
63670         definitions inside [_POSIX_MAPPED_FILES].
63672         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
63674         * dirent/opendir.c: Include <fcntl.h>.
63676         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
63677         (__libc_getspecific): Likewise.
63678         (__libc_key_create): Likewise.
63680         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
63681         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
63682         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
63683         (tmpfile64): Define as alias.
63684         * sysdeps/wordsize-64/tmpfile.c: File removed.
63685         * sysdeps/wordsize-64/tmpfile64.c: File removed.
63686         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
63687         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
63689         * stdio-common/vfscanf.c: Include <stdbool.h>.
63690         * nss/makedb.c: Likewise.
63691         * stdio-common/_i18n_number.h: Likewise.
63692         * argp/argp-help.c: Likewise.
63693         * posix/wordexp.c: Likewise.
63694         * sysdeps/posix/spawni.c: Likewise.
63695         * nss/nss_files/files-initgroups.c: Likewise.
63696         * stdio-common/reg-modifier.c: Include <stdlib.h>.
63697         * nss/nss_files/files-initgroups.c: Likewise.
63698         * nss/nss_db/db-netgrp.c: Likewise.
63699         * nss/nss_db/db-initgroups.c: Likewise.
63700         * io/fchmodat.c: Include <sys/stat.h>.
63702         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
63703         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
63705         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
63706         [HAVE_MMAP].
63708         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
63709         Add multiple inclusion protection.
63711 2012-07-27  David S. Miller  <davem@davemloft.net>
63713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63715 2012-07-27  Gary Benson  <gbenson@redhat.com>
63717         [BZ #14298]
63718         * elf/rtld.c: Include <stap-probe.h>.
63719         (dl_main): Added static probes "init_start" and "init_complete".
63720         * elf/dl-load.c: Include <stap-probe.h>.
63721         (lose): Take new parameter "nsid".
63722         Added static probe "map_failed".
63723         (_dl_map_object_from_fd): Pass namespace id to lose.
63724         Added static probe "map_start".
63725         (open_verify): Pass namespace id to lose.
63726         * elf/dl-open.c: Include <stap-probe.h>.
63727         (dl_open_worker) Added static probes "map_complete", "reloc_start"
63728         and "reloc_complete".
63729         * elf/dl-close.c: Include <stap-probe.h>.
63730         (_dl_close_worker): Added static probes "unmap_start" and
63731         "unmap_complete".
63732         * elf/rtld-debugger-interface.txt: New file documenting the above.
63734 2012-07-26  Roland McGrath  <roland@hack.frob.com>
63736         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
63737         rather than a string variable.
63738         * sunrpc/rpc_main.c (h_output): Likewise.
63739         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
63741 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
63743         * inet/check_native.c: New file.
63745 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
63747         [BZ #13629]
63748         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
63749         if larger part has absolute value 1.0.
63750         * math/s_clog10.c (__clog10): Likewise.
63751         * math/s_clog10f.c (__clog10f): Likewise.
63752         * math/s_clog10l.c (__clog10l): Likewise.
63753         * math/s_clogf.c (__clogf): Likewise.
63754         * math/s_clogl.c (__clogl): Likewise.
63755         * math/libm-test.inc (clog_test): Add more tests.
63756         (clog10_test): Likewise.
63757         * sysdeps/i386/fpu/libm-test-ulps: Update.
63758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63760         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
63761         (pltexit): Likewise.
63762         (La_regs): Likewise.
63763         (La_retval): Likewise.
63764         (int_retval): Likewise.
63765         Update #error for removed macros to refer only to definitions in
63766         tst-audit.h.
63767         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
63768         macro.
63769         (pltexit): Likewise.
63770         (La_regs): Likewise.
63771         (La_retval): Likewise.
63772         (int_retval): Likewise.
63773         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
63774         macro.
63775         (pltexit): Likewise.
63776         (La_regs): Likewise.
63777         (La_retval): Likewise.
63778         (int_retval): Likewise.
63779         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
63780         macro.
63781         (pltexit): Likewise.
63782         (La_regs): Likewise.
63783         (La_retval): Likewise.
63784         (int_retval): Likewise.
63785         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
63786         macro.
63787         (pltexit): Likewise.
63788         (La_regs): Likewise.
63789         (La_retval): Likewise.
63790         (int_retval): Likewise.
63791         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
63792         macro.
63793         (pltexit): Likewise.
63794         (La_regs): Likewise.
63795         (La_retval): Likewise.
63796         (int_retval): Likewise.
63797         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
63798         macro.
63799         (pltexit): Likewise.
63800         (La_regs): Likewise.
63801         (La_retval): Likewise.
63802         (int_retval): Likewise.
63803         * sysdeps/generic/tst-audit.h: Update comment to refer only to
63804         macro definitions in tst-audit.h.
63805         * sysdeps/i386/tst-audit.h: New file.
63806         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
63807         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
63808         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
63809         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
63810         * sysdeps/sh/tst-audit.h: Likewise.
63811         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
63812         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
63813         * sysdeps/x86_64/tst-audit.h: Likewise.
63815 2012-07-26  Andreas Jaeger  <aj@suse.de>
63817         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
63818         ptrace.
63820         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
63821         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
63822         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
63823         PTRACE_O_MASK.
63824         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
63825         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
63826         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
63828         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
63829         value.
63831         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
63832         _sigsys.
63833         (si_call_addr, si_syscall, si_arch): Define new macro.
63834         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
63835         _sigsys.
63836         (si_call_addr, si_syscall, si_arch): Define new marcro.
63837         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
63838         _sigsys.
63839         (si_call_addr, si_syscall, si_arch): Define new macro.
63840         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
63841         _sigsys.
63842         (si_call_addr, si_syscall, si_arch): Define new macro.
63844 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63846         [BZ #13717]
63847         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63848         Change to 2.4.21 where previously 2.4.1.
63849         * sysdeps/unix/sysv/linux/configure: Regenerated.
63850         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
63851         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
63852         Linux kernel version.
63853         (__ASSUME_STD_AUXV): Remove.
63854         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
63855         kernel version.
63856         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
63857         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
63858         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
63859         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
63860         (__ASSUME_NETLINK_SUPPORT): Likewise.
63861         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
63862         (__no_netlink_support): Remove conditional definition.
63863         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
63864         Remove.
63865         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63866         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
63867         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
63868         (if_nameindex_ioctl): Remove.
63869         (if_nameindex_netlink): Do not handle __no_netlink_support.
63870         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63871         code.
63872         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
63873         Remove conditional code.
63874         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63875         code.
63876         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
63877         unconditional.
63878         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63879         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63880         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63881         Remove.
63882         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63883         [!__ASSUME_STD_AUXV]: Remove conditional code.
63884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63885         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63886         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63888         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63889         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63890         code.
63891         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
63893         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
63894         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63895         conditional code.
63896         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
63898         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63899         code.
63900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
63901         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63902         conditional code.
63903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
63904         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63905         code unconditional.
63906         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63907         conditional code.
63908         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63909         unconditional.
63910         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63911         conditional code.
63912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63913         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63914         unconditional.
63915         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63916         conditional code.
63917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
63918         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63919         code unconditional.
63920         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63921         conditional code.
63922         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63923         unconditional.
63924         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63925         conditional code.
63926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
63927         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63928         code unconditional.
63929         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63930         conditional code.
63931         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63932         unconditional.
63933         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63934         conditional code.
63936 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
63938         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
63939         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
63940         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
63941         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
63942         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
63943         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
63944         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
63945         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
63946         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
63947         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
63948         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
63949         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
63950         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
63951         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
63952         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
63953         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
63954         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
63955         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
63956         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
63957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
63958         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
63959         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
63960         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63962 2012-07-25  Florian Weimer  <fweimer@redhat.com>
63964         * Versions.def: Add GLIBC_2.17.
63965         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
63966         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
63967         Introduce __libc_secure_getenv.
63968         * stdlib/Versions (2.17): Add secure_getenv
63969         (GLIBC_PRIVATE): Add __libc_secure_getenv.
63970         * stdlib/secure-getenv.c: Rename __secure_getenv to
63971         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
63972         symbol __secure_getenv for GLIBC_2.0.
63973         * stdlib/tst-secure-getenv.c: New.
63974         * stdlib/Makefile (tests): Add testcase.
63975         * manual/startup.texi (Environment Access): Document
63976         secure_getenv.
63977         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
63978         __libc_secure_getenv.
63979         * inet/ruserpass.c (ruserpass): Likewise.
63980         * malloc/mtrace.c (mtrace): Likewise.
63981         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
63982         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
63983         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
63984         * sysdeps/posix/tempname.c: Likewise.  Evaluate
63985         HAVE_SECURE_GETENV.
63986         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
63987         __secure_getenv to __libc_secure_getenv.
63988         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
63989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63990         Likewise.
63991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63992         Likewise.
63993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63995         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64001 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
64003         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
64004         (struct La_i86_retval): Likewise.
64005         (struct La_x86_64_regs): Likewise.
64006         (struct La_x86_64_retval): Likewise.
64007         (struct La_x32_regs): Likewise.
64008         (struct La_x32_retval): Likewise.
64009         (struct La_ppc32_regs): Likewise.
64010         (struct La_ppc32_retval): Likewise.
64011         (struct La_ppc64_regs): Likewise.
64012         (struct La_ppc64_retval): Likewise.
64013         (struct La_sh_regs): Likewise.
64014         (struct La_sh_retval): Likewise.
64015         (struct La_s390_32_regs): Likewise.
64016         (struct La_s390_32_retval): Likewise.
64017         (struct La_s390_64_regs): Likewise.
64018         (struct La_s390_64_retval): Likewise.
64019         (struct La_sparc32_regs): Likewise.
64020         (struct La_sparc32_retval): Likewise.
64021         (struct La_sparc64_regs): Likewise.
64022         (struct La_sparc64_retval): Likewise.
64023         (struct audit_ifaces): Remove architecture-specific pltenter and
64024         pltexit members.
64025         * sysdeps/i386/ldsodefs.h: New file.
64026         * sysdeps/powerpc/ldsodefs.h: Likewise.
64027         * sysdeps/s390/ldsodefs.h: Likewise.
64028         * sysdeps/sh/ldsodefs.h: Likewise.
64029         * sysdeps/sparc/ldsodefs.h: Likewise.
64030         * sysdeps/x86_64/ldsodefs.h: Likewise.
64032 2012-07-25  Marek Polacek  <polacek@redhat.com>
64034         [BZ #6808]
64035         * math/libm-test.inc (yn_test): Add another test.
64036         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
64037         to ERANGE when the result is +-Inf.
64038         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
64039         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
64040         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
64041         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
64043 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
64045         * conform/data/time.h-data (NULL): Use macro-constant.  Require
64046         equal to 0.
64047         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
64048         clock_t.
64049         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
64051 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
64053         * configure.in <sysdeps resolving>: Correct printing
64054         Implies_before.
64055         * configure: Regenerate.
64057 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
64059         * math/w_ilogb.c: Include <limits.h>.
64060         * math/w_ilogbl.c: Likewise.
64062 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64064         * manual/lang.texi (__va_copy): Document primarily as ISO C99
64065         va_copy.  Document allowing for unavailable va_copy only as
64066         pre-C99 compatibility.
64067         * manual/string.texi (Copying and Concatenation): Use va_copy
64068         instead of __va_copy in concat example.
64070 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
64072         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
64073         (__sendto): Use create_address_port.  Initialize APORT and deallocate
64074         it if not null.
64076         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
64077         with O_NOLINK passed to __file_name_lookup.
64079         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
64080         with O_NOLINK passed to __file_name_lookup.
64082         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
64083         negative N or less than NGIDS.
64085         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
64086         type to string_t.  Set ERANGE as errno and return it if NAME is not big
64087         enough.  Use memcpy instead of strncpy.
64089 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64091         * elf/Makefile (check-data): Remove.
64092         (localplt.data): New vpath directive.
64093         ($(objpfx)check-localplt.out): Use localplt.data from vpath
64094         instead of $(check-data).
64095         * scripts/data/localplt-generic.data: Move to ...
64096         * sysdeps/generic/localplt.data: ... here.
64097         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
64098         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
64099         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
64100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
64101         ... here.
64102         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
64103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
64104         ... here.
64105         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
64106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
64107         ... here.
64108         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
64109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
64110         ... here.
64111         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
64112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
64113         ... here.
64114         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
64115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
64116         ... here.
64118 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64120         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
64121         PPC32 and PPC64 files.
64122         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
64123         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
64125 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64127         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
64128         __makecontext_ret to ...
64129         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
64130         ... here and call exit if uc_link is NULL.  New file.
64131         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
64132         __makecontext_ret.S.
64133         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
64134         __makecontext_ret to ...
64135         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
64136         ... here and call exit if uc_link is NULL.  New file.
64137         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
64138         __makecontext_ret.S.
64140 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64142         * elf/elf.h (R_390_IRELATIVE): New definition.
64143         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
64144         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
64145         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
64146         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64147         (elf_machine_lazy_rel): Likewise.
64148         * sysdeps/s390/dl-irel.h: New file.
64149         * sysdeps/s390/s390-64/memcpy.S: New asm code.
64150         * sysdeps/s390/s390-64/memset.S: New asm code.
64151         * sysdeps/s390/s390-64/memcmp.S: New asm code.
64152         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
64153         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
64154         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
64155         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
64156         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
64157         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
64158         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
64159         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
64160         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
64161         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
64162         * sysdeps/s390/s390-32/memcpy.S: New asm code.
64163         * sysdeps/s390/s390-32/memset.S: New asm code.
64164         * sysdeps/s390/s390-32/memcmp.S: New asm code.
64166 2012-07-17  Marek Polacek  <polacek@redhat.com>
64168         [BZ #14349]
64169         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
64170         * sysdeps/s390/s390-64/configure.in: Likewise.
64171         * sysdeps/sparc/configure.in: Likewise.
64172         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
64173         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
64174         * sysdeps/i386/configure.in: Likewise.
64175         * sysdeps/x86_64/configure.in: Likewise.
64176         * sysdeps/sh/configure.in: Likewise.
64177         * sysdeps/s390/s390-32/configure: Regenerated.
64178         * sysdeps/s390/s390-64/configure: Likewise.
64179         * sysdeps/x86_64/configure: Likewise.
64180         * sysdeps/sh/configure: Likewise.
64181         * sysdeps/powerpc/powerpc64/configure: Likewise.
64182         * sysdeps/powerpc/powerpc32/configure: Likewise.
64183         * sysdeps/sparc/configure: Likwise.
64184         * sysdeps/i386/configure: Likewise.
64186         * elf/dl-open.c: Comment fixes.
64188 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
64190         * Makefile [CXX] (check-data): Remove.
64191         [CXX] (c++-types.data): New vpath directive.
64192         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
64193         vpath.  Do not allow for C++ type data being missing.
64194         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
64195         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
64196         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
64197         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
64198         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
64199         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
64200         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
64201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
64202         ... here.
64203         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
64204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
64205         ... here.
64206         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
64207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
64208         ... here.
64209         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
64210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
64211         ... here.
64212         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
64213         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
64214         ... here.
64215         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
64216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
64217         ... here.
64218         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
64219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
64220         ... here.
64221         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
64222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
64224         * elf/tls-macros.h (TLS_LE): Move architecture-specific
64225         definitions to architecture-specific files.
64226         (TLS_IE): Likewise.
64227         (TLS_LD): Likewise.
64228         (TLS_GD): Likewise.
64229         * sysdeps/i386/tls-macros.h: New file.
64230         * sysdeps/powerpc/tls-macros.h: Likewise.
64231         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
64232         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
64233         * sysdeps/sh/tls-macros.h: Likewise.
64234         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
64235         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
64236         * sysdeps/x86_64/tls-macros.h: Likewise.
64238 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64240         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
64241         zero value for regular exit case.
64243         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
64244         (__start_context): Preserve zero value for regular exit case.
64246 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64247             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64249         * manual/setjmp.texi (setcontext): Clarify normal process
64250         termination when uc_link is the null pointer.
64251         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
64252         exit call.
64254 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
64256         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
64257         preprocessor.  Test for each exception mask separately.
64259 2012-07-16  Andreas Jaeger  <aj@suse.de>
64261         * po/ru.po: Update from translation team.
64263 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
64265         * conform/data/string.h-data (NULL): Use macro-constant.  Require
64266         equal to 0.
64267         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64268         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64269         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
64270         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
64271         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64273 2012-07-13  Andreas Jaeger  <aj@suse.de>
64275         * po/fr.po: Update from translation team.
64277 2012-07-12  Marek Polacek  <polacek@redhat.com>
64279         [BZ #14173]
64280         * math/libm-test.inc (yn_test): Add test for BZ #14173.
64281         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
64282         loop condition.
64284 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
64286         [BZ #13717]
64287         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64288         Change to 2.4.1 where previously 2.4.0.
64289         * sysdeps/unix/sysv/linux/configure: Regenerated.
64290         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
64291         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
64292         version.
64293         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
64294         (__ASSUME_AT_CLKTCK): Remove.
64295         (__ASSUME_AT_PAGESIZE): Likewise.
64296         (__ASSUME_AT_XID): Likewise.
64297         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
64298         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
64299         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
64300         unconditionally.
64301         (HAVE_AUX_PAGESIZE): Likewise.
64302         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
64303         [__ASSUME_AT_CLKTCK]: Make code unconditional.
64304         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
64306 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
64308         [BZ #14307]
64309         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
64310         the temporary buffer used to invoke __gethostbyname2_r,
64311         __gethostbyaddr_r and gethostbyname4_r to make room for struct
64312         host_data / struct gaih_addrtuple.
64313         * resolv/nss_dns/dns-host.c (global scope): Move definition of
64314         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
64315         header file nss/nsswitch.h.
64316         * nss/nsswitch.h (global scope): Add definition of implementation
64317         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
64318         resolv/nss_dns/dns-host.c).
64320 2012-07-11  Andreas Jaeger  <aj@suse.de>
64322         * po/fr.po: Update from translation team.
64324         * po/sv.po: Update from translation team
64325         * po/fr.po: Another update from translation team.
64327 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64329         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
64330         for subnormals or multiply small sinh result by itself.
64331         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64334 2012-07-11  David S. Miller  <davem@davemloft.net>
64336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64338 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
64340         [BZ #14347]
64341         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
64342         (INTERNAL_MARK): Shift it here.
64344 2012-07-10  Marek Polacek  <polacek@redhat.com>
64346         [BZ #14151]
64347         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
64348         libc_cv_asm_global_directive with .globl.
64349         * configure: Regenerated.
64350         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
64351         with .globl.
64352         * sysdeps/i386/configure: Regenerated.
64353         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
64354         with .globl.
64355         * sysdeps/x86_64/configure: Regenerated.
64356         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
64357         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
64358         * elf/tst-unique2mod2.c: Likewise.
64359         * elf/tst-unique2mod1.c: Likewise.
64360         * elf/tst-unique1mod2.c: Likewise.
64361         * elf/tst-unique1mod1.c: Likewise.
64362         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64363         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64364         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64365         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64366         * sysdeps/mach/sysdep.h: Likewise.
64367         * sysdeps/i386/sysdep.h: Likewise.
64368         * sysdeps/i386/i386-mcount.S: Likewise.
64369         * sysdeps/x86_64/_mcount.S: Likewise.
64370         * sysdeps/x86_64/sysdep.h: Likewise.
64371         * sysdeps/sh/_mcount.S: Likewise.
64372         * sysdeps/sh/sysdep.h: Likewise.
64373         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
64374         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
64375         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
64376         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64377         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
64378         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
64379         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
64380         * locale/localeinfo.h: Likewise.
64381         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
64382         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
64384 2012-07-09  Roland McGrath  <roland@hack.frob.com>
64386         [BZ #14336]
64387         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
64388         system".
64389         * manual/message.texi (The Uniforum approach): Likewise.
64390         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
64391         (glibc iconv Implementation): Likewise.
64393 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
64395         [BZ #14337]
64396         * math/s_clog.c (__clog): Avoid scaling a value down where that
64397         could result in underflow.
64398         * math/s_clog10.c (__clog10): Likewise.
64399         * math/s_clog10f.c (__clog10f): Likewise.
64400         * math/s_clog10l.c (__clog10l): Likewise.
64401         * math/s_clogf.c (__clogf): Likewise.
64402         * math/s_clogl.c (__clogl): Likewise.
64403         * math/libm-test.inc (clog_test): Add more tests.
64404         (clog10_test): Likewise.
64405         * sysdeps/i386/fpu/libm-test-ulps: Update.
64406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64408 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
64410         [BZ #14283]
64411         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
64412         by 7 not 8 to examine high bit of fractional part.
64414         [BZ #14042]
64415         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
64416         for call to __mcount_internal.
64417         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
64418         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
64419         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
64421 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
64423         [BZ #14154]
64424         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
64425         approximation for values within 0x1p-13f of an odd multiple of
64426         pi/4.
64427         * math/libm-test.inc (tan_test): Do not allow spurious underflow
64428         exception.  Add more tests.
64429         * sysdeps/i386/fpu/libm-test-ulps: Update.
64431         [BZ #6778]
64432         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
64433         inputs and return -1 for them.  Do not check for +Inf in case not
64434         reachable for +Inf.
64435         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
64436         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
64437         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64438         and return -1 for them.  Do not check for +Inf in case not
64439         reachable for +Inf.
64440         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
64441         define.
64442         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64443         and return -1 for them.  Do not check for +Inf in case not
64444         reachable for +Inf.
64445         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
64446         spurious underflow.
64447         * sysdeps/i386/fpu/libm-test-ulps: Update.
64448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64450 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
64452         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
64454 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
64456         [BZ #14157]
64457         [BZ #14331]
64458         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
64459         could result in spurious underflow.  Scale down values above
64460         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
64461         * math/s_csqrtf.c (__csqrtf): Likewise.
64462         * math/s_csqrtl.c (__csqrtl): Likewise.
64463         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
64464         spurious underflow.
64465         * sysdeps/i386/fpu/libm-test-ulps: Update.
64466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64468 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
64470         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
64471         xopen-msg.sed.
64472         * catgets/xopen-msg.awk: New file.
64473         * catgets/xopen-msg.sed: Removed.
64475         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
64476         po2text.sed.
64477         * intl/po2test.awk: New file.
64478         * intl/po2test.sed: Removed.
64480 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
64482         [BZ #14328]
64483         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
64484         or multiply small sinh result by itself.
64485         * math/s_ctanf.c (__ctanf): Likewise.
64486         * math/s_ctanh.c (__ctanh): Likewise.
64487         * math/s_ctanhf.c (__ctanhf): Likewise.
64488         * math/s_ctanhl.c (__ctanhl): Likewise.
64489         * math/s_ctanl.c (__ctanl): Likewise.
64490         * math/libm-test.inc (ctan_test_tonearest): New function.
64491         (ctan_test_towardzero): Likewise.
64492         (ctan_test_downward): Likewise.
64493         (ctan_test_upward): Likewise.
64494         (ctanh_test_tonearest): Likewise.
64495         (ctanh_test_towardzero): Likewise.
64496         (ctanh_test_downward): Likewise.
64497         (ctanh_test_upward): Likewise.
64498         (main): Call these new functions.
64499         * sysdeps/i386/fpu/libm-test-ulps: Update.
64500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64502 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
64504         * .gitignore: Delete /ports entry.
64506 2012-07-03  Andreas Jaeger  <aj@suse.de>
64508         * po/bg.po: Update from translation team.
64509         * po/cs.po: Likewise.
64510         * po/de.po: Likewise.
64511         * po/hr.po: Likewise.
64512         * po/nl.pl: Likewise.
64513         * po/pl.po: Likewise.
64514         * po/vi.po: Likewise.
64516 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
64518         * Makeconfig [!+link] (+link-before-libc): New variable.
64519         [!+link] (+link-after-libc): Likewise.
64520         [!+link] (+link-tests): Likewise.
64521         [!+link] (+link): Define in terms of $(+link-before-libc) and
64522         $(+link-after-libc).
64523         [!+link-static] (+link-static-before-libc): New variable.
64524         [!+link-static] (+link-static-after-libc): Likewise.
64525         [!+link-static] (+link-static-tests): Likewise.
64526         [!+link-static] (+link-static): Define in terms of
64527         $(+link-static-before-libc) and $(+link-static-after-libc).
64528         [build-shared] (link-libc-before-gnulib): New variable.
64529         [build-shared] (link-libc-tests): Likewise.
64530         [build-shared] (link-libc): Define in terms of
64531         $(link-libc-before-gnulib).
64532         [!build-shared] (link-libc-tests): New variable.
64533         (link-libc-static-tests): New variable.
64534         [!gnulib] (gnulib-arch): New variable.
64535         [!gnulib] (gnulib-tests): Likewise.
64536         [!gnulib] (static-gnulib-arch): Likewise.
64537         [!gnulib] (static-gnulib-tests): Likewise.
64538         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
64539         Define with "=" instead of ":=".
64540         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
64541         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
64542         * Rules (binaries-all-notests): New variable.
64543         (binaries-all-tests): Likewise.
64544         (binaries-static-notests): Likewise.
64545         (binaries-static-tests): Likewise.
64546         (binaries-all): Define using $(binaries-all-notests) and
64547         $(binaries-all-tests).
64548         (binaries-static): Define using $(binaries-static-notests) and
64549         $(binaries-static-tests).
64550         (binaries-shared-tests): New variable.
64551         (binaries-shared-notests): Likewise.
64552         (binaries-shared): Remove variable.
64553         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
64554         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
64555         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
64556         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
64557         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
64558         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
64559         * elf/Makefile (sln-modules): New variable.
64560         (extra-objs): Add $(sln-modules:=.o).
64561         (ldconfig-modules): Add static-stubs.
64562         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
64563         * elf/static-stubs.c: New file.
64565         [BZ #14283]
64566         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
64567         by 7 not 8 to examine high bit of fractional part.  Use volatile
64568         variables when splitting into final array of floats if
64569         __FLT_EVAL_METHOD__ != 0.
64570         * math/libm-test.inc (cos_test): Add another test.
64571         (sin_test): Likewise.
64572         * sysdeps/i386/fpu/libm-test-ulps: Update.
64574         [BZ #14273]
64575         * math/libm-test.inc (cosh_test): Add more tests.
64577         * version.h (RELEASE): Set to "development".
64578         (VERSION): Set to "2.16.90".
64580 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
64582         * NEWS: Update copyright. Remove last-updated date.
64583         Mention math library bug fixes and timezone data changes.
64584         * README: Mention GNU/Hurd, x32, and HPPA support status.
64586 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
64588         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
64590 2012-06-27  Andreas Jaeger  <aj@suse.de>
64592         * manual/contrib.texi (Contributors): Add Samuel Thibault.
64594 2012-06-25  Andreas Jaeger  <aj@suse.de>
64596         * sysdeps/s390/fpu/libm-test-ulps: Update.
64598 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
64599             Thomas Schwinge  <thomas@codesourcery.com>
64601         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
64602         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
64603         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
64604         fanotify_mark.
64606 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
64608         * sysdeps/mach/start.c: Remove file.
64609         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
64610         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
64611         * sysdeps/sh/init-first.c: Likewise.
64613         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
64614         registers for frame unwinding purposes, add CFI directives.
64615         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64616         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
64617         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
64618         Likewise.
64620         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
64621         __fortify_fail returning.
64622         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64624         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
64625         sysdeps/sh/____longjmp_chk.S.
64626         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
64627         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
64628         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
64629         (gen-as-const-headers): Append sigaltstack-offsets.sym.
64631         * sysdeps/sh/abort-instr.h: New file.
64632         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
64633         process in case exit returns.
64635         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
64636         initialize the GOT register before use.
64638         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
64639         calculation of ARGC > 4.
64641         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
64642         meaningful names to some local labels.
64644 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64645             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64647         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
64648         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
64649         (__arch_compare_and_exchange_val_16_acq): Likewise.
64650         (__arch_compare_and_exchange_val_32_acq): Likewise.
64651         (atomic_exchange_and_add): Fix gUSA sequence.
64652         (atomic_add): Likewise.
64653         (atomic_add_negative): Likewise.
64654         (atomic_add_zero): Likewise.
64655         (atomic_bit_test_set): Likewise.
64657 2012-06-22  Andreas Schwab  <schwab@redhat.com>
64659         [BZ #13579]
64660         * include/link.h (struct link_map): Add l_free_initfini.
64661         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
64662         l_initfini.
64663         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
64664         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
64665         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
64666         set.
64668 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
64670         * configure.in: Use AC_LANG_SOURCE.
64671         * configure: Regenerate.
64673 2012-06-22  Roland McGrath  <roland@hack.frob.com>
64675         * configure.in (libc_cv_localstatedir): New substituted variable.
64676         * configure: Regenerated.
64677         * config.make.in (localstatedir): New variable, substituted from
64678         libc_cv_localstatedir.
64679         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
64680         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
64681         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
64682         * sysdeps/gnu/configure: Regenerated.
64684 2012-06-21  Jeff Law  <law@redhat.com>
64686         [BZ #14277]
64687         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
64688         free.  Simplify list management for _LIBC case.
64690 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
64692         [BZ #14273]
64693         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
64694         Clear sign bit of 64-bit integer value before comparing against
64695         overflow value.
64697         * sysdeps/mach/configure: Regenerated.
64699 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
64701         [BZ #14278]
64702         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
64704 2012-06-21  Jeff Law  <law@redhat.com>
64706         [BZ #13882]
64707         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
64708         uint16_t for elements in the "seen" array to avoid char overflows.
64709         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64710         * elf/dl-open.c (dl_open_worker): Likewise.
64712 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
64714         * scripts/list-sources.sh: Scan PORTS for translations.
64715         * po/libc.pot: Regenerated.
64717 2012-06-21  Andreas Jaeger  <aj@suse.de>
64719         [BZ #12194]
64720         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
64721         warning.
64722         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
64723         * bits/byteswap-16.h (__bswap_16): Likewise.
64724         * bits/byteswap.h (__bswap_constant_16): Likewise.
64726 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
64728         [BZ #14117]
64729         * sysdeps/i386/fpu_control.h: Removed.
64730         * sysdeps/x86_64/fpu_control.h: Moved to ...
64731         * sysdeps/x86/fpu_control.h: Here.
64733         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
64734         (_FPU_SETCW): Likewise.
64736 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
64738         [BZ #14117]
64739         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
64740         * sysdeps/x86/fpu/bits/mathinline.h: This.
64741         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
64743         [BZ #14050]
64744         [BZ #14117]
64745         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
64746         functions if __x86_64__ is defined.
64748 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
64750         * string/endian.h: Add !__ASSEMBLER__ condition for including
64751         conversion interfaces.
64753 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
64755         [BZ #14241]
64756         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
64757         of ABS(x) in calculating zero to negative powers other than odd
64758         integers.
64759         * math/libm-test.inc (pow_test): Add more tests.
64761 2012-06-15  Andreas Jaeger  <aj@suse.de>
64763         * manual/contrib.texi (Contributors): Update entry of Liubov
64764         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
64765         Machado Filho.
64767 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
64769         * string/string.h: Add __wur to GNU version of strerror_r.
64771 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
64773         [BZ #14229]
64774         * string/Makefile (tests): Add tst-strtok_r.
64775         * string/tst-strtok_r.c: New file.
64776         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
64777         RAX_LP/RDX_LP on SAVE_PTR.
64779 2012-06-14  Roland McGrath  <roland@hack.frob.com>
64781         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
64783 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
64785         * libm_test.inc (csqrt_test): Allow more spurious underflow
64786         exceptions.
64787         (j0_test): Likewise.
64788         (j1_test): Likewise.
64789         (y0_test): Likewise.
64790         (y1_test): Likewise.
64792 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
64794         * po/Makefile (libc.pot): Use UTF-8 charset.
64796 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
64798         [BZ #14210]
64799         Suppress sign-conversion warning from FD_SET.
64800         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
64801         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
64802         not unsigned long int.
64803         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
64805 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
64807         [BZ #14050]
64808         [BZ #14117]
64809         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
64810         __extern_always_inline instead of __extern_inline.
64811         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
64812         (__signbit): Likewise.
64813         (__signbitl): Support C++ namespace.
64814         (lrintf): New inline function.
64815         (lrint): Likewise.
64816         (llrintf): Likewise.
64817         (llrint): Likewise.
64818         (fmaxf): Likewise.
64819         (fmax): Likewise.
64820         (fminf): Likewise.
64821         (fmin): Likewise.
64822         (rint): Likewise.
64823         (rintf): Likewise.
64824         (ceil): Likewise.
64825         (ceilf): Likewise.
64826         (floor): Likewise.
64827         (floorf): Likewise.
64828         (nearbyint): Likewise.
64829         (nearbyintf): Likewise.
64831 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
64833         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
64834         non-default versions.
64836 2012-06-11  Roland McGrath  <roland@hack.frob.com>
64838         [BZ #14218]
64839         * manual/argp.texi (Argp): Reword argp_parse description slightly.
64841 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
64843         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
64844         (FE_UPWARD, FE_DOWNWARD): Don't define.
64845         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
64846         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64848         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
64849         reading it.
64850         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64851         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64853 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64855         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64856         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
64857         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
64858         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
64860 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
64862         [BZ #14117]
64863         * sysdeps/i386/fpu/bits/fenv.h: Removed.
64864         * sysdeps/i386/fpu/Implies: New file.
64865         * sysdeps/x86_64/fpu/Implies: Likewise.
64866         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
64867         * sysdeps/x86/fpu/bits/fenv.h: This.
64869         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
64870         __SSE_MATH__.
64872 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64874         [BZ #14134]
64875         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
64876         character 0xffff that matches the last element of the
64877         conversion table.
64879 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64881         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64882         fmodl commit.
64884 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64886         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64887         values higher than 25.6283.
64889 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64891         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
64892         subnormal exponent extraction and add some __builtin_expect.
64893         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64894         Fix for subnormal mantissa calculation.
64896 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
64898         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
64899         cpu2 is -1 and errno is not ENOSYS.
64901 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
64903         [BZ #14117]
64904         * sysdeps/i386/i486/bits/string.h: Renamed to ...
64905         * sysdeps/x86/bits/string.h: This.
64906         * sysdeps/x86_64/bits/string.h: Removed.
64908         * sysdeps/i386/i486/bits/string.h: Define inline functions only
64909         if not compiling for x86-64, but compiling for >= i486.
64911         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
64912         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
64914         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
64915         New macro from Linux kernel 3.4.0.
64916         (FP_XSTATE_MAGIC2): Likewise.
64917         (FP_XSTATE_MAGIC2_SIZE): Likewise.
64918         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
64919         (struct _fpx_sw_bytes): New struct.
64920         (struct _xsave_hdr): Likewise.
64921         (struct _ymmh_state): Likewise.
64922         (struct _xstate): Likewise.
64924         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
64925         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
64926         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
64927         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
64928         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64929         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
64931         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
64932         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
64933         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
64934         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
64935         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
64936         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
64938 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64940         [BZ #13743]
64941         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
64942         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
64943         (sysdep_headers): Include sys/platform/ppc.h.
64944         * sysdeps/powerpc/test-gettimebase.c: Test for
64945         __ppc_get_timebase() to catch future ISA opcode/insn changes.
64946         * manual/Makefile (appendices): Include platform.texi.
64947         * manual/contrib.texi (Contributors): Update @node pointers.
64948         * manual/maint.texi (Maintenance): Likewise.
64949         (Platform): New node.
64950         * manual/platform.texi: New file.  Document the new features.
64952 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64953             Jakub Jelinek  <jakub@redhat.com>
64955         [BZ #14188]
64956         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
64957         where __builtin_expect is unavailable.
64959 2012-06-03  David S. Miller  <davem@davemloft.net>
64961         * stdlib/longlong.h: Updated from GCC.
64963 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
64965         [BZ #14042]
64966         * sysdeps/powerpc/powerpc32/mcount.c: New file.
64967         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
64968         __mcount_internal.
64969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64970         (GLIBC_2.16): Likewise.
64972 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64974         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
64976 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
64979         (default-abi): New variable.
64980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
64981         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
64982         variable.
64983         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
64984         Likewise.
64985         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
64986         Likewise.
64987         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
64988         Likewise.
64990         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
64991         definition.  Document in comment.
64993 2012-06-01  David S. Miller  <davem@davemloft.net>
64995         * stdlib/longlong.h: Updated from GCC.
64997 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64999         [BZ #14117]
65000         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
65001         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
65002         sys/debugreg.h sys/io.h here.
65003         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
65004         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
65005         sys/io.h.
65006         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
65007         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
65008         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
65009         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
65010         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
65011         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
65013         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
65014         Define only if __x86_64__ is defined.
65016 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
65018         [BZ #14048]
65019         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
65020         Use int64_t for variable i.
65021         * math/libm-test.inc (fmod_test): Add more tests.
65023         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
65024         z computation is not scheduled after fetestexcept.
65025         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
65026         Use math_force_eval instead of asm to ensure calculation scheduled
65027         before exception test.
65028         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
65029         Ensure a1 + u.d computation is not scheduled after fetestexcept.
65031 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
65033         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
65034         computation is not scheduled after fetestexcept.
65036 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65038         [BZ #14117]
65039         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
65040         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
65042 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65044         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
65045         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
65047 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65049         [BZ #14117]
65050         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
65051         <bits/wordsize.h>.
65052         (__WCHAR_MIN): Support __WORDSIZE == 64.
65053         (__WCHAR_MAX): Likewise.
65055         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
65056         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
65058         [BZ #14183]
65059         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
65060         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
65062         [BZ #14117]
65063         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
65064         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
65066         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
65067         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
65069         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
65070         Defined to 1 if __x86_64__ isn't defined.
65071         (_STAT_VER_LINUX_OLD): New.
65072         (st_atime): Remove duplicate.
65073         (st_mtime): Likewise.
65074         (st_ctime): Likewise.
65076 2012-05-31  David S. Miller  <davem@davemloft.net>
65078         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
65079         entries.
65081 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
65083         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
65084         gen-libm-test.pl.
65086         [BZ #14132]
65087         * elf/dl-reloc.c: Include <_itoa.h>.
65088         (_dl_reloc_bad_type): Remove use of INTUSE.
65089         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
65090         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
65091         * stdio-common/psiginfo.c (psiginfo): Likewise.
65092         * stdio-common/psignal.c (psignal): Likewise.
65093         * string/strsignal.c (strsignal): Likewise.
65094         * include/signal.h (_sys_siglist): Declare hidden proto.
65095         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
65096         INTVARDEF with libc_hidden_data_def.
65097         * stdio-common/itoa-udigits.c: Likewise.
65098         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
65099         (_itoa_lower_digits_internal): Remove declaration.
65100         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
65101         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
65102         (_sys_sigabbrev_internal): Remove aliases.
65103         (_sys_siglist): Define hidden alias.
65105 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
65107         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65108         bits/sysctl.h.
65110 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65112         [BZ #14117]
65113         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
65114         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
65116         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
65117         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
65118         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
65119         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
65120         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
65121         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
65123         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
65124         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
65125         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
65127         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
65128         with __addr.
65129         (insw): Likewise.
65130         (insl): Likewise.
65131         (outsb): Likewise.
65132         (outsw): Likewise.
65133         (outsl): Likewise.
65135         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
65136         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
65137         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
65139         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
65140         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
65141         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
65142         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
65143         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
65144         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
65146         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
65147         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
65149         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
65150         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
65152         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
65153         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
65154         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
65156         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
65157         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
65158         to ...
65159         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
65161         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
65162         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
65163         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
65165         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
65166         for x86-64.
65167         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
65169 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
65171         * math/math.h (M_El): Use two more decimal places.
65172         (M_LOG2El): Likewise.
65173         (M_LOG10El): Likewise.
65174         (M_LN2l): Likewise.
65175         (M_LN10l): Likewise.
65176         (M_PIl): Likewise.
65177         (M_PI_2l): Likewise.
65178         (M_PI_4l): Likewise.
65179         (M_1_PIl): Likewise.
65180         (M_2_PIl): Likewise.
65181         (M_2_SQRTPIl): Likewise.
65182         (M_SQRT2l): Likewise.
65183         (M_SQRT1_2l): Likewise.
65185 2012-05-31  David S. Miller  <davem@davemloft.net>
65187         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
65188         values between float registers.
65189         * sysdeps/sparc/sparc64/memset.S: Likewise.
65190         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65192 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
65194         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
65195         -D_FORTIFY_SOURCE=1.
65196         (CPPFLAGS-tst-longjmp_chk.c): Define.
65197         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
65198         (CPPFLAGS-tst-longjmp_chk2.c): Define.
65199         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
65200         CFLAGS-tst-wchar-h.c.
65202 2012-05-31  Marek Polacek  <polacek@redhat.com>
65204         [BZ #14132]
65205         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
65206         __endmntent_internal): Remove declaration.
65207         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
65208         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
65209         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
65211 2012-05-30  David S. Miller  <davem@davemloft.net>
65213         * sysdeps/sparc/sparc32/soft-fp/q_util.c
65214         (___Q_simulate_exceptions): Use real FP ops rather than writing
65215         into the %fsr.
65216         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
65217         Likewise.
65219 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65221         [BZ #14117]
65222         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
65223         * sysdeps/x86/bits/xtitypes.h: This.
65225         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
65226         * sysdeps/x86/bits/wordsize.h: This.
65228         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
65229         * sysdeps/x86/bits/huge_vall.h: This.
65231         * sysdeps/i386/bits/select.h: Removed.
65232         * sysdeps/x86_64/bits/select.h: Renamed to ...
65233         * sysdeps/x86/bits/select.h: This.
65235         * sysdeps/i386/bits/setjmp.h: Removed.
65236         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
65237         * sysdeps/x86/bits/setjmp.h: This.
65239         * sysdeps/i386/bits/mathdef.h: Removed.
65240         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
65241         * sysdeps/x86/bits/mathdef.h: This.
65243 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
65245         [BZ #14132]
65246         * include/sys/socket.h (__connect_internal)
65247         (__libc_sa_len_internal): Remove declaration.
65248         (__connect, __libc_sa_len): Declare hidden_proto.
65249         (SA_LEN): Remove use of INTUSE.
65250         * socket/connect.c: Add libc_hidden_def.
65251         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
65252         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
65253         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
65254         alias.
65255         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
65256         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
65257         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
65258         of adding _internal alias.
65260 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65262         [BZ #14117]
65263         * sysdeps/i386/bits/link.h: Removed.
65264         * sysdeps/i386/bits/linkmap.h: Likewise.
65265         * sysdeps/x86_64/bits/link.h: Renamed to ...
65266         * sysdeps/x86/bits/link.h: This.
65267         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
65268         * sysdeps/x86/bits/linkmap.h: This.
65270         * sysdeps/i386/bits/endian.h: Removed.
65271         * sysdeps/x86_64/bits/endian.h: Renamed to ...
65272         * sysdeps/x86/bits/endian.h: This.
65274         * sysdeps/i386/bits/byteswap.h: Removed.
65275         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65276         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
65277         * sysdeps/x86/bits/byteswap.h: This.
65278         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
65279         * sysdeps/x86/bits/byteswap-16.h: This.
65280         * sysdeps/i386/Implies: Add x86.
65281         * sysdeps/x86_64/Implies: Likewise.
65283 2012-05-30  David S. Miller  <davem@davemloft.net>
65285         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
65286         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
65287         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
65288         (FP_TRAPPING_EXCEPTIONS): Define.
65289         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
65290         (FP_TRAPPING_EXCEPTIONS): Define.
65291         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
65292         subnormals only when inexact has been signalled or underflow
65293         exceptions are enabled.
65294         (_FP_PACK_CANONICAL): Likewise.
65296 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65298         [BZ #14183]
65299         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
65300         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
65302 2012-05-30  Richard Henderson  <rth@twiddle.net>
65304         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
65305         with #ifndef NOT_IN_libc.
65307         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
65308         marked to avoid plt entry.
65310 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65312         [BZ #14112]
65313         * Makeconfig (default-abi): New macro.
65314         (abi-includes): Likewise.
65315         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
65316         $(abi-$(default-abi)-lib-soname) for soname if defined.
65317         ($(common-objpfx)gnu/lib-names.stmp): Generate from
65318         abi-variants.
65319         * Makefile (installed-stubs): Likewise.
65320         * include/stubs-biarch.h: Removed.
65321         * scripts/lib-names.awk: Only handle one library at a time.
65322         * scripts/soversions.awk: Remove WORDSIZE support.
65323         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
65324         entries.
65325         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
65326         Removed.
65327         (syscall-list-default-condition): Likewise.
65328         (syscall-list-default-condition): Likewise.
65329         (syscall-list-includes): Likewise.
65330         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
65331         syscall-list-* with abi-*.  Handle undefined abi-variants.
65332         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
65333         * sysdeps/unix/sysv/linux/i386/Implies: New file.
65334         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
65335         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
65336         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
65337         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
65338         Removed.
65339         (syscall-list-32-options): Likewise.
65340         (syscall-list-32-condition): Likewise.
65341         (syscall-list-64-options): Likewise.
65342         (syscall-list-64-condition): Likewise.
65343         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
65344         macro.
65345         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
65346         Renamed to ...
65347         (abi-*): This.
65348         (abi-64-ld-soname): New macro.
65349         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
65350         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
65351         Renamed to ...
65352         (abi-*): This.
65353         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
65354         * sysdeps/x86_64/x32/shlib-versions: Likewise.
65356 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
65358         * sysdeps/unix/sysv/linux/kernel-features.h
65359         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
65360         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
65361         include <kernel-features.h>.
65362         [!__NR_ftruncate64]: Remove conditional code.
65363         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65364         [__NR_ftruncate64]: Make code unconditional.
65365         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65366         * sysdeps/unix/sysv/linux/truncate64.c: Do not
65367         include <kernel-features.h>.
65368         [!__NR_ftruncate64]: Remove conditional code.
65369         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65370         [__NR_ftruncate64]: Make code unconditional.
65371         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
65373         include <kernel-features.h>.
65374         [!__NR_ftruncate64]: Remove conditional code.
65375         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65376         [__NR_ftruncate64]: Make code unconditional.
65377         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65379         include <kernel-features.h>.
65380         [!__NR_ftruncate64]: Remove conditional code.
65381         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65382         [__NR_ftruncate64]: Make code unconditional.
65383         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65385         * configure.in (libc_cv_fpie): Weaken to a compile test using
65386         LIBC_TRY_CC_OPTION.
65387         * configure: Regenerated.
65389 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
65392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
65393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
65394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65395         Refreshed.
65396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
65397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
65398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
65399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
65400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
65401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65402         Refreshed.
65404 2012-05-27  David S. Miller  <davem@davemloft.net>
65406         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
65407         (___Q_zero): New.
65408         (__Q_simulate_exceptions): Return void.  Change to simulate
65409         exceptions by writing into the %fsr.
65410         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
65411         (__Qp_handle_exceptions): Likewise.
65412         (numbers): Delete.
65413         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
65414         __Qp_handle_exceptions.
65415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
65416         __Qp_handle_exceptions.
65417         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65418         as unused and give dummy FP_RND_NEAREST initializer.
65419         (FP_INHIBIT_RESULTS): Define.
65420         (___Q_simulate_exceptions): Update declaration.
65421         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
65422         formatting.
65423         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65424         as unused and give dummy FP_RND_NEAREST initializer.
65425         (__Qp_handle_exceptions): Update declaration.
65426         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
65427         formatting.
65429 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
65431         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
65432         the temporary FPU control word.
65433         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
65434         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
65435         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
65436         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65437         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
65438         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
65439         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
65440         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65441         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
65442         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
65443         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65445 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65447         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
65448         fields.
65450 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
65452         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
65453         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
65454         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
65455         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
65456         Likewise.
65457         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
65458         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
65459         Likewise.
65461 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
65463         * po/h.po: Update from translation team.
65465 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
65467         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
65469         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
65470         handling of denormals.
65471         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65472         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
65473         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65474         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65475         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65476         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
65477         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
65478         Likewise.
65480 2012-05-26  Marek Polacek  <polacek@redhat.com>
65482         [BZ #14152]
65483         * math/libm-test.inc (fma_test): Don't always expect underflow
65484         exception.
65486 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65488         [BZ #12416]
65489         * elf/tst-execstack.c: Include stackinfo.h.
65490         (do_test): Adjust test case to ensure that pthread_getattr_np
65491         behaviour remains the same after marking stack executable.
65493 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65495         * sysdeps/unix/sysv/linux/kernel-features.h
65496         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
65497         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
65498         kernel-features.h.
65499         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65500         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65501         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
65502         kernel-features.h.
65503         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65504         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65506 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
65508         * configure.in: Define the default includes to being none.
65509         * configure: Regenerated.
65511 2012-05-25  Roland McGrath  <roland@hack.frob.com>
65513         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
65514         * sysdeps/x86_64/setjmp.S: Likewise.
65515         * sysdeps/i386/bsd-setjmp.S: Likewise.
65516         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65517         * sysdeps/i386/setjmp.S: Likewise.
65518         * sysdeps/i386/__longjmp.S: Likewise.
65519         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65520         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
65522         * include/stap-probe.h: New file.
65523         * configure.in: Handle --enable-systemtap.
65524         * configure: Regenerated.
65525         * config.h.in (USE_STAP_PROBE): New #undef.
65526         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
65527         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
65528         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
65530 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65532         [BZ #13717]
65533         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65534         to 2.4.0 where earlier.
65535         * sysdeps/unix/sysv/linux/configure: Regenerated.
65536         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65537         <kernel-features.h>.
65538         [__ASSUME_32BITUIDS]: Make code unconditional.
65539         [!__ASSUME_32BITUIDS]: Remove conditional code.
65540         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
65541         <kernel-features.h>.
65542         [__ASSUME_32BITUIDS]: Make code unconditional.
65543         [!__ASSUME_32BITUIDS]: Remove conditional code.
65544         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
65545         [__ASSUME_32BITUIDS]: Make code unconditional.
65546         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
65547         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
65548         <kernel-features.h>.
65549         [__ASSUME_32BITUIDS]: Make code unconditional.
65550         [!__ASSUME_32BITUIDS]: Remove conditional code.
65551         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
65552         <kernel-features.h>.
65553         [__ASSUME_32BITUIDS]: Make code unconditional.
65554         [!__ASSUME_32BITUIDS]: Remove conditional code.
65555         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
65556         <kernel-features.h>.
65557         [__ASSUME_32BITUIDS]: Make code unconditional.
65558         [!__ASSUME_32BITUIDS]: Remove conditional code.
65559         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
65560         <kernel-features.h>.
65561         [__ASSUME_32BITUIDS]: Make code unconditional.
65562         [!__ASSUME_32BITUIDS]: Remove conditional code.
65563         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65564         <kernel-features.h>.
65565         [__ASSUME_32BITUIDS]: Make code unconditional.
65566         [!__ASSUME_32BITUIDS]: Remove conditional code.
65567         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65568         <kernel-features.h>.
65569         [__ASSUME_32BITUIDS]: Make code unconditional.
65570         [!__ASSUME_32BITUIDS]: Remove conditional code.
65571         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
65572         <kernel-features.h>.
65573         [__ASSUME_32BITUIDS]: Make code unconditional.
65574         [!__ASSUME_32BITUIDS]: Remove conditional code.
65575         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65576         <kernel-features.h>.
65577         [__ASSUME_32BITUIDS]: Make code unconditional.
65578         [!__ASSUME_32BITUIDS]: Remove conditional code.
65579         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65580         <kernel-features.h>.
65581         [__ASSUME_32BITUIDS]: Make code unconditional.
65582         [!__ASSUME_32BITUIDS]: Remove conditional code.
65583         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
65584         <kernel-features.h>.
65585         [__ASSUME_32BITUIDS]: Make code unconditional.
65586         [!__ASSUME_32BITUIDS]: Remove conditional code.
65587         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
65588         <kernel-features.h>.
65589         [__NR_setresgid] (__setresgid): Do not declare.
65590         [__ASSUME_32BITUIDS]: Make code unconditional.
65591         [!__ASSUME_32BITUIDS]: Remove conditional code.
65592         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
65593         <kernel-features.h>.
65594         [__NR_setresuid] (__setresuid): Do not declare.
65595         [__ASSUME_32BITUIDS]: Make code unconditional.
65596         [!__ASSUME_32BITUIDS]: Remove conditional code.
65597         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
65598         <kernel-features.h>.
65599         [__ASSUME_32BITUIDS]: Make code unconditional.
65600         [!__ASSUME_32BITUIDS]: Remove conditional code.
65601         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
65602         <kernel-features.h>.
65603         [__ASSUME_32BITUIDS]: Make code unconditional.
65604         [!__ASSUME_32BITUIDS]: Remove conditional code.
65605         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
65606         <kernel-features.h>.
65607         [__ASSUME_32BITUIDS]: Make code unconditional.
65608         [!__ASSUME_32BITUIDS]: Remove conditional code.
65609         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
65610         <kernel-features.h>.
65611         [__ASSUME_32BITUIDS]: Make code unconditional.
65612         [!__ASSUME_32BITUIDS]: Remove conditional code.
65613         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
65614         <kernel-features.h>.
65615         [__ASSUME_32BITUIDS]: Make code unconditional.
65616         [!__ASSUME_32BITUIDS]: Remove conditional code.
65617         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
65618         <kernel-features.h>.
65619         [__ASSUME_32BITUIDS]: Make code unconditional.
65620         [!__ASSUME_32BITUIDS]: Remove conditional code.
65621         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
65622         <kernel-features.h>.
65623         [__ASSUME_32BITUIDS]: Make code unconditional.
65624         [!__ASSUME_32BITUIDS]: Remove conditional code.
65625         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
65626         <kernel-features.h>.
65627         [__ASSUME_32BITUIDS]: Make code unconditional.
65628         [!__ASSUME_32BITUIDS]: Remove conditional code.
65629         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
65630         <kernel-features.h>.
65631         [__ASSUME_32BITUIDS]: Make code unconditional.
65632         [!__ASSUME_32BITUIDS]: Remove conditional code.
65633         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65634         <kernel-features.h>.
65635         [__ASSUME_32BITUIDS]: Make code unconditional.
65636         [!__ASSUME_32BITUIDS]: Remove conditional code.
65637         * sysdeps/unix/sysv/linux/kernel-features.h
65638         (__ASSUME_SETRESUID_SYSCALL): Remove.
65639         (__ASSUME_SETRESGID_SYSCALL): Likewise.
65640         (__ASSUME_32BITUIDS): Likewise.
65641         (__ASSUME_LDT_WORKS): Likewise.
65642         (__ASSUME_O_DIRECTORY): Likewise.
65643         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
65644         architecture but not kernel version.
65645         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
65646         (__ASSUME_MMAP2_SYSCALL): Likewise.
65647         (__ASSUME_STAT64_SYSCALL): Likewise.
65648         (__ASSUME_IPC64): Likewise.
65649         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
65650         <kernel-features.h>.
65651         [__ASSUME_32BITUIDS]: Make code unconditional.
65652         [!__ASSUME_32BITUIDS]: Remove conditional code.
65653         * sysdeps/unix/sysv/linux/opendir.c: Do not include
65654         <kernel-features.h>.
65655         [__ASSUME_O_DIRECTORY]: Make code unconditional.
65656         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
65657         132096]: Remove conditional code.
65658         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
65659         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65660         <kernel-features.h>.
65661         [__ASSUME_32BITUIDS]: Make code unconditional.
65662         [!__ASSUME_32BITUIDS]: Remove conditional code.
65663         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65664         <kernel-features.h>.
65665         [__ASSUME_32BITUIDS]: Make code unconditional.
65666         [!__ASSUME_32BITUIDS]: Remove conditional code.
65667         * sysdeps/unix/sysv/linux/setegid.c: Do not include
65668         <kernel-features.h>.
65669         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
65670         unconditional.
65671         (__setresgid): Do not declare.
65672         [__ASSUME_32BITUIDS]: Make code unconditional.
65673         [!__ASSUME_32BITUIDS]: Remove conditional code.
65674         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
65675         <kernel-features.h>.
65676         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
65677         unconditional.
65678         (__setresuid): Do not declare.
65679         [__ASSUME_32BITUIDS]: Make code unconditional.
65680         [!__ASSUME_32BITUIDS]: Remove conditional code.
65681         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65682         <kernel-features.h>.
65683         [__ASSUME_32BITUIDS]: Make code unconditional.
65684         [!__ASSUME_32BITUIDS]: Remove conditional code.
65685         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
65686         <kernel-features.h>.
65687         [__ASSUME_32BITUIDS]: Make code unconditional.
65688         [!__ASSUME_32BITUIDS]: Remove conditional code.
65690 2012-05-25  Richard Henderson  <rth@twiddle.net>
65692         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
65693         dl_hwcap to ifunc resolver.
65694         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
65695         elf_ifunc_invoke.
65696         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
65697         dl_hwcap to ifunc resolver.
65698         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
65700 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65702         [BZ #14153]
65703         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
65704         for |x| <= 2**-26, not 2**-57.
65705         * math/libm-test.inc (acos_test): Do not allow spurious underflow
65706         exception.
65708 2012-05-24  Jeff Law  <law@redhat.com>
65710         * stdio-common/Makefile (tests): Add bug25.
65711         * stdio-common/bug25.c: New test.
65713 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65715         [BZ #13576]
65716         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
65717         multiple of MALLOC_ALIGNMENT in size.
65718         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
65720 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65722         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
65723         Require >= 256.
65724         (FILENAME_MAX): Use macro-int-constant.
65725         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
65726         (_IOFBF): Use macro-int-constant.
65727         (_IOLBF): Likewise.
65728         (_IONBF): Likewise.
65729         (SEEK_CUR): Likewise.
65730         (SEEK_END): Likewise.
65731         (SEEK_SET): Likewise.
65732         (TMP_MAX): Likewise.
65733         (EOF): Use macro-int-constant.  Require < 0.
65734         (NULL): Use macro-constant.  Require == 0.
65735         (stdin): Require type to be FILE *.
65736         (stdout): Likewise.
65737         (stderr): Likewise.
65738         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
65739         macro-int-constant.
65740         (EXIT_SUCCESS): Likewise.
65741         (NULL): Use macro-constant.  Require == 0.
65742         (RAND_MAX): Use macro-int-constant.
65743         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
65744         [C99-based standards] (strtof): Require function.
65745         [C99-based standards] (strtold): Likewise.
65746         [C99-based standards] (strtoll): Likewise.
65747         [C99-based standards] (strtoull): Likewise.
65748         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65749         [ISO || ISO99 || ISO11] (limits.h): Likewise.
65750         [ISO || ISO99 || ISO11] (math.h): Likewise.
65751         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
65752         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65753         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65755 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
65757         [BZ #14132]
65758         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
65759         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
65760         * intl/dgettext.c (DCGETTEXT): Likewise.
65761         * intl/gettext.c (DCGETTEXT): Likewise.
65762         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
65763         * posix/regex_internal.h (gettext): Likewise.
65764         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
65765         Remove declaration.
65766         * include/argz.h (__argz_count_internal)
65767         (__argz_stringify_internal): Remove declaration.
65768         (__argz_count, __argz_stringify): Declare hidden proto.
65769         * intl/dcgettext.c: Remove use of INTDEF.
65770         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
65771         * string/argz-stringify.c: Likewise.
65772         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65773         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65774         Declare hidden proto.
65775         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65776         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65777         Declare hidden proto.
65778         * include/stdio.h (__asprintf_internal): Don't declare.
65779         (__asprintf): Don't define as macro.  Declare hidden proto.
65780         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
65781         (__fsetlocking): Declare hidden proto.
65782         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
65783         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
65784         hidden proto.
65785         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
65786         (_IO_setlinebuf): Remove use of INTUSE.
65787         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
65788         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
65789         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
65790         Remove declaration.
65791         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
65792         (_IO_do_flush): Remove use of INTUSE.
65793         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
65794         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
65795         (_IO_adjust_column, _IO_least_wmarker)
65796         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
65797         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
65798         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
65799         (_IO_default_doallocate, _IO_wdefault_doallocate)
65800         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
65801         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
65802         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
65803         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
65804         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
65805         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
65806         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
65807         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
65808         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
65809         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
65810         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
65811         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
65812         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
65813         proto.
65814         (_IO_flush_all_internal, _IO_adjust_column_internal)
65815         (_IO_default_uflow_internal, _IO_default_finish_internal)
65816         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
65817         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
65818         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
65819         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
65820         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
65821         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
65822         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
65823         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
65824         (_IO_file_close_internal, _IO_file_close_it_internal)
65825         (_IO_file_underflow_internal, _IO_file_overflow_internal)
65826         (_IO_file_init_internal, _IO_file_attach_internal)
65827         (_IO_file_fopen_internal, _IO_file_read_internal)
65828         (_IO_file_sync_internal, _IO_file_seek_internal)
65829         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
65830         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
65831         (_IO_str_underflow_internal, _IO_str_overflow_internal)
65832         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
65833         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
65834         (_IO_list_all_internal, _IO_link_in_internal)
65835         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
65836         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
65837         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
65838         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
65839         (_IO_do_write_internal, _IO_padn_internal)
65840         (_IO_getline_info_internal, _IO_getline_internal)
65841         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
65842         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
65843         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
65844         (_IO_vfscanf_internal, _IO_vfprintf_internal)
65845         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
65846         (_IO_init_internal, _IO_un_link_internal): Don't declare.
65847         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
65848         with libc_hidden_ver, remove use of INTUSE.
65849         * libio/genops.c: Likewise.
65850         * libio/freopen.c: Likewise.
65851         * libio/freopen64.c: Likewise.
65852         * libio/iofclose.c: Likewise.
65853         * libio/iofdopen.c: Likewise.
65854         * libio/iofflush.c: Likewise.
65855         * libio/iofflush_u.c: Likewise.
65856         * libio/iofgets.c: Likewise.
65857         * libio/iofgets_u.c: Likewise.
65858         * libio/iofopen.c: Likewise.
65859         * libio/iofopncook.c: Likewise.
65860         * libio/iofread.c: Likewise.
65861         * libio/iofread_u.c: Likewise.
65862         * libio/ioftell.c: Likewise.
65863         * libio/iofwrite.c: Likewise.
65864         * libio/iogetline.c: Likewise.
65865         * libio/iogets.c: Likewise.
65866         * libio/iogetwline.c: Likewise.
65867         * libio/iopadn.c: Likewise.
65868         * libio/iopopen.c: Likewise.
65869         * libio/ioseekoff.c: Likewise.
65870         * libio/ioseekpos.c: Likewise.
65871         * libio/iosetbuffer.c: Likewise.
65872         * libio/iosetvbuf.c: Likewise.
65873         * libio/ioungetc.c: Likewise.
65874         * libio/ioungetwc.c: Likewise.
65875         * libio/iovdprintf.c: Likewise.
65876         * libio/iovsprintf.c: Likewise.
65877         * libio/iovsscanf.c: Likewise.
65878         * libio/memstream.c: Likewise.
65879         * libio/obprintf.c: Likewise.
65880         * libio/oldfileops.c: Likewise.
65881         * libio/oldiofclose.c: Likewise.
65882         * libio/oldiofdopen.c: Likewise.
65883         * libio/oldiofopen.c: Likewise.
65884         * libio/oldiopopen.c: Likewise.
65885         * libio/oldstdfiles.c: Likewise.
65886         * libio/putc.c: Likewise.
65887         * libio/setbuf.c: Likewise.
65888         * libio/setlinebuf.c: Likewise.
65889         * libio/stdfiles.c: Likewise.
65890         * libio/strops.c: Likewise.
65891         * libio/vasprintf.c: Likewise.
65892         * libio/vscanf.c: Likewise.
65893         * libio/vsnprintf.c: Likewise.
65894         * libio/vswprintf.c: Likewise.
65895         * libio/wfiledoalloc.c: Likewise.
65896         * libio/wfileops.c: Likewise.
65897         * libio/wgenops.c: Likewise.
65898         * libio/wmemstream.c: Likewise.
65899         * libio/wstrops.c: Likewise.
65900         * libio/__fpurge.c: Likewise.
65901         * libio/__fsetlocking.c: Likewise.
65902         * assert/assert.c: Likewise.
65903         * debug/fgets_chk.c: Likewise.
65904         * debug/fgets_u_chk.c: Likewise.
65905         * debug/fread_chk.c: Likewise.
65906         * debug/fread_u_chk.c: Likewise.
65907         * debug/gets_chk.c: Likewise.
65908         * debug/obprintf_chk.c: Likewise.
65909         * debug/vasprintf_chk.c: Likewise.
65910         * debug/vdprintf_chk.c: Likewise.
65911         * debug/vsnprintf_chk.c: Likewise.
65912         * debug/vsprintf_chk.c: Likewise.
65913         * malloc/mtrace.c: Likewise.
65914         * misc/error.c: Likewise.
65915         * misc/syslog.c: Likewise.
65916         * stdio-common/asprintf.c: Likewise.
65917         * stdio-common/fxprintf.c: Likewise.
65918         * stdio-common/getw.c: Likewise.
65919         * stdio-common/isoc99_fscanf.c: Likewise.
65920         * stdio-common/isoc99_scanf.c: Likewise.
65921         * stdio-common/isoc99_vfscanf.c: Likewise.
65922         * stdio-common/isoc99_vscanf.c: Likewise.
65923         * stdio-common/isoc99_vsscanf.c: Likewise.
65924         * stdio-common/printf-prs.c: Likewise.
65925         * stdio-common/printf_fp.c: Likewise.
65926         * stdio-common/printf_fphex.c: Likewise.
65927         * stdio-common/printf_size.c: Likewise.
65928         * stdio-common/putw.c: Likewise.
65929         * stdio-common/scanf.c: Likewise.
65930         * stdio-common/sprintf.c: Likewise.
65931         * stdio-common/tmpfile.c: Likewise.
65932         * stdio-common/vfprintf.c: Likewise.
65933         * stdio-common/vfscanf.c: Likewise.
65934         * stdlib/strfmon_l.c: Likewise.
65935         * sunrpc/openchild.c: Likewise.
65936         * sunrpc/xdr_stdio.c: Likewise.
65937         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
65938         * sysdeps/mach/hurd/tmpfile.c: Likewise.
65940 2012-05-24  Roland McGrath  <roland@hack.frob.com>
65942         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65944         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
65945         in the third column, to generate for the shared library an IFUNC
65946         that uses _dl_vdso_vsym.
65947         * Makerules (COMPILE.c, compile-stdin.c): New variables.
65948         * Makeconfig (object-suffixes-noshared): New variable.
65950         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
65951         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
65952         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
65953         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
65955         [BZ #14132]
65956         * include/sys/time.h (__gettimeofday): Remove macro.
65957         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
65958         * time/gettimeofday.c (__gettimeofday): Remove #undef.
65959         Remove INTDEF.
65960         (__gettimeofday): Add libc_hidden_def.
65961         (gettimeofday): Add libc_hidden_weak.
65962         * sysdeps/mach/gettimeofday.c: Likewise.
65963         * sysdeps/posix/gettimeofday.c: Likewise.
65964         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
65965         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
65966         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
65967         (__gettimeofday_internal): Remove strong_alias.
65968         (__gettimeofday): Add libc_hidden_def.
65969         (gettimeofday): Add libc_hidden_weak.
65970         * sysdeps/unix/syscalls.list (gettimeofday):
65971         Remove __gettimeofday_internal alias.
65973 2012-05-24  Daniel Jacobowitz  <drow@false.org>
65974             H.J. Lu  <hongjiu.lu@intel.com>
65976         [BZ #12495]
65977         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
65978         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
65979         (largebin_index_32_big): New.
65980         (largebin_index): Use it for 16-byte alignment.
65981         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
65982         correction with front_misalign.
65984 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
65987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
65988         Likewise.
65989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
65990         Likewise.
65991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65992         Likewise.
65993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
65994         Likewise.
65995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
65996         Likewise.
65997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
65998         Likewise.
65999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
66000         Likewise.
66001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
66002         Likewise.
66003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
66004         Likewise.
66005         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
66006         Likewise.
66007         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
66008         Likewise.
66009         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
66010         Likewise.
66012         * scripts/data/c++-types-x32-linux-gnu.data: New file.
66013         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
66015 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66017         [BZ #10846]
66018         [BZ #14036]
66019         * math/libm-test.inc (exp_test): Add test from bug 14036.
66020         (pow_test): Add test from bug 10846.
66022         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
66023         and other flags.
66024         (special_function): Do not include flags in test name.
66025         (parse_args): Likewise.
66026         * sysdeps/i386/fpu/libm-test-ulps: Update.
66027         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66028         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66029         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66032         * math/gen-libm-test.pl (%beautify): Add entries for underflow
66033         exceptions.
66034         * math/libm-test.inc ("Philosophy"): Update comment about
66035         exception testing.
66036         (UNDERFLOW_EXCEPTION): New macro.
66037         (UNDERFLOW_EXCEPTION_OK): Likewise.
66038         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
66039         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
66040         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
66041         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
66042         (INVALID_EXCEPTION_OK): Update value.
66043         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66044         (OVERFLOW_EXCEPTION_OK): Likewise.
66045         (IGNORE_ZERO_INF_SIGN): Likewise.
66046         (test_exceptions): Handle underflow exceptions.
66047         (acos_test): Update for underflow exception expectations.
66048         (cexp_test): Likewise.
66049         (clog_test): Likewise.
66050         (clog10_test): Likewise.
66051         (csqrt_test): Likewise.
66052         (ctan_test): Likewise.
66053         (ctanh_test): Likewise.
66054         (exp_test): Likewise.
66055         (exp10_test): Likewise.
66056         (exp2_test): Likewise.
66057         (expm1_test): Likewise.
66058         (fma_test): Likewise.
66059         (j0_test): Likewise.
66060         (jn_test): Likewise.
66061         (nexttoward_test): Likewise.
66062         (pow_test): Likewise.
66063         (scalbn_test): Likewise.
66064         (scalbln_test): Likewise.
66065         (tan_test): Likewise.
66066         (y1_test): Likewise.
66067         * sysdeps/i386/fpu/libm-test-ulps: Update.
66068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66070 2012-05-23  David S. Miller  <davem@davemloft.net>
66072         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66073         (__libc_sigaction): Remove unused local variables.
66075 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66077         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
66079 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
66081         mktime: avoid signed integer overflow
66082         * time/mktime.c (__mktime_internal): Do not mishandle the case
66083         where diff == INT_MIN.
66085         mktime: simplify computation of average
66086         * time/mktime.c (ranged_convert): Use new time_t_avg function
66087         instead of rolling our own (probably-slower) code.
66089         mktime: do not assume signed right shift propagates sign bit
66090         * time/mktime.c (isdst_differ): New static function.
66091         (__mktime_internal): No need to normalize tm_isdst now.
66092         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
66093         tm_isdst values.
66095         mktime: merge another wrapv change from gnulib
66096         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
66097         from some compilers.
66099         mktime: remove incorrect attempt at unusual arithmetics
66100         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
66101         The code didn't really work on such machines anyway.
66102         (TYPE_MINIMUM): Assume two's complement.
66103         (twos_complement_arithmetic): Verify that long_int and time_t
66104         are two's complement (or unsigned, in the latter case).
66106         mktime: check signed shifts on long_int and time_t, too
66107         * time/mktime.c (SHR): Check that shifts work as desired
66108         on the types long_int and time_t too, as SHR is used on
66109         such types.
66111         mktime: do not assume 'long' is wide enough
66112         * time/mktime.c (verify): Move decl up.
66113         (long_int): New type.
66114         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
66115         to remove assumption in the code that 'long' is wide enough to
66116         store year values.  This assumption is not true on x32 and on
66117         some non-glibc platforms.
66119         mktime: merge wrapv change from gnulib
66120         * time/mktime.c (WRAPV): New macro.
66121         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
66122         (guess_time_tm, __mktime_internal): Do not assume that signed
66123         integer overflow wraps around; modern compilers generate code
66124         where this assumption is no longer valid.
66126 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66128         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66129         Replace "jmp L(pseudo_end)" with "ret".
66130         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
66131         Likewise.
66133 2012-05-23  Andreas Jaeger  <aj@suse.de>
66135         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
66136         * sysdeps/unix/sysv/linux/poll.c: Remove file.
66138 2012-05-23  Andreas Jaeger  <aj@suse.de>
66139             Maximilian Attems  <max@stro.at>
66141         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
66142         New macros.
66144 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66146         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
66147         code so that pseudo_end is just ret and the stack pointer is
66148         correct also for static library in error case.
66150 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
66152         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
66153         move to syscalls.list.
66154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
66155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
66156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
66157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
66159         * manual/install.texi (Running make install): Do not mention Linux
66160         kernel version for which pt_chown is not needed.
66161         (Linux): Do not mention problems with nscd with 2.0 kernels.
66162         * INSTALL: Regenerated.
66164 2012-05-23  Andreas Jaeger  <aj@suse.de>
66166         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
66167         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
66168         macro.
66169         * sysdeps/unix/sysv/linux/s390/bits/mman.h
66170         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66171         * sysdeps/unix/sysv/linux/sh/bits/mman.h
66172         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66173         * sysdeps/unix/sysv/linux/i386/bits/mman.h
66174         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66175         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
66176         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66177         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
66178         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66179         * sysdeps/unix/sysv/linux/bits/in.h
66180         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
66182 2012-05-22  Roland McGrath  <roland@hack.frob.com>
66184         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
66185         (PREPARE_VERSION): Just use assert instead, it will be elided
66186         under [NDEBUG] anyway.
66188 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66190         * sysdeps/unix/sysv/linux/Makefile: Include
66191         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
66192         (sysdep_routines): Remove sysctl.
66193         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
66194         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
66195         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
66196         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
66197         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
66199 2012-05-22  Andreas Jaeger  <aj@suse.de>
66201         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
66202         that pseudo_end is just ret and the stack pointer is correct also
66203         for static library in error case.
66205 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
66207         [BZ #14122]
66208         * nss/nsswitch.c (defconfig_entries): New variable.
66209         (__nss_database_lookup): Don't leak defconfig entries.
66210         (nss_parse_service_list): Don't leak on error paths.
66211         (free_database_entries): New function.
66212         (free_defconfig): New function.
66213         (free_mem): Move common code to free_database_entries.
66215 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66217         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
66218         Add arch_prctl.
66219         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
66221         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
66222         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
66223         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
66224         New macro.
66225         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
66226         (INTERNAL_SYSCALL_TYPES): Likewise.
66227         (LOAD_ARGS_TYPES_[1-6]): Likewise.
66228         (LOAD_REGS_TYPES_[1-6]): Likewise.
66229         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
66230         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
66232 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66234         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
66235         copysignl for GLIBC_2_0.
66236         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
66237         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
66238         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
66239         logbl for GLIBC_2_0.
66240         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
66241         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
66243 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66245         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
66246         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66248         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66249         Use "neg %eax".
66251         * time/mktime.c: Update copyright years.
66253 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
66255         mktime: merge comment-quoting-style change from gnulib
66256         * time/mktime.c: Quote 'like this' in comments.
66257         The GNU coding standards suggest that we no longer quote `like this',
66258         as "`" and "'" are typically rendered asymmetrically nowadays.
66259         The typical gnulib style is to quote 'like this' when quoting
66260         code, and "like this" when quoting English.
66262         * time/mktime.c (compile-command): Add "-I.".
66264         mktime: merge mktime-internal.h change from gnulib
66265         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
66267         mktime: merge time_r change from gnulib
66268         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
66270         mktime: merge DEBUG change from gnulib
66271         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
66272         case system <time.h> has a #define.
66274         mktime: merge <sys/types.h> change from gnulib
66275         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
66276         since <time.t> is now guaranteed to define time_t.
66278         mktime: merge HAVE_CONFIG_H change from gnulib
66279         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
66281 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66283         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66284         Use "neg %eax".
66286         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
66287         __rlim_t cast.
66288         (struct rusage): Use anonymous union to pad each field to
66289         __syscall_slong_t.
66291 2012-05-21  David S. Miller  <davem@davemloft.net>
66293         * Makefules (o-iterator): Remove .s cases.
66294         (compile-command.s): Delete.
66295         (COMPILE.s): Delete.
66296         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
66298 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
66300         * configure.in (libc_cv_predef_stack_protector): Only consider
66301         "foobar" and "__stack_chk_fail" lines in libc_undefs.
66302         * configure: Regenerated.
66304 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66306         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66307         New macro.  Use R*LP on int and pointer.
66308         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
66309         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
66310         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
66311         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
66313         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
66314         [__WORDSIZE_TIME64_COMPAT32] instead of
66315         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
66316         (struct utmp): Likewise.
66317         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
66318         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
66319         Renamed to ...
66320         (__WORDSIZE_TIME64_COMPAT32): This.
66321         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
66322         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
66323         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
66324         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
66325         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
66326         (__WORDSIZE_TIME64_COMPAT32): New macro.
66328 2012-05-21  Andreas Jaeger  <aj@suse.de>
66330         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
66331         only if [SHARED]. Add prototype for __wcschr_ia32.
66333 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66335         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
66336         of %rbp unmolested in the jmp_buf while mangling the low bits.
66337         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
66338         unmolested high bits of %rbp while demangling the low bits.
66339         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66341 2012-05-21  Andreas Jaeger  <aj@suse.de>
66343         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
66344         * sunrpc/svc_simple.c: Use it for registerrpc.
66345         * sunrpc/xcrypt.c: Use it for passwd2des.
66347         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
66349 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66351         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
66352         Don't define if [__SYSCALL_WORDSIZE != 32].
66353         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
66354         New macro.
66356 2012-05-21  Bruno Haible  <bruno@clisp.org>
66357             Andreas Jaeger  <aj@suse.de>
66359         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
66360         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
66361         inptr and inend for must_buffer_ch.
66362         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
66363         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
66364         * stdio-common/Makefile (tests): Remove bug15.
66365         (bug15-ENV): Remove macro.
66366         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
66367         anymore.
66369 2012-05-19  Andreas Jaeger  <aj@suse.de>
66370             Roland McGrath  <roland@hack.frob.com>
66372         * manual/contrib.texi: Completely rewritten. It contains now an
66373         alphabetical list of contributors and their contributions.
66375 2012-05-21  Richard Henderson  <rth@twiddle.net>
66377         * misc/getauxval.c (__getauxval): Use unsigned long int.
66378         * misc/sys/auxv.h: Include <sys/cdefs.h>.
66379         (getauxval): Use unsigned long int.
66381 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66383         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66385 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66387         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
66388         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
66389         __alignof__ (long double).
66391 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66395 2012-05-20  Richard Henderson  <rth@twiddle.net>
66397         * misc/getauxval.c: New file.
66398         * misc/sys/auxv.h: New file.
66399         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
66400         (routines): Add getauxval.
66401         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
66402         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
66403         * elf/dl-sysdep.c (_dl_auxv): Remove.
66404         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
66405         * elf/dl-support.c (_dl_auxv): New variable.
66406         (_dl_aux_init): Initialize it.
66407         * manual/startup.texi (Auxiliary Vector): New node.
66408         * sysdeps/generic/bits/hwcap.h: New file.
66409         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
66410         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
66411         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
66412         * sysdeps/sparc/sysdep.h: ... here.  Include it.
66413         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
66414         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
66415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66416         Update.
66417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
66418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
66419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
66420         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
66421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
66424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
66426 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66430 2012-05-19  David S. Miller  <davem@davemloft.net>
66432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66434 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66436         [BZ #14123]
66437         * math/s_ccosh.c: Include <float.h>
66438         (__ccosh): Avoid internal overflow calculating sinh and cosh
66439         values before multiplying by sin and cos values.
66440         * math/s_ccoshf.c: Likewise.
66441         * math/s_ccoshl.c: Likewise.
66442         * math/s_csin.c: Likewise.
66443         * math/s_csinf.c: Likewise.
66444         * math/s_csinl.c: Likewise.
66445         * math/s_csinh.c: Likewise.
66446         * math/s_csinhf.c: Likewise.
66447         * math/s_csinhl.c: Likewise.
66448         * math/libm-test.inc (ccos_test): Add more tests.
66449         (ccosh_test): Likewise.
66450         (csin_test): Likewise.
66451         (csinh_test): Likewise.
66452         * sysdeps/i386/fpu/libm-test-ulps: Update.
66453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66455 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
66457         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
66458         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
66460         * sysdeps/x86_64/x32/_itoa.h: Add comment.
66462 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66464         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
66465         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
66466         * sysdeps/powerpc/soft-fp/Versions: Likewise.
66467         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
66468         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
66469         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
66470         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
66471         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
66472         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
66473         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
66474         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
66475         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
66476         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
66477         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
66478         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
66479         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
66480         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
66481         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
66482         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
66483         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
66484         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
66485         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
66486         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
66487         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
66488         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
66489         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
66490         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
66491         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
66492         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
66493         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
66494         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
66496 2012-05-18  Andreas Jaeger  <aj@suse.de>
66498         * csu/.gitignore: Delete.
66500 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66502         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
66503         (timex): Use __syscall_slong_t.
66505 2012-05-18  Andreas Jaeger  <aj@suse.de>
66506             Carlos O'Donell  <carlos_odonell@mentor.com>
66508         * manual/install.texi (Configuring and compiling): Update
66509         description about files modified in the source directory.
66510         * INSTALL: Regenerated.
66512 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66514         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
66515         value.  Use "or" to set return value to -1.
66516         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
66517         negate return value.
66519 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66521         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
66522         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
66523         failure if the compiler has Graphite support disabled.
66524         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
66525         Likewise.
66526         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
66527         (CFLAGS-memmove.c): Likewise.
66528         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
66529         Likewise.
66531 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66533         * sysdeps/x86_64/x32/_itoa.h: New file.
66535         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
66536         getdents system call only if kernel and user dirents have the
66537         same d_ino and d_off.
66539         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66540         LLONG_MAX != LONG_MAX.
66541         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66542         (_fitoa_word): Likewise.
66544         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
66545         years.
66546         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
66547         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
66548         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
66550         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
66551         include <bits/wordsize.h>.  Check __x86_64__ instead of
66552         __WORDSIZE.
66553         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
66554         if __x86_64__ is defined.  Use anonymous union on fpstate.
66556         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
66557         anonymous union.
66559 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
66561         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
66562         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
66563         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
66564         Refer to _rtld_local_ro instead of _rtld_global_ro.
66565         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
66566         Likewise.
66567         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
66568         Likewise.
66569         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
66570         Likewise.
66571         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
66572         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
66573         of _rtld_global, and rtld_progname instead of _dl_argv[0].
66575         [BZ #10882]
66576         * sysdeps/powerpc/powerpc32/dl-machine.c
66577         (__elf_machine_runtime_setup) [PROF]: Don't reference
66578         _dl_prof_resolve.
66580 2012-05-18  Andreas Jaeger  <aj@suse.de>
66582         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
66583         function only available for GCCs before 3.4 since GCC 3.4
66584         introduced a builtin.
66585         (lrint): Likewise.
66586         (llrintf): Likewise.
66587         (llrint): Likewise.
66588         (fmaxf): Likewise.
66589         (fmax): Likewise.
66590         (fminf): Likewise.
66591         (fmin): Likewise.
66592         (rint): Likewise.
66593         (rintf): Likewise.
66594         (nearbyint): Likewise.
66595         (nearbyintf): Likewise.
66596         (ceil): Likewise.
66597         (ceilf): Likewise.
66598         (floor): Likewise.
66599         (floorf): Likewise.
66601 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66603         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
66604         on both fields and cast pointer to __syscall_ulong_t.
66606         * bits/types.h (__fsword_t): New type.
66607         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
66608         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
66609         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66610         (__FSWORD_T_TYPE): Likewise.
66611         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66612         (__FSWORD_T_TYPE): Likewise.
66613         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66614         (__FSWORD_T_TYPE): Likewise.
66615         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
66616         (__FSWORD_T_TYPE): Likewise.
66617         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
66618         __SWORD_TYPE with __fsword_t.
66619         (statfs64): Likewise.
66621 2012-05-17  David S. Miller  <davem@davemloft.net>
66623         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
66625 2012-05-17  Andreas Jaeger  <aj@suse.de>
66627         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
66628         warning.
66630 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66632         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
66634 2012-05-17  Andreas Jaeger  <aj@suse.de>
66636         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
66637         when it is used.
66639 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66641         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
66643 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66645         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
66646         * sysdeps/x86_64/tst-mallocalign1.c: New file.
66648 2012-05-17  Andreas Jaeger  <aj@suse.de>
66649             Carlos O'Donell  <carlos_odonell@mentor.com>
66651         [BZ #14059]
66652         * sysdeps/x86_64/multiarch/init-arch.h
66653         (bit_YMM_Usable): Rename to...
66654         (bit_AVX_Usable): ... this.
66655         (bit_FMA4_Usable): New macro.
66656         (bit_XMM_state): New macro.
66657         (bit_YMM_state): New macro.
66658         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
66659         [__ASSEMBLER__] (index_AVX_Usable): ... this.
66660         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
66661         (CPUID_OSXSAVE): New macro.
66662         (CPUID_AVX): New macro.
66663         (CPUID_FMA4): New macro.
66664         (index_YMM_Usable): Rename to...
66665         (index_AVX_Usable): ... this.
66666         (HAS_AVX): Use HAS_ARCH_FEATURE.
66667         (HAS_FMA4): Likewise.
66668         (HAS_YMM_USABLE): Remove.
66669         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66670         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
66671         are present.
66672         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
66673         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
66674         * sysdeps/x86_64/multiarch/Makefile: Likewise.
66675         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
66676         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
66678 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66680         * math/libm-test.c: Support platforms without multiple rounding modes.
66681         * math/bug-nextafter.c: Support platforms without FP exceptions.
66682         * math/bug-nexttoward.c: Likewise.
66683         * math/test-fenv.c: Likewise.
66684         * math/test-misc.c: Likewise.
66685         * stdlib/bug-getcontext.c: Likewise.
66687 2012-05-17  Andreas Jaeger  <aj@suse.de>
66689         * manual/examples/search.c (critter_cmp): Change signature to
66690         avoid warnings.
66691         * manual/string.texi (Collation Functions): Likewise.
66693 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66695         * bits/types.h: Fold copyright years.
66696         * bits/typesizes.h: Likewise.
66697         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
66698         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
66699         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
66700         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
66701         * time/time.h: Likewise.
66703 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
66705         [BZ #208]
66706         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
66707         in instead of returning them.  Return void.
66708         (__libc_mallinfo): Accumulate over all arenas.
66709         (__malloc_stats): Adjust for change in int_mallinfo interface.
66711 2012-05-16  Roland McGrath  <roland@hack.frob.com>
66713         [BZ #10375]
66714         * configure.in (NM): Add AC_CHECK_TOOL for it.
66715         (libc_extra_cflags): New substituted variable.
66716         Check for -fstack-protector being used implicitly.
66717         * configure: Regenerated.
66718         * config.make.in (config-extra-cflags): New variable,
66719         gets @libc_extra_cflags@.
66720         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
66722         [BZ #10375]
66723         * configure.in: Check for _FORTIFY_SOURCE being predefined.
66724         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
66725         * configure: Regenerated.
66726         * config.make.in (CPPUNDEFS): New substituted variable.
66727         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
66728         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
66729         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
66731 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66733         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
66734         (mq_attr): Use __syscall_slong_t.
66736 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66738         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
66739         Check __x86_64__ instead of __WORDSIZE.
66740         (_STAT_VER_LINUX): Likewise.
66741         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
66742         __syscall_ulong_t and __syscall_slong_t.
66743         (stat64): Likewise.
66745 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66747         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
66749 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66751         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
66753 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66755         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
66756         __syscall_ulong_t.
66758         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
66759         include <bits/wordsize.h>.  Check __x86_64__ instead of
66760         __WORDSIZE.
66761         (greg_t): Use "__extension__ long long int" if __x86_64__ is
66762         defined.
66763         (mcontext_t): Replace "unsigned long" with "unsigned long long".
66765         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
66766         include <bits/wordsize.h>.  Check __x86_64__ instead of
66767         __WORDSIZE.
66768         (user_regs_struct): Use "__extension__ unsigned long long"
66769         instead of "unsigned long" if __x86_64__ is defined.
66770         (user): Likewise.  Pad after pointer field if __ILP32__ is
66771         defined.
66773 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
66775         * configure.in (makeinfo): Require version 4.5 or later.  Allow
66776         versions 5 to 9.
66777         * configure: Regenerated.
66778         * manual/install.texi (texinfo): Increase version requirement to
66779         4.5 or later.
66780         * INSTALL: Regenerated.
66782         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
66784 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66786         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
66788         * sysdeps/x86_64/x32/ffs.c: New file.
66790         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
66791         __syscall_ulong_t.
66792         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
66793         defined.  Use __syscall_ulong_t.
66794         (shminfo): Use __syscall_ulong_t.
66795         (shm_info): Likewise.
66797         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
66798         __syscall_ulong_t.
66800         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
66801         <bits/wordsize.h>.
66802         (msgqnum_t): Use __syscall_ulong_t.
66803         (msglen_t): Likewise.
66804         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
66805         __syscall_ulong_t.
66807         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
66808         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66810         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
66812         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
66813         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
66815         * sysvipc/sys/msg.h (msgbuf): Replace long int with
66816         __syscall_slong_t.
66818         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
66819         include <bits/wordsize.h>.  Check __x86_64__ instead of
66820         __WORDSIZE.
66822         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
66823         "unsigned long long int" if __x86_64__ is defined.
66824         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
66826         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
66827         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66828         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
66830         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
66831         <stdint.h>.
66832         (GET_PC): Cast to uintptr_t first.
66833         (GET_FRAME): Likewise.
66834         (GET_STACK): Likewise.
66836         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
66837         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
66838         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
66839         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
66840         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
66841         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
66842         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
66843         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
66844         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
66845         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
66846         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
66847         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
66848         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66849         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
66850         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
66851         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
66852         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
66853         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
66854         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
66855         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
66856         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
66857         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
66858         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
66859         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
66860         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
66861         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
66862         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
66863         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
66864         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
66866 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
66868         * Makerules (+depfiles): Also collect depfiles from .oS in
66869         $(extra-objs).
66870         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
66871         .oS, $(libnldbl-routines)).
66873         * Makerules (native-compile-mkdep-flags): Define.
66874         * sunrpc/Makefile (extra-objs): Add $(addprefix
66875         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
66876         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
66877         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
66878         calling $(make-target-directory).
66880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66882         * bits/types.h (__snseconds_t): Removed.
66883         * time/time.h (struct timespec): Replace __snseconds_t with
66884         __syscall_slong_t.
66885         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66886         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66887         Likewise.
66888         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66889         (__SNSECONDS_T_TYPE): Likewise.
66890         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66891         (__SNSECONDS_T_TYPE): Likewise.
66892         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66893         (__SNSECONDS_T_TYPE): Likewise.
66895 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66897         * sysdeps/mach/hurd/bits/typesizes.h
66898         (__SYSCALL_SLONG_TYPE): New macro.
66899         (__SYSCALL_ULONG_TYPE): Likewise.
66901 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66903         * bits/types.h (__syscall_slong_t): New type.
66904         (__syscall_ulong_t): Likewise.
66906         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
66907         (__SYSCALL_ULONG_TYPE): Likewise.
66908         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66909         (__SYSCALL_SLONG_TYPE): Likewise.
66910         (__SYSCALL_ULONG_TYPE): Likewise.
66911         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66912         (__SYSCALL_SLONG_TYPE): Likewise.
66913         (__SYSCALL_ULONG_TYPE): Likewise.
66914         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66915         (__SYSCALL_SLONG_TYPE): Likewise.
66916         (__SYSCALL_ULONG_TYPE): Likewise.
66918 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66920         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
66921         Add sigaltstack-offsets.sym.
66922         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
66923         <sigaltstack-offsets.h>.
66924         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
66925         longjmp_msg pointer.
66926         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
66927         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
66928         signal stack.
66929         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
66931 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66933         * elf/stackguard-macros.h: Remove file.
66934         * sysdeps/generic/stackguard-macros.h: New file.
66935         * sysdeps/i386/stackguard-macros.h: Likewise.
66936         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
66937         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
66938         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
66939         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
66940         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
66941         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
66942         * sysdeps/x86_64/stackguard-macros.h: Likewise.
66943         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
66944         <elf/stackguard-macros.h>.
66946         [BZ #14109]
66947         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
66948         __aligned__ in attribute.
66949         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
66950         (gregset_t): Likewise.
66952 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66954         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
66955         * sysdeps/x86_64/64/Implies-after: Here.  New file.
66956         * sysdeps/x86_64/x32/Implies-after: New file.
66958 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66960         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
66961         and access return value for _dl_profile_fixup.  Use R10_LP to
66962         load frame size.
66964 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66966         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
66968 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66970         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
66971         * sysdeps/x86_64/x32/sysdep.h: New file.
66973 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66975         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
66976         * sysdeps/x86_64/setjmp.S: Likewise.
66978 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66980         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
66981         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
66982         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66983         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
66984         remove unused global constant.
66986 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
66988         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
66989         include of <not-cancel.h>.
66991 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66993         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
66995 2012-05-15  Jeff Law  <law@redhat.com>
66996             Andreas Jaeger  <aj@suse.de>
66998         [BZ #13594]
66999         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
67000         out from...
67001         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
67002         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
67003         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
67004         code changing __hst_map_handle.map.
67006 2012-05-15  Roland McGrath  <roland@hack.frob.com>
67008         * configure.in (sysnames): Look for Implies-before and Implies-after
67009         files.
67010         * configure: Regenerated.
67012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67014         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
67015         8-byte data alignment with LP_SIZE alignment.
67017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67019         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
67020         into R10_LP.
67022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67024         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
67026 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67028         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
67029         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
67030         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
67031         Likewise.
67032         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67036         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
67037         (stackinfo_sub_sp): Likewise.
67039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67041         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
67042         RAX_LP.
67044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67046         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
67047         into R*_LP.
67049 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67051         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
67052         sizes into R*_LP.
67054 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67056         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
67058 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67060         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
67061         into R11_LP and load __x86_64_shared_cache_size_half into
67062         R8_LP.
67064 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67066         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
67067         R8_LP.
67069 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67071         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
67072         logb for POWER7.
67073         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
67074         logbf for POWER7.
67075         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
67076         logbl for POWER7.
67077         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
67078         powerpc32/power7/fpu/s_logb.c via #include.
67079         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
67080         powerpc32/power7/fpu/s_logbf.c via #include.
67081         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
67082         powerpc32/power7/fpu/s_logbl.c via #include.
67084 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67086         * README.libm: Remove file.
67088 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67090         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
67091         count for x32.  Use R*_LP and omit operand-size suffix.
67093 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67095         * shlib-versions: Move x86_64-.*-linux.* entries to ...
67096         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
67097         * sysdeps/x86_64/x32/shlib-versions: New file.
67099 2012-05-14  Roland McGrath  <roland@hack.frob.com>
67101         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
67102         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
67103         Use _dl_fatal_printf instead.
67105 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67107         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
67108         set if not set by the user.  Do not allow for being unset.
67109         * sysdeps/unix/sysv/linux/configure: Regenerated.
67111 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67113         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
67114         the `q' suffix from lea and replace .quad with ASM_ADDR.
67116 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67118         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
67119         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
67120         instead of $17.
67121         (PTR_DEMANGLE): Likewise.
67123 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67125         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
67126         (LP_OP): Likewise.
67127         (ASM_ADDR): Likewise.
67128         (RAX_LP): Likewise.
67129         (RBP_LP): Likewise.
67130         (RBX_LP): Likewise.
67131         (RCX_LP): Likewise.
67132         (RDI_LP): Likewise.
67133         (RSI_LP): Likewise.
67134         (RSP_LP): Likewise.
67135         (R8_LP): Likewise.
67136         (R9_LP): Likewise.
67137         (R10_LP): Likewise.
67138         (R10_LP): Likewise.
67139         (R11_LP): Likewise.
67140         (R12_LP): Likewise.
67141         (R13_LP): Likewise.
67142         (R14_LP): Likewise.
67143         (R15_LP): Likewise.
67145 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67147         * sysdeps/x86_64/x32/dl-machine.h: New file.
67149 2012-05-14  Andreas Jaeger  <aj@suse.de>
67151         * manual/Makefile (subdir): Remove export of subdir.
67152         (all): Remove target.
67153         (.PHONY): Remove all from list.
67154         (mkinstalldirs): Remove.
67155         (.PHONY): Remove installdirs from list.
67156         ($(inst_infodir)/libc.info): Use make-target-directory.
67157         (installdirs): Remove.
67158         (subdir_%): Remove.
67159         (glibc-targets): Remove.
67160         (lib): Remove.
67161         (stubs): Remove.
67162         ($(objpfx)stubs ../po/manual.pot): Remove.
67163         ($(objpfx)stamp%): Remove.
67164         (make-target-directory): Remove.
67165         (subdir_install): Remove.
67166         (routines): Remove.
67167         (aux): Remove.
67168         (sources): Remove.
67169         (objects): Remove.
67170         (headers): Remove.
67172         [BZ #13750]
67173         * manual/.gitignore: Remove, it's not needed anymore.
67174         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
67175         all files in it.
67176         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
67177         directory.
67178         (texis): Renamed to $(objpfx)texis.
67179         (texis-path): New, contains path to generated files.
67180         (chapters.%): Use texis-path for complete path, add extra argument
67181         libc-texinfo.sh.
67182         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
67183         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
67184         (summary,texi, stamp-summary): Use complete path of
67185         files. Generate files in build dir.
67186         (dir-add.texi): Build in build dir.
67187         (libm-err.texi,stamp-libm-err): Likewise.
67188         (version.texi, stamp-version): Likewise.
67189         (.%c.texi): Likewise.
67190         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
67191         (mostlyclean): Remove target.
67192         (realclean): Remove target.
67193         (generated): Add new variable with contents from mostlyclean and
67194         realclean, remove entries duplicated in common-mostlyclean, add
67195         stamp-libm-err and stamp-version.
67196         (generated-dirs): Add libc directory.
67197         ($(inst_infodir)/libc.info): Install files from build dir.
67199         * manual/install.texi (Configuring and compiling): Adjust since
67200         the info files are not part of the tar ball anymore.
67202 2012-05-14  Andreas Jaeger  <aj@suse.de>
67204         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
67205         variable.
67207 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67209         [BZ #13717]
67210         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67211         to 2.2.0 where earlier.
67212         * sysdeps/unix/sysv/linux/configure: Regenerated.
67213         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
67214         Remove conditional code.
67215         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
67216         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
67217         Remove conditional code.
67218         [!__NR_lchown]: Likewise.
67219         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67220         [__NR_lchown]: Likewise.
67221         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
67222         comment referencing __ASSUME_LCHOWN_SYSCALL.
67223         * sysdeps/unix/sysv/linux/i386/sigaction.c
67224         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67225         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67226         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
67227         Remove conditional code.
67228         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
67229         (__protocol_available): Remove #if 0 code.
67230         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
67231         conditional code.
67232         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
67233         * sysdeps/unix/sysv/linux/kernel-features.h
67234         (__ASSUME_GETCWD_SYSCALL): Don't define.
67235         (__ASSUME_REALTIME_SIGNALS): Likewise.
67236         (__ASSUME_PREAD_SYSCALL): Likewise.
67237         (__ASSUME_PWRITE_SYSCALL): Likewise.
67238         (__ASSUME_POLL_SYSCALL): Likewise.
67239         (__ASSUME_LCHOWN_SYSCALL): Likewise.
67240         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
67241         non-SPARC.
67242         (__ASSUME_SIOCGIFNAME): Don't define.
67243         (__ASSUME_MSG_NOSIGNAL): Likewise.
67244         (__ASSUME_SENDFILE): Define unconditionally.
67245         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
67246         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
67247         conditional code.
67248         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
67249         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
67250         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67251         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67252         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
67253         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67254         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
67256         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67257         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
67259         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67260         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
67262         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67263         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
67265         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67266         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
67268         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67269         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
67271         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67272         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
67274         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67275         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
67277         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67278         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67279         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
67280         Remove conditional code.
67281         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67282         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67283         Remove conditional code.
67284         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67285         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
67286         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
67287         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67288         Remove conditional code.
67289         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67290         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
67291         Remove conditional code.
67292         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67293         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
67294         Remove conditional code.
67295         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67296         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67297         Remove conditional code.
67298         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67299         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67300         Remove conditional code.
67301         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67302         * sysdeps/unix/sysv/linux/sh/pwrite64.c
67303         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67304         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67305         * sysdeps/unix/sysv/linux/sigaction.c
67306         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67307         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67308         * sysdeps/unix/sysv/linux/sigpending.c
67309         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67310         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67311         * sysdeps/unix/sysv/linux/sigprocmask.c
67312         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67313         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67314         * sysdeps/unix/sysv/linux/sigsuspend.c
67315         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67316         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67317         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67318         (__libc_missing_rt_sigs): Remove.
67319         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
67320         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
67321         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
67322         Remove conditional code.
67323         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
67324         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
67325         return 1.
67326         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
67327         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
67328         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
67329         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
67331 2012-05-14  Andreas Jaeger  <aj@suse.de>
67333         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
67334         it's not used in glibc.
67335         (__coshm1): Likewise.
67336         (__acosh1p): Likewise.
67337         (__sgn): Likewise.
67339         * manual/string.texi (Copying and Concatenation): Add missing
67340         variable in concat example.
67341         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
67343 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67345         [BZ #14103]
67346         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
67347         __builtin_clzl with __builtin_clzll.
67349 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67351         [BZ #14104]
67352         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
67353         libc_freeres_ptr.
67355 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67357         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
67358         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
67359         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
67360         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
67362 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
67364         * NEWS: Update ia64 info.
67366 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
67368         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
67369         used as bcopy.
67371 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
67373         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
67374         * sysdeps/unix/syscalls.list (dup3): Likewise.
67375         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
67376         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
67378 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67380         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
67381         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
67383 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67385         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
67386         thread pointer.
67387         (TLS_IE): Use mov/add instead of movq/addq to load thread
67388         pointer.
67389         (TLS_GD_PREFIX): New.
67390         (TLS_GD): Use it.
67392 2012-05-11  David S. Miller  <davem@davemloft.net>
67394         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
67395         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
67396         (_FPU_SETCW): Likewise.
67398 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67400         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
67401         is 32-byte aligned.
67403 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
67405         [BZ #11837]
67406         * iconvdata/gb18030.c: Update tables.
67407         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
67408         characters specially.
67409         (BODY for TO_LOOP): Add encoding of missing ranges.
67411 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
67413         [BZ #13673]
67414         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
67415         * sysdeps/mach/hurd/dup3.c: Likewise.
67416         * sysdeps/mach/hurd/readlinkat.c: Likewise.
67417         * sysdeps/powerpc/memmove.c:: Likewise.
67419 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67421         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
67422         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
67424 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67426         * elf/elf.h (R_X86_64_RELATIVE64): New.
67427         (R_X86_64_NUM): Updated.
67428         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67429         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
67430         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
67431         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
67432         tst-quad1pie tst-quad2pie
67433         (modules-names): Add tst-quadmod1 tst-quadmod2.
67434         ($(objpfx)tst-quad1): New dependency.
67435         ($(objpfx)tst-quad2): Likewise.
67436         ($(objpfx)tst-quad1pie): Likewise.
67437         ($(objpfx)tst-quad2pie): Likewise.
67438         * sysdeps/x86_64/tst-quad1.c: New file.
67439         * sysdeps/x86_64/tst-quad1pie.c: New file.
67440         * sysdeps/x86_64/tst-quad2.c: Likewise.
67441         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
67442         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
67443         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
67444         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
67445         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
67447 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67449         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
67450         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
67451         * streams/stropts.h (t_scalar_t): Define type.
67453         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
67454         (_PATH_PRESERVE): Set to "/var/lib".
67455         (_PATH_RWHODIR): Set to "/var/spool/rwho".
67457         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
67458         instead of int.
67460         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
67461         if __dir_mkfile succeeded.
67463         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
67464         checking for _hurd_dtablesize.  Unlock it right after having
67465         finished _hurd_dtable allocation.
67467 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67469         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
67470         * sysdeps/mach/hurd/configure: Regenerated.
67471         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
67472         special-casing to...
67473         * sysdeps/gnu/configure.in: ... this new file.
67474         * sysdeps/unix/sysv/linux/configure: Regenerated.
67475         * sysdeps/gnu/configure: New generated file.
67477         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
67478         for Linux: use nsec instead of usec, as well as:
67479         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
67480         members of type struct timespec.
67481         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
67482         New macros.
67483         (struct stat64): Likewise.
67484         (_STATBUF_ST_NSEC): New macro.
67485         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
67487         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67488         __strtoul_internal rather than strtoul.
67490 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67492         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
67493         and reject them.
67495 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67497         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
67498         which preserves existing values.
67499         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
67501 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67503         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
67504         TIMEOUT values.  Return EINVAL for NFDS values either negative or
67505         greater than FD_SETSIZE.
67507 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67509         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
67510         allocated, call __vm_protect to finish enabling the existing space, and
67511         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
67512         allocate the remainder.
67514 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67516         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
67517         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
67519 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67521         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
67522         sysdeps/mach/hurd/readlink.c.
67524         * posix/tst-sysconf.c (posix_options): Only use
67525         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
67526         _POSIX_SYNCHRONIZED_IO when they are defined
67527         * sysdeps/mach/hurd/bits/posix_opt.h:
67528         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
67529         (_XOPEN_REALTIME): Undefine macro.
67530         (_XOPEN_REALTIME_THREADS): Undefine macro.
67531         (_XOPEN_SHM): Undefine macro.
67532         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
67533         macro to -1.
67534         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
67535         macro to -1.
67536         (_POSIX_ASYNC_IO): Undefine macro.
67537         (_POSIX_PRIORITIZED_IO): Undefine macro.
67538         (_POSIX_SPIN_LOCKS): Define macro to -1.
67540         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
67541         SA_NODEFER, SA_RESETHAND.
67542         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
67543         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
67544         F_DUPFD_CLOEXEC.
67546 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67548         * elf/Makefile (pldd-modules): Define unconditionally.
67550 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67552         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
67554 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67556         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
67557         Return ENOENT when name is empty.
67558         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
67560 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67562         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
67564         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
67566 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67568         Fix mlock in all cases except non-readable pages.
67569         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
67570         instead of VM_PROT_ALL as parameter to __vm_wire function.
67572         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
67573         (__mkdir): When path is `/', just fail with EEXIST.
67574         * sysdeps/mach/hurd/mkdirat.c: Likewise.
67576 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67578         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
67579         <sys/uio.h> (for writev).
67580         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
67581         and <sys/param.h> (for MIN).
67583 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67585         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
67586         REQUESTED_TIME.  Properly set the remaining time and return EINTR
67587         if interrupted.
67589 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67591         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
67592         Depend on against $(link-rpcuserlibs).
67594 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67596         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
67597         (__libc_stack_end): Do not use attribute_relro.
67598         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
67599         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
67600         to libthread-provided value.
67601         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
67602         attribute_relro.
67604 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67606         [BZ #3748]
67607         * bits/libc-lock.h (__libc_once_get): New macro.
67608         * sysdeps/mach/bits/libc-lock.h: Likewise.
67609         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
67610         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
67611         instead of using implementation details.
67613         * libio/fileops.c: Unconditionally include <kernel-features.h>.
67614         * libio/freopen.c: Likewise.
67615         * libio/freopen64.c: Likewise.
67616         * misc/syslog.c: Likewise.
67617         * nscd/connections.c: Likewise.
67618         * nscd/netgroupcache.c: Likewise.
67619         * sysdeps/posix/getcwd.c: Likewise.
67621 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67623         * math/w_ilogbf.c: Add #include <limits.h>.
67625 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67627         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
67628         path instead of returning without unlocking.
67630         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
67631         immediate-write ioctls.
67632         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
67634 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67636         * sysdeps/mach/hurd/i386/init-first.c (init): Use
67637         __builtin_frame_address instead of making assumptions about the
67638         location of the return address relative to DATA.  Force early load of
67639         the return address.
67640         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
67641         __builtin_frame_address.
67643         dup3 for GNU Hurd.
67644         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
67645         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
67646         implement dup3 and do some further code clean-ups.
67647         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
67648         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
67650 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67652         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
67654         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
67655         HURD_CRITICAL_END around holding _hurd_dtable_lock.
67656         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
67657         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
67658         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
67659         d->port.lock.
67661         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
67662         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
67663         when handler == SIG_ERR, not when handler != SIG_ERR.
67665 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67667         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
67668         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
67669         definitions.
67671         accept4 for GNU Hurd.
67672         * include/sys/socket.h (__libc_accept4): New prototype.
67673         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
67674         to implement __libc_accept4.
67675         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
67676         __libc_accept4.
67677         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
67679         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
67680         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
67681         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
67682         signal-defines.sym.
67684 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67686         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
67688 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67690         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
67691         assertion on O_CLOEXEC flag.
67692         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
67693         * hurd/intern-fd.c: Likewise.
67694         * hurd/port2fd.c: Likewise.
67696 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67698         [BZ #3906]
67699         * bits/in.h (IPV6_PKTINFO): Define new macro.
67700         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
67702 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67704         [BZ #13954]
67705         [BZ #13955]
67706         [BZ #13956]
67707         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
67708         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67709         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
67710         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67711         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67712         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67713         * math/libm-test.inc (logb_test) : Additional logb tests.
67715 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
67716             Andreas Jaeger  <aj@suse.de>
67718         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
67719         * configure: Regenerated.
67720         * config.h.in (LINK_OBSOLETE_RPC): New macro.
67721         * config.make.in (link-obsolete-rpc): New substituted variable.
67722         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
67723         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
67724         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67725         (shared-only-routines): Don't set it under [link-obsolete-rpc],
67726         so that libc.a contains the symbols.
67727         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67728         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
67729         * sunrpc/auth_none.c: Likewise.
67730         * sunrpc/auth_unix.c: Likewise.
67731         * sunrpc/authdes_prot.c: Likewise.
67732         * sunrpc/authuxprot.c: Likewise.
67733         * sunrpc/clnt_gen.c: Likewise.
67734         * sunrpc/clnt_perr.c: Likewise.
67735         * sunrpc/clnt_raw.c: Likewise.
67736         * sunrpc/clnt_simp.c: Likewise.
67737         * sunrpc/clnt_tcp.c: Likewise.
67738         * sunrpc/clnt_udp.c: Likewise.
67739         * sunrpc/clnt_unix.c: Likewise.
67740         * sunrpc/des_crypt.c: Likewise.
67741         * sunrpc/des_soft.c: Likewise.
67742         * sunrpc/get_myaddr.c: Likewise.
67743         * sunrpc/key_call.c: Likewise.
67744         * sunrpc/key_prot.c: Likewise.
67745         * sunrpc/netname.c: Likewise.
67746         * sunrpc/pm_getmaps.c: Likewise.
67747         * sunrpc/pm_getport.c: Likewise.
67748         * sunrpc/pmap_clnt.c: Likewise.
67749         * sunrpc/pmap_prot.c: Likewise.
67750         * sunrpc/pmap_prot2.c: Likewise.
67751         * sunrpc/pmap_rmt.c: Likewise.
67752         * sunrpc/publickey.c: Likewise.
67753         * sunrpc/rpc_cmsg.c: Likewise.
67754         * sunrpc/rpc_common.c: Likewise.
67755         * sunrpc/rpc_dtable.c: Likewise.
67756         * sunrpc/rpc_prot.c: Likewise.
67757         * sunrpc/rpc_thread.c: Likewise.
67758         * sunrpc/rtime.c: Likewise.
67759         * sunrpc/svc.c: Likewise.
67760         * sunrpc/svc_auth.c: Likewise.
67761         * sunrpc/svc_raw.c: Likewise.
67762         * sunrpc/svc_run.c: Likewise.
67763         * sunrpc/svc_tcp.c: Likewise.
67764         * sunrpc/svc_udp.c: Likewise.
67765         * sunrpc/svc_unix.c: Likewise.
67766         * sunrpc/svcauth_des.c: Likewise.
67767         * sunrpc/xcrypt.c: Likewise.
67768         * sunrpc/xdr.c: Likewise.
67769         * sunrpc/xdr_array.c: Likewise.
67770         * sunrpc/xdr_float.c: Likewise.
67771         * sunrpc/xdr_intXX_t.c: Likewise.
67772         * sunrpc/xdr_mem.c: Likewise.
67773         * sunrpc/xdr_rec.c: Likewise.
67774         * sunrpc/xdr_ref.c: Likewise.
67775         * sunrpc/xdr_sizeof.c: Likewise.
67776         * sunrpc/xdr_stdio.c: Likewise.
67778 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67780         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
67781         change.  Update copyright years.
67783 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67785         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
67787 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
67788             Joseph Myers  <joseph@codesourcery.com>
67789             Paul Pluzhnikov  <ppluzhnikov@google.com>
67791         [BZ #14012]
67792         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
67793         requiring rpcgen.
67794         [cross-compiling] (extra-libs): Likewise.
67795         [cross-compiling] (extra-libs-others): Likewise.
67796         [cross-compiling] (librpcsvc-routines): Likewise.
67797         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
67798         [cross-compiling] (omit-deps): Likewise.
67799         (sunrpc-CPPFLAGS): New variable.
67800         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
67801         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
67802         (cross-rpcgen-objs): New variable.
67803         (extra-objs): Append $(cross-rpcgen-objs).
67804         ($(cross-rpcgen-objs)): New rule.
67805         ($(objpfx)cross-rpcgen): Likewise.
67806         (rpcgen-cmd): Define to use $(built-program-file).  Expand
67807         comment.
67808         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
67809         ($(objpfx)x%.stmp): Likewise.
67810         * sunrpc/proto.h [IS_IN_build] (_): Define.
67811         [IS_IN_build] (_libc_intl_domainname): Likewise.
67813 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67815         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
67816         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
67817         and R_X86_64_TPOFF64.
67819 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67821         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
67822         sysdeps/unix/sysv/syscalls.list.
67823         (stime): Likewise.
67824         (utime): Likewise.
67825         * sysdeps/unix/sysv/syscalls.list: Remove file.
67827 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
67829         [BZ #3440]
67830         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
67831         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
67832         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
67833         (__LC_IDENTIFICATION): Make these macros useful in #if
67834         expressions, as required by C99.
67836 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
67838         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
67839         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
67840         after this.
67842 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
67844         * stdlib/longlong.h: Updated from GCC.
67846 2012-05-09  Andreas Jaeger  <aj@suse.de>
67848         * nscd/nscd.c (run_modes): Make named enum, reorder so that
67849         default is first entry.
67850         (run_mode): Set type.
67851         (main): Remove informal message about syslog.
67852         (options): Fix typo.
67854         [BZ #14053]
67855         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
67856         to asm.
67857         (lrint): Likewise.
67858         (llrintf): Likewise.
67859         (llrint): Likewise.
67860         (rint): Likewise.
67861         (rintf): Likewise.
67862         (nearbyint): Likewise.
67863         (nearbyintf): Likewise.
67865 2012-05-09  Andreas Jaeger  <aj@suse.de>
67866             Pedro Alves  <palves@redhat.com>
67868         * nscd/nscd.c (run_mode): Use enum.
67869         (main): Cleanup coding style issue.
67871 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
67872             Andreas Jaeger  <aj@suse.de>
67874         * nscd/nscd.c (go_background): Replaced with...
67875         (run_mode): ... this.
67876         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
67877         (options): Add -F --foreground.
67878         (main): Implement it.
67879         (parse_opt): Parse it.
67881 2012-05-09  Andreas Jaeger  <aj@suse.de>
67883         [BZ #14083]
67884         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67885         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67886         -Wconversion warning.
67887         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67888         Likewise.
67890 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
67892         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
67893         == 0.
67894         (LC_ALL): Use macro-int-constant.
67895         (LC_COLLATE): Likewise.
67896         (LC_CTYPE): Likewise.
67897         (LC_MESSAGES): Likewise.
67898         (LC_MONETARY): Likewise.
67899         (LC_NUMERIC): Likewise.
67900         (LC_TIME): Likewise.
67901         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67902         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67903         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67904         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
67905         Specify type.
67906         [C99-based standards] (float_t): Expect type.
67907         [C99-based standards] (double_t): Expect type.
67908         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
67909         type.
67910         [C99-based standards] (HUGE_VALL): Likewise.
67911         [C99-based standards] (INFINITY): Likewise.
67912         [C99-based standards] (NAN): Likewise.
67913         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
67914         [C99-based standards] (FP_NAN): Likewise.
67915         [C99-based standards] (FP_NORMAL): Likewise.
67916         [C99-based standards] (FP_SUBNORMAL): Likewise.
67917         [C99-based standards] (FP_ZERO): Likewise.
67918         [C99-based standards] (FP_FAST_FMA): Use
67919         optional-macro-int-constant.  Specify type.  Require == 1.
67920         [C99-based standards] (FP_FAST_FMAF): Likewise.
67921         [C99-based standards] (FP_FAST_FMAL): Likewise.
67922         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
67923         [C99-based standards] (FP_ILOGBNAN): Likewise.
67924         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
67925         Specify type.
67926         [C99-based standards] (MATH_ERREXCEPT): Likewise.
67927         [C99-based standards] (math_errhandling): Specify type.
67928         [ISO99 || ISO11] (signgam): Do not allow.
67929         [non-C99-based standards] (copysignf): Do not allow.
67930         [non-C99-based standards] (exp2f): Likewise.
67931         [non-C99-based standards] (log2f): Likewise.
67932         [non-C99-based standards] (modff): Allow.
67933         [non-C99-based standards] (erff): Do not allow.
67934         [non-C99-based standards] (erfcf): Likewise.
67935         [non-C99-based standards] (gammaf): Likewise.
67936         [non-C99-based standards] (hypotf): Likewise.
67937         [non-C99-based standards] (j0f): Likewise.
67938         [non-C99-based standards] (j1f): Likewise.
67939         [non-C99-based standards] (jnf): Likewise.
67940         [non-C99-based standards] (lgammaf): Likewise.
67941         [non-C99-based standards] (tgammaf): Likewise.
67942         [non-C99-based standards] (y0f): Likewise.
67943         [non-C99-based standards] (y1f): Likewise.
67944         [non-C99-based standards] (ynf): Likewise.
67945         [non-C99-based standards] (isnanf): Likewise.
67946         [non-C99-based standards] (acoshf): Likewise.
67947         [non-C99-based standards] (asinhf): Likewise.
67948         [non-C99-based standards] (atanhf): Likewise.
67949         [non-C99-based standards] (cbrtf): Likewise.
67950         [non-C99-based standards] (expm1f): Likewise.
67951         [non-C99-based standards] (ilogbf): Likewise.
67952         [non-C99-based standards] (log1pf): Likewise.
67953         [non-C99-based standards] (logbf): Likewise.
67954         [non-C99-based standards] (nextafterf): Likewise.
67955         [non-C99-based standards] (remainderf): Likewise.
67956         [non-C99-based standards] (rintf): Likewise.
67957         [non-C99-based standards] (scalbf): Likewise.
67958         [non-C99-based standards] (copysignl): Likewise.
67959         [non-C99-based standards] (exp2l): Likewise.
67960         [non-C99-based standards] (log2l): Likewise.
67961         [non-C99-based standards] (modfl): Allow.
67962         [non-C99-based standards] (erfl): Do not allow.
67963         [non-C99-based standards] (erfcl): Likewise.
67964         [non-C99-based standards] (gammal): Likewise.
67965         [non-C99-based standards] (hypotl): Likewise.
67966         [non-C99-based standards] (j0l): Likewise.
67967         [non-C99-based standards] (j1l): Likewise.
67968         [non-C99-based standards] (jnl): Likewise.
67969         [non-C99-based standards] (lgammal): Likewise.
67970         [non-C99-based standards] (tgammal): Likewise.
67971         [non-C99-based standards] (y0l): Likewise.
67972         [non-C99-based standards] (y1l): Likewise.
67973         [non-C99-based standards] (ynl): Likewise.
67974         [non-C99-based standards] (isnanl): Likewise.
67975         [non-C99-based standards] (acoshl): Likewise.
67976         [non-C99-based standards] (asinhl): Likewise.
67977         [non-C99-based standards] (atanhl): Likewise.
67978         [non-C99-based standards] (cbrtl): Likewise.
67979         [non-C99-based standards] (expm1l): Likewise.
67980         [non-C99-based standards] (ilogbl): Likewise.
67981         [non-C99-based standards] (log1pl): Likewise.
67982         [non-C99-based standards] (logbl): Likewise.
67983         [non-C99-based standards] (nextafterl): Likewise.
67984         [non-C99-based standards] (remainderl): Likewise.
67985         [non-C99-based standards] (rintl): Likewise.
67986         [non-C99-based standards] (scalbl): Likewise.
67987         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67988         [non-C99-based standards] (FP_*): Do not allow.
67989         [C99-based standards] (FP_*): Change to
67990         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67991         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67992         allow.
67993         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
67994         (SIG_ERR): Likewise.
67995         [X/Open-based standards] (SIG_HOLD): Likewise.
67996         (SIG_IGN): Likewise.
67997         (SIGABRT): Use macro-int-constant.  Specify type.  Require
67998         positive value.
67999         (SIGFPE): Likewise.
68000         (SIGILL): Likewise.
68001         (SIGINT): Likewise.
68002         (SIGSEGV): Likewise.
68003         (SIGTER): Likewise.
68004         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
68005         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
68006         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
68007         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
68008         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
68009         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
68010         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
68011         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
68012         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
68013         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
68014         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
68015         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
68016         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
68017         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
68018         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
68019         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
68020         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
68021         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
68022         [X/Open-based standards] (SIGTRAP): Likewise.
68023         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
68024         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
68025         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
68026         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
68027         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68028         allow.
68030 2012-05-08  Ian Wienand  <ianw@vmware.com>
68032         [BZ #14080]
68033         * time/tzset.c (__tzset_parse_tz): Update default rules for
68034         daylight time changes in the Energy Policy Act of 2005.
68036 2012-05-09  Andreas Jaeger  <aj@suse.de>
68038         [BZ #13983]
68039         * elf/ldconfig.c (parse_conf): Change string to make clear that
68040         ldconfig only issued a warning if ld.so.conf does not exist.
68042 2012-05-08  David S. Miller  <davem@davemloft.net>
68044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
68045         movxtod instead of popping the value on the stack.
68047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68049 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
68051         * config.h.in: Add HAVE_ARM_PCS_VFP.
68053 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
68055         [BZ #13979]
68056         * include/features.h: Warn if user requests __FORTIFY_SOURCE
68057         checking but the checks are disabled for any reason.
68059 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
68061         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
68062         and ELF64_R_TYPE with ELFW(R_TYPE).
68064 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
68066         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
68067         (ulimit): Likewise.
68069         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
68070         (settimeofday): Likewise.
68072 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
68074         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
68075         a struct th_u2 inside the union, and move tu_block/tu_code into
68076         a new th_u3 union of tu_block/tu_code inside of that.  Move
68077         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
68078         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
68079         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
68080         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
68081         (th_stuff): Change to th_u1.tu_stuff.
68082         (th_data): Define.
68083         (th_msg): Change to th_u1.th_u2.tu_data.
68085 2012-05-07  David S. Miller  <davem@davemloft.net>
68087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68089         [BZ #14074]
68090         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
68091         (SETUP_PIC_REG): Use it.
68092         (SETUP_PIC_REG_LEAF): Use it.
68094 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
68096         [BZ #13885]
68097         [BZ #13923]
68098         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68099         USE_AS_EXPM1L.
68100         (EXPL_FINITE): Likewise.
68101         (FLDLOG): Likewise.
68102         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68103         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68104         e_expl.S.
68105         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68106         USE_AS_EXPM1L.
68107         (EXPL_FINITE): Likewise.
68108         (FLDLOG): Likewise.
68109         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68110         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68111         e_expl.S.
68112         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
68113         test of -max_value argument for long double.
68114         * sysdeps/i386/fpu/libm-test-ulps: Update.
68115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68117 2012-05-06  David S. Miller  <davem@davemloft.net>
68119         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
68120         quad soft-float symbols whose references which are compiler
68121         generated.
68122         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68124 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
68126         [BZ #13884]
68127         [BZ #13914]
68128         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68129         USE_AS_EXP10L.
68130         (EXPL_FINITE): Likewise.
68131         (FLDLOG): Likewise.
68132         (c0): Likewise.
68133         (c1): Likewise.
68134         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68135         Adjust comments for base varying.
68136         (__expl_finite): Change alias to EXPL_FINITE.
68137         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
68138         e_expl.S.
68139         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
68140         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
68141         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
68142         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
68143         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68144         USE_AS_EXP10L.
68145         (EXPL_FINITE): Likewise.
68146         (FLDLOG): Likewise.
68147         (c0): Likewise.
68148         (c1): Likewise.
68149         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68150         Adjust comments for base varying.
68151         (__expl_finite): Change alias to EXPL_FINITE.
68152         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
68153         tests for bugs.
68154         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68156         [BZ #14064]
68157         * math/libm-test.inc (check_float_internal): Correct ulp
68158         calculation for subnormal expected results.
68160 2012-05-06  Andreas Jaeger  <aj@suse.de>
68162         * Makeconfig (+math-flags): New, set to -frounding-math.
68163         (+cflags): Add +math-flags so that all of glibc gets compiled with
68164         it.
68166         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
68168 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
68170         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
68171         Disable one test.
68173         [BZ #13787]
68174         [BZ #13922]
68175         [BZ #14036]
68176         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
68177         (__ieee754_expl): Allow for and saturate large arguments.
68178         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
68179         (u_threshold): Likewise.
68180         (__exp): Call __ieee754_exp before checking for overflow and
68181         underflow.
68182         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
68183         (u_threshold): Likewise.
68184         (__expf): Call __ieee754_expf before checking for overflow and
68185         underflow.
68186         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
68187         (u_threshold): Likewise.
68188         (__expl): Call __ieee754_expl before checking for overflow and
68189         underflow.
68190         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
68191         (__ieee754_expl): Allow for and saturate large arguments.
68192         * math/libm-test.inc (exp_test): Add another test.  Do not allow
68193         missing overflow exception on overflow.
68194         (expm1_test): Do not allow missing overflow exception on overflow.
68196         * sysdeps/i386/fpu/e_expl.c: Move to ...
68197         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
68198         rather than using inline asm.
68199         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
68200         * sysdeps/x86_64/fpu/e_expl.S: Copy from
68201         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
68203         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
68204         (nice): Likewise.
68205         (poll): Likewise.
68206         (signal): Likewise.
68207         (time): Likewise.
68208         (times): Likewise.
68210 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68212         * sysdeps/unix/syscalls.list (adjtime): Add entry from
68213         sysdeps/unix/common/syscalls.list.
68214         (fchmod): Likewise.
68215         (fchown): Likewise.
68216         (ftruncate): Likewise.
68217         (getrusage): Likewise.
68218         (gettimeofday): Likewise.
68219         (setpgid): Likewise.
68220         (setregid): Likewise.
68221         (setreuid): Likewise.
68222         (sigaction): Likewise.
68223         (truncate): Likewise.
68224         (vhangup): Likewise.
68225         * sysdeps/unix/common/syscalls.list: Remove file.
68226         * sysdeps/unix/bsd/Implies: Don't include unix/common.
68227         * sysdeps/unix/sysv/linux/Implies: Likewise.
68229 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
68231         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
68232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
68233         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
68234         Moved to ...
68235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
68236         Here.
68237         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
68238         to ...
68239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
68240         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
68241         to ...
68242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
68243         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
68244         to ...
68245         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
68246         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
68247         to ...
68248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
68249         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
68250         to ...
68251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
68252         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
68253         to ...
68254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
68255         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
68256         to ...
68257         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
68258         Here.
68259         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
68260         to ...
68261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
68262         Here.
68263         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
68264         to ...
68265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
68266         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
68267         Moved to ...
68268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
68269         Here.
68270         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
68271         to ...
68272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
68274 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68276         * sysdeps/unix/common/bits/dirent.h: Remove file.
68277         * sysdeps/unix/common/bits/fcntl.h: Likewise.
68279         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
68280         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
68281         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
68282         * sysdeps/unix/bsd/isatty.c: Likewise.
68283         * sysdeps/unix/bsd/tcdrain.c: Likewise.
68284         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
68285         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
68287 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68289         [BZ #13563]
68290         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
68291         long double comparison inaccuracies.
68292         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
68293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68295 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
68297         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
68298         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
68300 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68302         [BZ #14049]
68303         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
68304         nonzero digits before rounding a hex value.
68305         * stdlib/tst-strtod.c (tests): Add another test.
68307 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68309         * sysdeps/s390/fpu/libm-test-ulps: Update.
68311 2012-05-03  Andreas Jaeger  <aj@suse.de>
68313         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
68314         does not get optimized out.
68315         (malloc_opt_barrier): New.
68317 2012-05-03  Andreas Jaeger  <aj@suse.de>
68318             Roland McGrath  <roland@hack.frob.com>
68320         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
68321         intermediate file deletion.
68322         (generated): Add .symlist files.
68324 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
68326         [BZ #13775]
68327         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
68328         Redirect under this condition.
68329         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68330         [__USE_GNU] (__dprintf_chk): Not under this condition.
68331         [__USE_GNU] (__vdprintf_chk): Likewise.
68332         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
68333         under this condition.
68334         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68335         [__USE_XOPEN2K8] (dprintf): Define under this condition.
68336         [__USE_XOPEN2K8] (vdprintf): Likewise.
68337         [__USE_GNU] (__dprintf_chk): Not under this condition.
68338         [__USE_GNU] (__vdprintf_chk): Likewise.
68339         [__USE_GNU] (dprintf): Likewise.
68340         [__USE_GNU] (vdprintf): Likewise.
68342 2012-05-03  Roland McGrath  <roland@hack.frob.com>
68344         * elf/Makefile (common-generated): Set this instead of generated for
68345         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
68346         $(all-built-dso)-derived lists.
68348 2012-05-03  Andreas Jaeger  <aj@suse.de>
68350         * sysdeps/i386/fpu/libm-test-ulps: Update.
68352         * FAQ: Removed.
68353         * FAQ.in: Likewise.
68354         * scripts/gen-FAQ.pl: Likewise.
68355         * manual/install.texi (Installation): Point to online location of
68356         FAQ.
68357         * Makefile (files-for-dist): Remove FAQ.
68358         (FAQ): Remove.
68360 2012-05-02  Allan McRae  <allan@archlinux.org>
68362         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
68363         (LDFLAGS-reldepmod5.so): Likewise.
68364         (LDFLAGS-reldep6mod1.so): Likewise.
68365         (LDFLAGS-reldep6mod4.so): Likewise.
68366         (LDFLAGS-reldep8mod3.so): Likewise.
68367         (LDFLAGS-unload4mod1.so): Likewise.
68368         (LDFLAGS-unload4mod2.so): Likewise.
68369         (LDFLAGS-tst-initorder): Likewise.
68370         (LDFLAGS-tst-initordera2.so): Likewise.
68371         (LDFLAGS-tst-initordera3.so): Likewise.
68372         (LDFLAGS-tst-initordera4.so): Likewise.
68373         (LDFLAGS-tst-initorderb2.so): Likewise.
68374         (LDFLAGS-noload): Likewise.
68375         (LDFLAGS-next): Likewise.
68376         (LDFLAGS-order2mod1.so): Likewise.
68377         (LDFLAGS-order2mod2.so): Likewise.
68378         (LDFLAGS-tst-initorder2): Likewise.
68379         (LDFLAGS-tst-initorder2a.so): Likewise.
68380         (LDFLAGS-tst-initorder2b.so): Likewise.
68381         (LDFLAGS-tst-initorder2c.so): Likewise.
68382         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
68384 2012-05-02  David S. Miller  <davem@davemloft.net>
68386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68388 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
68390         [BZ #14055]
68391         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
68393 2012-05-02  Andreas Jaeger  <aj@suse.de>
68395         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
68396         since we manipulate rounding mode.
68397         (CPPFLAGS-test-idouble.c): Likewise.
68398         (CPPFLAGS-test-ifloat.c): Likewise.
68399         (CFLAGS-test-ldouble.c): Likewise.
68400         (CFLAGS-test-double.c): Likewise.
68401         (CFLAGS-test-float.c): Likewise.
68402         (CFLAGS-test-misc.c): Likewise.
68403         (CFLAGS-test-test-fenv.c): Likewise.
68405 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68407         [BZ #2550]
68408         [BZ #2570]
68409         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
68410         comparisons to determine direction to adjust input.
68412 2012-05-01  Roland McGrath  <roland@hack.frob.com>
68414         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
68415         output to the target.
68417         * scripts/localplt.awk: New file.
68418         * elf/Makefile ($(objpfx)check-localplt): Target removed.
68419         (check-localplt-CFLAGS): Variable removed.
68420         ($(all-built-dso:=.jmprel)): New static pattern rule.
68421         (generated): Add those targets.
68422         (localplt-built-dso): New variable.
68423         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
68425         * elf/check-localplt.c: File removed.
68427         * scripts/check-execstack.awk: New file.
68428         * elf/Makefile ($(objpfx)check-execstack): Target removed.
68429         (check-execstack-CFLAGS): Variable removed.
68430         ($(objpfx)check-execstack.h): Target removed.
68431         ($(objpfx)execstack-default): New target.
68432         (generated): Add that instead of check-execstack.h.
68433         ($(all-built-dso:=.phdr)): New static pattern rule.
68434         (generated): Add those targets.
68435         * elf/check-execstack.c: File removed.
68437         * scripts/check-textrel.awk: New file.
68438         * elf/Makefile ($(objpfx)check-textrel): Target removed.
68439         (check-textrel-CFLAGS): Variable removed.
68440         (all-built-dso): Use := to define.o
68441         ($(all-built-dso:=.dyn)): New static pattern rule.
68442         (generated): Add those targets.
68443         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
68444         * config.make.in (READELF): New substituted variable.
68445         * elf/check-textrel.c: File removed.
68447 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68449         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68450         allow.
68451         * conform/data/ctype.h-data [C99-based standards] (isblank):
68452         Expect function.
68453         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
68454         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
68455         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68456         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
68457         Specify type.  Require positive value.
68458         (EILSEQ): Likewise.
68459         (ERANGE): Likewise.
68460         [ISO || POSIX] (EILSEQ): Do not expect.
68461         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
68462         Specify type.  Require positive value.
68463         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
68464         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
68465         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
68466         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
68467         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
68468         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
68469         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
68470         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
68471         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
68472         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
68473         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
68474         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
68475         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
68476         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
68477         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
68478         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
68479         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
68480         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
68481         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
68482         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
68483         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
68484         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
68485         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
68486         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
68487         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
68488         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
68489         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
68490         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
68491         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
68492         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
68493         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
68494         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
68495         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
68496         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
68497         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
68498         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
68499         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
68500         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
68501         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
68502         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
68503         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
68504         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
68505         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
68506         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
68507         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
68508         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
68509         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
68510         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
68511         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
68512         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
68513         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
68514         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
68515         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
68516         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
68517         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
68518         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
68519         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
68520         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
68521         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
68522         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
68523         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
68524         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
68525         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
68526         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
68527         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
68528         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
68529         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
68530         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
68531         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
68532         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
68533         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
68534         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
68535         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
68536         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
68537         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
68538         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
68539         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
68540         Require >= 2.
68541         (FLT_ROUNDS): Expect as macro, not constant.
68542         (FLT_MANT_DIG): Use macro-int-constant.
68543         (DBL_MANT_DIG): Likewise.
68544         (LDBL_MANT_DIG): Likewise.
68545         (FLT_DIG): Likewise.
68546         (DBL_DIG): Likewise.
68547         (LDBL_DIG): Likewise.
68548         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
68549         (DBL_MIN_EXP): Likewise.
68550         (LDBL_MIN_EXP): Likewise.
68551         (FLT_MAX_EXP): Use macro-int-constant.
68552         (DBL_MAX_EXP): Likewise.
68553         (LDBL_MAX_EXP): Likewise.
68554         (FLT_MAX_10_EXP): Likewise.
68555         (DBL_MAX_10_EXP): Likewise.
68556         (LDBL_MAX_10_EXP): Likewise.
68557         (FLT_MAX): Use macro-constant.
68558         (DBL_MAX): Likewise.
68559         (LDBL_MAX): Likewise.
68560         (FLT_EPSILON): Use macro-constant.  Give upper bound.
68561         (DBL_EPSILON): Likewise.
68562         (LDBL_EPSILON): Likewise.
68563         (FLT_MIN): Likewise.
68564         (DBL_MIN): Likewise.
68565         (LDBL_MIN): Likewise.
68566         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
68567         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
68568         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
68569         [ISO11] (FLT_HAS_SUBNORM): Likewise.
68570         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
68571         [ISO11] (DBL_DECIMAL_DIG): Likewise.
68572         [ISO11] (FLT_DECIMAL_DIG): Likewise.
68573         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
68574         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
68575         [ISO11] (FLT_TRUE_MIN): Likewise.
68576         [ISO11] (LDBL_TRUE_MIN): Likewise.
68577         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68578         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
68579         (SCHAR_MIN): Use macro-int-constant.  Specify type.
68580         (SCHAR_MAX): Likewise.
68581         (UCHAR_MAX): Likewise.
68582         (CHAR_MIN): Likewise.
68583         (CHAR_MAX): Likewise.
68584         (MB_LEN_MAX): Use macro-int-constant.
68585         (SHRT_MIN): Use macro-int-constant.  Specify type.
68586         (SHRT_MAX): Likewise.
68587         (USHRT_MAX): Likewise.
68588         (INT_MAX): Likewise.
68589         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
68590         bound negative.
68591         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68592         bound with "U".
68593         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68594         bound with "L".
68595         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
68596         bound negative.  Suffix upper bound with "L".
68597         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68598         bound with "UL".
68599         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
68600         Specify type.
68601         [C99-based standards] (LLONG_MAX): Likewise.
68602         [C99-based standards] (ULLONG_MAX): Likewise.
68603         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
68604         == 0.
68605         [ISO11] (max_align_t): Require type.
68606         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68608         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
68609         from $CFLAGS, without defining away __attribute__ calls.
68610         (checknamespace): Use $CFLAGS_namespace.
68612         * conform/conformtest.pl (@keywords): Only include C99 keywords
68613         for standards based on C99 or C11.
68615         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
68616         Disable tests.
68617         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
68618         UNIX98]: Likewise.
68620         * conform/conformtest.pl: Handle "macro-int-constant" and test for
68621         usability of symbols in #if.
68623         * conform/conformtest.pl: If macro or constant types start
68624         "promoted:", expect the symbol to be of the following type
68625         promoted by the integer promotions.
68627         * conform/conformtest.pl: Parse all "constant" and "macro" lines
68628         in one place.  Also handle "macro-constant".
68630         * conform/conformtest.pl: Only accept expected macro values with
68631         "==".  Parse all "macro" lines in one place.
68632         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
68634         * conform/conformtest.pl: Handle braced types on "constant" lines
68635         instead of handling "typed-constant".
68636         * conform/data/signal.h-data: Use "constant" instead of
68637         "typed-constant".
68639         * conform/conformtest.pl: Handle "optional-" at start of lines in
68640         one place rather than duplicating several cases.  Handle each
68641         format of "macro" line with initial "optional-".
68643         * conform/conformtest.pl: Only accept expected constant or
68644         optional-constant values with "==".  Parse all "constant" lines in
68645         one place.  Parse all "optional-constant" lines in one place.
68646         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
68647         * conform/data/fmtmsg.h-data: Likewise.
68648         * conform/data/netinet/in.h-data: Likewise.
68649         * conform/data/tar.h-data: Likewise.
68650         * conform/data/limits.h-data: Use "==" form on "constant" and
68651         "optional-constant" lines.
68653         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
68654         Use -std=c99 for XOPEN2K.
68655         (@knownproblems): Remove.
68656         (newtoken): Don't check %isknown.
68658         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
68659         Do not expect macro.
68660         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
68661         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
68662         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
68663         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
68664         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
68665         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
68666         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
68667         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
68668         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
68669         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
68670         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
68671         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
68672         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
68673         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
68674         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
68675         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
68676         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
68677         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
68678         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
68679         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
68680         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
68681         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
68682         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
68683         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
68684         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
68685         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
68686         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
68687         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
68688         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
68689         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
68690         [XPG3] (acosh): Likewise.
68691         [XPG3] (asinh): Likewise.
68692         [XPG3] (atanh): Likewise.
68693         [XPG3] (cbrt): Likewise.
68694         [XPG3] (expm1): Likewise.
68695         [XPG3] (ilogb): Likewise.
68696         [XPG3] (log1p): Likewise.
68697         [XPG3] (logb): Likewise.
68698         [XPG3] (nextafter): Likewise.
68699         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
68700         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
68701         [XPG3] (remainder): Likewise.
68702         [XPG3] (rint): Likewise.
68703         [XPG3 || XPG4 || UNIX98] (round): Likewise.
68704         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
68705         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
68706         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
68707         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
68708         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
68709         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
68710         [UNIX98 || XOPEN2K] (scalb): Expect.
68711         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
68712         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
68713         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
68714         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
68715         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
68716         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
68717         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
68718         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
68719         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
68720         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
68721         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
68722         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
68723         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
68724         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
68725         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
68726         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
68727         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
68728         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
68729         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
68730         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
68731         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
68732         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
68733         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
68734         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
68735         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
68736         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
68737         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
68738         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
68739         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
68740         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
68741         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
68742         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
68743         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
68744         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
68745         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
68746         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
68747         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
68748         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
68749         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
68750         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
68751         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
68752         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
68753         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
68754         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
68755         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
68756         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
68757         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
68758         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
68759         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
68760         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
68761         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
68762         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
68763         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
68764         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
68765         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
68766         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
68767         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
68768         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
68769         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
68770         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
68771         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
68772         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
68773         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
68774         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
68775         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
68776         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
68777         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
68778         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
68779         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
68780         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
68781         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
68782         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
68783         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
68784         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
68785         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
68786         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
68787         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
68788         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
68789         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
68790         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
68791         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
68792         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
68793         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
68794         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
68795         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
68796         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
68797         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
68798         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
68799         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
68800         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
68801         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
68802         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
68803         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
68804         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
68805         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
68806         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
68807         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
68808         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
68809         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
68810         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
68811         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
68812         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
68813         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
68814         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
68815         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
68816         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
68817         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
68818         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
68819         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
68820         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
68821         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
68822         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
68823         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
68824         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
68825         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
68826         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
68827         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
68828         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
68829         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
68830         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
68831         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
68832         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
68833         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
68834         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
68835         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
68836         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
68837         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
68838         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
68839         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
68840         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
68841         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
68842         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
68843         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
68844         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
68845         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
68846         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
68847         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
68849         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
68850         _XOPEN_SOURCE_EXTENDED for XPG4.
68852         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
68854         * Makeconfig (localtime): Remove variable.
68855         (inst_localtime-file): Likewise.
68857 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
68860         Update.
68861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68862         Update.
68863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
68864         Update.
68865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
68866         Update.
68867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
68868         Update.
68869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
68870         Update.
68871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68872         Update.
68873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
68874         Update.
68875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68876         Update.
68878 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68880         [BZ #2550]
68881         [BZ #2570]
68882         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68883         comparisons to determine direction to adjust input.
68884         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68885         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68886         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68887         Likewise.
68888         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68889         Likewise.
68890         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
68891         Likewise.
68892         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
68893         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
68894         Likewise.
68895         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
68896         Likewise.
68897         * math/libm-test.inc (nexttoward_test): Add more tests.
68899 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68901         [BZ #14040]
68902         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
68903         in version GLIBC_2.1, not GLIBC_2.0.
68904         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
68905         Likewise.
68907 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
68909         [BZ #13942]
68910         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
68911         (1 - x) * (1 + x).
68912         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68913         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
68914         * math/libm-test.inc (acos_test): Add more tests.
68915         (asin_test): Likewise.
68916         * sysdeps/i386/fpu/libm-test-ulps: Update.
68917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68919         [BZ #14034]
68920         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
68921         of square root.
68922         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
68923         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68924         * math/libm-test.inc (acos_test_tonearest): New function.
68925         (acos_test_towardzero): Likewise.
68926         (acos_test_downward): Likewise.
68927         (acos_test_upward): Likewise.
68928         (asin_test_tonearest): Likewise.
68929         (asin_test_towardzero): Likewise.
68930         (asin_test_downward): Likewise.
68931         (asin_test_upward): Likewise.
68932         (main): Call the new functions.
68933         * sysdeps/i386/fpu/libm-test-ulps: Update.
68934         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68936         [BZ #13884]
68937         [BZ #13924]
68938         * math/e_exp10.c: Include <float.h>.
68939         (__ieee754_exp10): Handle underflow here rather than multiplying
68940         large negative argument by M_LN10.
68941         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
68942         of __ieee754_expf.
68943         * math/e_exp10l.c: Include <float.h>.
68944         (__ieee754_exp10l): Handle underflow here rather than multiplying
68945         large negative argument by M_LN10l.
68946         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
68947         spurious overflow exception on underflow.
68949 2012-04-29  Marek Polacek  <polacek@redhat.com>
68951         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
68952         (__fortify_function): New macro.
68953         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
68954         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
68955         __extern_always_inline.
68956         * libio/bits/stdio2.h: Likewise.
68957         * libio/bits/stdio.h: Likewise.
68958         * string/string.h: Likewise.
68959         * string/bits/string3.h: Likewise.
68960         * include/stdio.h: Likewise.
68961         * stdlib/bits/stdlib.h: Likewise.
68962         * stdlib/stdlib.h: Likewise.
68963         * rt/bits/mqueue2.h: Likewise.
68964         * rt/mqueue.h: Likewise.
68965         * posix/bits/unistd.h: Likewise.
68966         * posix/unistd.h: Likewise.
68967         * io/bits/poll2.h: Likewise.
68968         * io/bits/fcntl2.h: Likewise.
68969         * io/fcntl.h: Likewise.
68970         * io/sys/poll.h: Likewise.
68971         * misc/bits/syslog.h: Likewise.
68972         * misc/bits/syslog-ldbl.h: Likewise.
68973         * misc/sys/syslog.h: Likewise.
68974         * socket/bits/socket2.h: Likewise.
68975         * socket/sys/socket.h: Likewise.
68976         * debug/tst-chk1.c: Likewise.
68977         * wcsmbs/bits/wchar2.h: Likewise.
68978         * wcsmbs/bits/wchar-ldbl.h: Likewise.
68979         * wcsmbs/wchar.h: Likewise.
68981 2012-04-29  Andreas Jaeger  <aj@suse.de>
68983         * Makerules (tests): Remove enable-check-abi protection.
68984         (check-abi-warn): Remove.
68985         (check-abi-%): Remove check-abi-warn usage.
68987         * configure.in: Remove check-abi configure option.
68988         * configure: Regenerated.
68989         * config.make.in (enable-check-abi): Remove.
68991 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
68993         [BZ #14033]
68994         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
68995         double functions to double *_finite functions.
68997         [BZ #13941]
68998         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
68999         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
69000         LDBL_MIN_EXP.
69001         * stdio-common/Makefile (tests): Add tst-sprintf3.
69002         * stdio-common/tst-sprintf3.c: New file.
69004         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
69005         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
69007 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69009         * conform/conformtest.pl: Remove duplicate typed-constant
69010         handling.
69012 2012-04-28  David S. Miller  <davem@davemloft.net>
69014         * Makerules (%.abilist): Add vpath on sysdep_dirs.
69015         (check-abi-%): Remove AWK script prerequisite and explicit
69016         abilist directory.
69017         (check-abi): Rewrite to just diff the symlist with the abilist.
69018         (config-tls, config-abi-config): Delete, no longer used.
69019         (update-abi-%): Remove AWK script and explicit abilist directory.
69020         (update-abi): Rewrite to simply compare and conditionally copy the
69021         symlist and the sysdep abilist file.  Remove update-abi-config
69022         checks.
69023         * abilist/ld.abilist: Remove.
69024         * abilist/libBrokenLocale.abilist: Remove.
69025         * abilist/libanl.abilist: Remove.
69026         * abilist/libcrypt.abilist: Remove.
69027         * abilist/libdl.abilist: Remove.
69028         * abilist/librt.abilist: Remove.
69029         * abilist/libthread_db.abilist: Remove.
69030         * abilist/libutil.abilist: Remove.
69031         * scripts/extract-abilist.awk: Remove.
69032         * scripts/merge-abilist.awk: Remove.
69033         * sysdeps/generic/libcidn.abilist: New file.
69034         * sysdeps/generic/libnss_compat.abilist: New file.
69035         * sysdeps/generic/libnss_db.abilist: New file.
69036         * sysdeps/generic/libnss_dns.abilist: New file.
69037         * sysdeps/generic/libnss_files.abilist: New file.
69038         * sysdeps/generic/libnss_hesiod.abilist: New file.
69039         * sysdeps/generic/libnss_nis.abilist: New file.
69040         * sysdeps/generic/libnss_nisplus.abilist: New file.
69041         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
69042         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
69043         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
69044         file.
69045         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
69046         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
69047         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
69048         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
69049         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
69050         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
69051         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
69052         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
69053         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
69054         file.
69055         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
69056         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
69057         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
69058         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
69059         file.
69060         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
69061         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
69062         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
69063         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
69064         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
69065         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
69066         file.
69067         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
69068         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
69069         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
69070         file.
69071         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
69072         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
69073         New file.
69074         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
69075         New file.
69076         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
69077         New file.
69078         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
69079         New file.
69080         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
69081         New file.
69082         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
69083         New file.
69084         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
69085         New file.
69086         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
69087         New file.
69088         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
69089         New file.
69090         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
69091         New file.
69092         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
69093         New file.
69094         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
69095         New file.
69096         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
69097         New file.
69098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
69099         file.
69100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
69101         New file.
69102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
69103         New file.
69104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
69105         file.
69106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
69107         New file.
69108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
69109         New file.
69110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
69111         file.
69112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
69113         New file.
69114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69115         New file.
69116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
69117         New file.
69118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
69119         New file.
69120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
69121         New file.
69122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
69123         New file.
69124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
69125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
69126         file.
69127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
69128         New file.
69129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
69130         file.
69131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
69132         file.
69133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
69134         file.
69135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
69136         file.
69137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
69138         file.
69139         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69140         New file.
69141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
69142         file.
69143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
69144         file.
69145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
69146         New file.
69147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
69148         file.
69149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
69150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
69151         file.
69152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
69153         New file.
69154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
69155         file.
69156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
69157         file.
69158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
69159         file.
69160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
69161         file.
69162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
69163         file.
69164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69165         New file.
69166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
69167         file.
69168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
69169         file.
69170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
69171         New file.
69172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
69173         file.
69174         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69175         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
69176         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
69177         file.
69178         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
69179         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
69180         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
69181         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
69182         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
69183         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
69184         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
69185         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
69186         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
69187         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
69188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
69189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
69190         file.
69191         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
69192         New file.
69193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
69194         file.
69195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
69196         file.
69197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
69198         file.
69199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
69200         file.
69201         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
69202         file.
69203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
69204         New file.
69205         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
69206         New file.
69207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
69208         file.
69209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
69210         New file.
69211         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
69212         file.
69213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
69214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
69215         file.
69216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
69217         New file.
69218         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
69219         file.
69220         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
69221         file.
69222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
69223         file.
69224         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
69225         file.
69226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
69227         file.
69228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
69229         New file.
69230         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
69231         New file.
69232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
69233         file.
69234         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
69235         New file.
69236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
69237         file.
69239 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69241         * conform/conformtest.pl: Fix typo in handling typed-constant from
69242         allow-header.
69244 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69246         * README: Cut down references to pre-2.6 Linux kernels and
69247         Linuxthreads.  Update lists of configurations in libc and ports
69248         and sort alphabetically.  Say "or newer" with Linux kernel version
69249         requirements.
69251         * config.h.in [IS_IN_build]: Allow compiling without optimization.
69253 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69255         [BZ #887]
69256         * math/libm-test.inc (logb_test_downward): New test to expose
69257         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
69258         rounding mode.
69260 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69262         [BZ #14027]
69263         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
69264         to be done.
69265         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
69266         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
69268 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
69270         * sysdeps/unix/i386/brk.S: Remove file.
69271         * sysdeps/unix/i386/dl-brk.S: Likewise.
69272         * sysdeps/unix/i386/pipe.S: Likewise.
69273         * sysdeps/unix/i386/sigreturn.S: Likewise.
69274         * sysdeps/unix/i386/syscall.S: Likewise.
69275         * sysdeps/unix/i386/vfork.S: Likewise.
69276         * sysdeps/unix/i386/wait.S: Likewise.
69278         * sysdeps/unix/common/tcsendbrk.c: Move to ...
69279         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
69281         * configure.in (arm*-none*): Do not allow without
69282         --enable-hacker-mode.
69283         (netbsd*): Remove case setting base_os.
69284         (386bsd*): Likewise.
69285         (freebsd*): Likewise.
69286         (bsdi*): Likewise.
69287         (osf*): Likewise.
69288         (sunos*): Likewise.
69289         (ultrix*): Likewise.
69290         (newsos*): Likewise.
69291         (dynix*): Likewise.
69292         (*bsd*): Likewise.
69293         (sysv*): Likewise.
69294         (isc*): Likewise.
69295         (esix*): Likewise.
69296         (sco*): Likewise.
69297         (minix*): Likewise.
69298         (irix4*): Likewise.
69299         (irix6*): Likewise.
69300         (solaris[2-9]*): Likewise.
69301         (none): Likewise.
69302         * configure: Regenerated.
69304 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69306         [BZ #11521]
69307         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
69308         overflow or cancellation in calculating denominator.
69309         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
69310         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
69311         down expression to avoid unexpected rounding in newer GCCs.
69312         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
69314 2012-04-26  David S. Miller  <davem@davemloft.net>
69316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
69317         long-double compat symbols.
69318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
69322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
69324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
69325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
69326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
69327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
69328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
69329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
69330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69332 2012-04-25  David S. Miller  <davem@davemloft.net>
69334         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
69335         HWCAP_* values only after the memory barriers have been defined.
69336         (atomic_full_barrier): Define.
69337         (atomic_read_barrier): Define.
69338         (atomic_write_barrier): Define.
69340 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69342         * shlib-versions: Add libgcc_s version information.
69343         * sysdeps/generic/libgcc_s.h: Remove.
69344         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
69345         libgcc_s.h.
69346         * sysdeps/gnu/unwind-resume.c: Likewise.
69347         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
69349 2012-04-25  David S. Miller  <davem@davemloft.net>
69351         * sysdeps/unix/sparc/brk.S: Delete.
69352         * sysdeps/unix/sparc/dl-brk.S: Delete.
69353         * sysdeps/unix/sparc/pipe.S: Delete.
69354         * sysdeps/unix/sparc/sysdep.S: Delete.
69355         * sysdeps/unix/sparc/sysdep.h: Delete.
69356         * sysdeps/unix/sparc/vfork.S: Delete.
69357         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
69358         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
69359         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
69360         (ret_ERRVAL, r0, r1, MOVE): Define.
69361         (JUMPTARGET): Remove.
69362         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
69363         sysdeps/unix/sparc/sysdep.h
69364         (ENTRY, END): Remove.
69365         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69367 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
69369         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
69370         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
69371         -DIS_IN_build.
69373         * timezone/README: Update upstream location and email address for
69374         tzcode and tzdata.
69375         * timezone/zdump.c: Update from tzcode 2012b.
69376         * timezone/zic.c: Likewise.
69378         * configure.in (libc_cv_as_needed): Remove test.
69379         * configure: Regenerated.
69380         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
69381         conditional definition.
69382         [$(have-as-needed) != yes] (no-as-needed): Likewise.
69383         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
69384         * config.make.in (have-as-needed): Remove variable.
69386 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69387             Paul Pluzhnikov  <ppluzhnikov@google.com>
69389         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
69390         strings correctly.
69392 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
69394         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
69395         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
69396         * sysdeps/sh/strlen.S: Likewise.
69398 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69400         * sysdeps/unix/fork.S: Remove file.
69401         * sysdeps/unix/i386/fork.S: Likewise.
69402         * sysdeps/unix/sparc/fork.S: Likewise.
69404         * sysdeps/unix/system.c: Remove file.
69405         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
69407         * sysdeps/unix/getegid.S: Remove file.
69408         * sysdeps/unix/geteuid.S: Likewise.
69410 2012-04-24  Roland McGrath  <roland@hack.frob.com>
69412         * scripts/check-localplt.awk: New file.
69413         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
69414         of diff.
69415         * scripts/data/localplt-generic.data: Add a comment.
69417         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
69418         NODE when __dir_mkfile failed.
69419         * sysdeps/mach/hurd/symlinkat.c: Likewise.
69420         Reported by Ludovic Courtès <ludo@gnu.org>.
69422 2012-04-24  Andreas Jaeger  <aj@suse.de>
69424         * Makerules (common-clean): Also remove gen-as-const-headers
69425         files.
69427 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69429         * Makerules (native-compile): Do not change working directory for
69430         build.  Use $(OUTPUT_OPTION) in command.
69431         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
69433 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69435         [BZ #13886]
69436         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
69437         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
69438         * math/libm-test.inc (floor_test): Add more tests.
69439         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
69441 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69443         * sysdeps/unix/getdents.c: Remove file.
69444         * sysdeps/unix/sysv/getdents.c: Likewise.
69445         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
69447         * sysdeps/unix/syscalls.list (madvise): Add syscall from
69448         sysdeps/unix/mman/syscalls.list.
69449         (mmap): Likewise.
69450         (mprotect): Likewise.
69451         (msync): Likewise.
69452         (munmap): Likewise.
69453         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
69454         * sysdeps/unix/mman/syscalls.list: Remove.
69455         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
69457         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
69458         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
69459         * configure: Regenerated.
69460         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
69461         $(libgcc_s_suffix).
69462         * config.make.in (libgcc_s_suffix): Remove variable.
69464 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
69466         * sysdeps/unix/sysv/gethostname.c: Move to ...
69467         * sysdeps/posix/gethostname.c: ... here.
69469         * sysdeps/unix/execve.S: Remove file.
69471         * sysdeps/unix/_exit.S: Remove file.
69473 2012-04-23  Andreas Jaeger  <aj@suse.de>
69475         [BZ #13739]
69476         * manual/Makefile: Remove make dist support, there's no
69477         need for a stand-alone documentation tar ball.
69478         (TEXI2DVI): Define always, it's not in Makeconfig.
69479         (dist): Removed.
69480         (tar-it): Removed.
69481         (edition): Removed.
69482         (glibc-doc-$(edition).tar): Removed
69483         (%.Z): Removed.
69484         (%.gz): Removed.
69485         (%.uu): Removed.
69486         (ETAGS): Remove, it's in Makeconfig.
69487         (move-if-change): Remove, it's in Makeconfig.
69489 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
69491         [BZ #13970]
69492         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
69493         (strtod, strtof, strtold, strtol, strtoul, strtoq)
69494         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
69495         (strtod_l, strtof_l, strtold_l): Remove __wur.
69496         It is not necessarily an error to ignore strtol's return value.
69497         One can reliably look at the stored endptr to decide whether
69498         the number had valid syntax.
69500 2012-04-21  Andreas Jaeger  <aj@suse.de>
69502         [BZ #13739]
69503         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
69505 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
69507         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
69508         * sysdeps/unix/sysv/Versions: Remove file.
69510 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
69512         [BZ #13927]
69513         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69515 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
69517         [BZ #7064]
69518         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
69519         version from __vm86.
69521 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
69523         * sysdeps/unix/common/lxstat.c: Remove file.
69524         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
69526         * sysdeps/unix/sysv/Makefile: Remove file.
69528         * sysdeps/unix/sysv/direct.h: Remove file.
69530         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
69531         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
69532         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
69533         * sysdeps/unix/sysv/bits/signum.h: Likewise.
69534         * sysdeps/unix/sysv/bits/stat.h: Likewise.
69535         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
69536         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
69538         * sysdeps/unix/sysv/setrlimit.c: Remove file.
69540         * sysdeps/unix/xmknod.c: Remove file.
69541         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
69543         * sysdeps/unix/sysv/settimeofday.c: Remove file.
69545         * sysdeps/unix/sysv/i386/time.S: Remove file.
69547         * sysdeps/unix/fxstat.c: Remove file.
69548         * sysdeps/unix/xstat.c: Likewise.
69549         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
69551         * sysdeps/unix/sysv/sigaction.c: Remove file.
69553         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
69554         (sysdep_headers): Remove variable.
69555         [termio.h not in sysdep_headers] (generated): Likewise.
69556         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
69557         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
69558         * sysdeps/unix/sysv/tcdrain.c: Likewise.
69559         * sysdeps/unix/sysv/tcflow.c: Likewise.
69560         * sysdeps/unix/sysv/tcflush.c: Likewise.
69561         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
69562         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
69563         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
69564         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
69565         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
69567         * sysdeps/unix/siglist.c: Remove file.
69569         * sysdeps/unix/getppid.S: Remove file.
69571         * sysdeps/unix/mkdir.c: Remove file.
69572         * sysdeps/unix/rmdir.c: Likewise.
69574 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
69576         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
69577         ERR_MAX value.
69578         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
69579         errlist-compat value.
69581 2012-04-18  David S. Miller  <davem@davemloft.net>
69583         * sysdeps/generic/memcopy.h (reg_char): Delete.
69584         * debug/strcat_chk.c: Use char, not reg_char.
69585         * debug/strcpy_chk.c: Likewise.
69586         * debug/strncat_chk.c: Likewise.
69587         * debug/strncpy_chk.c: Likewise.
69588         * string/memchr.c: Likewise.
69589         * string/memrchr.c: Likewise.
69590         * string/rawmemchr.c: Likewise.
69591         * string/strcat.c: Likewise.
69592         * string/strchr.c: Likewise.
69593         * string/strchrnul.c: Likewise.
69594         * string/strcmp.c: Likewise.
69595         * string/strcpy.c: Likewise.
69596         * string/strncat.c: Likewise.
69597         * string/strncmp.c: Likewise.
69598         * string/strncpy.c: Likewise.
69600 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69602         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
69603         __builtin_memcopy is called when src and dest ranges are known to not
69604         overlap.
69606 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69608         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
69609         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
69610         fwd_align_merge macro call.
69611         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
69612         bwd_align_merge macro call.
69613         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69615 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69617         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
69618         bwd_align_merge macros.
69619         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
69620         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
69621         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69623 2012-04-18  David S. Miller  <davem@davemloft.net>
69625         * sysdeps/sparc/sparc64/memcopy.h: Delete.
69627 2012-04-18  Andreas Jaeger  <aj@suse.de>
69629         [BZ# 6794]
69630         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
69631         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
69632         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69634         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
69635         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
69636         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69638         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
69639         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
69640         Adjust for changed ldbl-128 files.
69642         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
69643         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
69644         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69646 2012-04-17  David S. Miller  <davem@davemloft.net>
69648         * sysdeps/sparc/sparc32/memcopy.h: Delete.
69650 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
69652         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
69653         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
69654         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
69655         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
69656         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
69657         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
69659 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69661         [BZ #6794]
69662         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
69663         * math/libm-test.inc: Add ilogb errno and exception tests.
69664         * math/w_ilogb.c: New file: ilogb wrapper.
69665         * math/w_ilogbf.c: New file: ilogbf wrapper.
69666         * math/w_ilogbl.c: New file: ilogbl wrapper.
69667         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
69668         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
69669         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
69670         exception being thrown with 0.0 as argument.
69671         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
69672         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
69673         exception being thrown with 0.0 as argument.
69674         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
69675         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69676         exception being thrown with 0.0 as argument.
69677         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
69678         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69679         exception being thrown with 0.0 as argument.
69680         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
69681         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
69682         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
69683         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
69684         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
69685         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
69686         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
69687         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
69688         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
69690 2012-04-17  Petr Baudis  <pasky@ucw.cz>
69692         * include/sys/uio.h: Change __vector to __iovec to avoid clash
69693         with altivec.
69695 2012-04-16  Marek Polacek  <polacek@redhat.com>
69697         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
69699 2012-04-16  Marek Polacek  <polacek@redhat.com>
69701         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
69702         operands of fdivp instruction.
69704 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69706         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
69707         * elf/tst-auditmod3b.c: Likewise.
69708         * elf/tst-auditmod4b.c: Likewise.
69709         * elf/tst-auditmod5b.c: Likewise.
69710         * elf/tst-auditmod6b.c: Likewise.
69711         * elf/tst-auditmod6c.c: Likewise.
69712         * elf/tst-auditmod7b.c: Likewise.
69713         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
69714         * sysdeps/x86_64/preconfigure.in: Likewise.
69715         * sysdeps/x86_64/preconfigure: Regenerated.
69717 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69719         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
69720         __ILP32__.
69722 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
69724         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69725         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
69727 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
69729         [BZ #13973]
69730         * locale/iso-639.def: Fix gl language name. Spotted by
69731         Yaron Shahrabani.
69733 2012-04-12  Roland McGrath  <roland@hack.frob.com>
69735         [BZ #2074]
69736         * libio/libio.h (__io_write_fn): Update comment.
69738 2012-04-12  Petr Baudis  <pasky@ucw.cz>
69740         [BZ #2074]
69741         * stdio.texi (Hook Functions): The user provided writer function
69742         is not allowed to return -1.
69744 2012-04-11  David S. Miller  <davem@davemloft.net>
69746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69748 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
69750         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
69751         Add a leading slash to rtkaio.
69753 2012-04-11  Jim Meyering  <meyering@redhat.com>
69755         [BZ #11959]
69756         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
69757         It is not necessarily an error to ignore fwrite's return
69758         value.  One can reliably use ferror to test for errors after
69759         the fact.
69761 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69763         * bits/types.h (__snseconds_t): New type.
69764         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
69766         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
69767         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69768         (__SNSECONDS_T_TYPE): Likewise.
69769         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69770         (__SNSECONDS_T_TYPE): Likewise.
69771         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69772         (__SNSECONDS_T_TYPE): Likewise.
69774 2012-04-10  Andreas Jaeger  <aj@suse.de>
69776         [BZ #2636]
69777         * manual/time.texi (Processor Time): Return type of times is
69778         elapsed real time since an arbitrary point in the past.
69779         (CPU Time): Move CLK_TCK from here...
69780         (Processor Time): ...to here.  Correct description.
69781         * manual/conf.texi (Constants for Sysconf): Correct description of
69782         _SC_CLK_TCK.
69784 2012-04-10  David S. Miller  <davem@davemloft.net>
69786         [BZ #13967]
69787         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
69788         where the is a gap between DT_REL(A) and DT_JMPREL.
69790 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69792         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
69793         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69794         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69796 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69798         * elf/dl-support.c (_dl_inhibit_cache): New variable.
69799         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
69800         (dl_main): Handle --inhibit-cache.
69801         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
69802         _dl_inhibit_cache.
69803         * elf/dl-load.c (_dl_map_object): Use it.
69804         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
69806 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69808         [BZ #13872]
69809         * sysdeps/i386/fpu/e_powl.S (p78): New object.
69810         (__ieee754_powl): Saturate large exponents rather than testing for
69811         overflow of y*log2(x).
69812         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69813         * math/libm-test.inc (pow_test): Do not permit spurious overflow
69814         exceptions.
69816         [BZ #11521]
69817         * math/s_ctan.c: Include <float.h>.
69818         (__ctan): Avoid internal overflow or cancellation in calculating
69819         denominator.
69820         * math/s_ctanf.c: Likewise.
69821         * math/s_ctanl.c: Likewise.
69822         * math/s_ctanh.c: Likewise.
69823         * math/s_ctanhf.c: Likewise.
69824         * math/s_ctanhl.c: Likewise.
69825         * math/libm-test.inc (ctan_test): Add more tests.
69826         (ctanh_test): Likewise.
69827         * sysdeps/i386/fpu/libm-test-ulps: Update.
69828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69830 2012-04-09  Andreas Jaeger  <aj@suse.de>
69832         [BZ #6894]
69833         * manual/filesys.texi (Directory Entries): Mention that d_namlen
69834         is an optional BSD extension.
69836         [BZ #10254]
69837         * manual/stdio.texi (Opening Streams): Document additional fopen
69838         parameters.
69840 2012-04-09  Roland McGrath  <roland@hack.frob.com>
69842         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
69843         %eax without telling the compiler.
69845 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
69847         [BZ # 13963]
69848         * manual/install.texi: Use sourceware.org.
69850 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69852         [BZ #13873]
69853         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
69854         (__ieee754_pow): Generate overflow and underflow using huge*huge
69855         and tiny*tiny rather than just returning constant infinity or zero
69856         for large exponents.
69857         * math/libm-test.inc (pow_test): Require overflow exceptions for
69858         applicable cases of large exponents.
69860         [BZ #706]
69861         * sysdeps/i386/fpu/e_pow.S (p10): New object.
69862         (__ieee754_pow): Use iterative multiplication algorithm only for
69863         integer exponents with absolute value below 1024.  Check for odd
69864         integer exponents when using algorithm for real exponents.
69865         * math/libm-test.inc (pow_test): Add more tests.
69866         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69868 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
69870         [BZ #13705]
69871         * math/libm-test.inc (exp_test): Do not allow overflow exception
69872         on underflow test.
69874 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
69876         [BZ #13705]
69877         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
69878         instead of __kernel_standard_f.
69880 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
69882         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69883         * sysdeps/x86_64/memset_chk.S: Likewise.
69885 2012-04-08  Andreas Jaeger  <aj@suse.de>
69887         [BZ #10153]
69888         * manual/startup.texi (Environment Access): Describe return value
69889         for putenv and setenv.
69891         [BZ #6895]
69892         * manual/filesys.texi (Directory Entries): Add description for
69893         DT_LNK.
69895         [BZ #6890]
69896         * manual/filesys.texi (Directory Entries): Clarify that it's file
69897         system not operating system in the description of DT_UNKNOWN.
69899         [BZ #6578]
69900         * manual/syslog.texi (closelog): Fix reference, it's openlog.
69902 2012-04-08  Stephen Compall  <s11@member.fsf.org>
69904         [BZ #6649]
69905         * manual/llio.texi (Opening and Closing Files): Add cross
69906         reference to explain mode argument.
69908 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
69910         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
69911         * sysdeps/x86_64/memset_chk.S: Likewise.
69913 2012-04-07  David S. Miller  <davem@davemloft.net>
69915         * elf/elf.h (R_SPARC_WDISP10): Define.
69916         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
69917         R_SPARC_SIZE32.
69918         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
69919         R_SPARC_SIZE64 and R_SPARC_H34.
69921 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
69923         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
69924         conditions and remove no longer applicable assertion.
69926 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69928         * bits/byteswap.h: Include <features.h>.
69929         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69930         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69932 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69934         * bits/byteswap.h (__bswap_16): Removed.
69935         Include <bits/byteswap-16.h> to get __bswap_16.
69936         * sysdeps/i386/bits/byteswap.h: Likewise.
69937         * sysdeps/s390/bits/byteswap.h: Likewise.
69938         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69939         * bits/byteswap-16.h: New file.
69940         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69941         * sysdeps/s390/bits/byteswap-16.h: Likewise.
69942         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
69943         * string/Makefile (headers): Add bits/byteswap-16.h.
69945 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69947         [BZ #13895]
69948         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
69949         extra indirection.
69950         * nss/Makefile (tests-static, tests): Add tst-nss-static.
69951         * nss/tst-nss-static.c: New.
69953 2012-04-06  Robert Millan  <rmh@gnu.org>
69955         [BZ #6486]
69956         * manual/llio.texi (File Position Primitive): lseek
69957         refers to WHENCE when it really means OFFSET.
69959 2012-04-06  Andreas Jaeger  <aj@suse.de>
69961         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
69962         strncmp declarations.
69964         * abilist/libc.abilist: Add __poll and __ppoll.
69966 2012-04-05  David S. Miller  <davem@davemloft.net>
69968         * scripts/check-local-headers.sh: Accept a host triplet in the
69969         path matched by the exclude regexp.
69971         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
69972         definition.
69973         * sysdeps/powerpc/powerpc32/dl-machine.h
69974         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
69975         * sysdeps/s390/s390-32/dl-machine.h
69976         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69977         * sysdeps/sparc/sparc32/dl-machine.h
69978         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69979         * sysdeps/sparc/sparc64/dl-machine.h
69980         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69982         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
69983         lazy binding.
69984         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
69985         undefined symbol errors.
69987         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
69988         DT_NEEDED entries.
69990 2012-04-05  Michael Matz  <matz@suse.de>
69992         [BZ #13592]
69993         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
69995 2012-04-05  Andreas Jaeger  <aj@suse.de>
69997         [BZ #13908]
69998         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
69999         comment.
70001 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70003         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
70004         which ROUND is no valid rounding mode.
70006 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70008         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
70009         read again.
70010         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
70012 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70014         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
70015         an exception using FPU order intentionally.
70017 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70019         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
70020         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
70021         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
70022         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
70024 2012-04-05  Simon Josefsson  <simon@josefsson.org>
70026         [BZ #12340]
70027         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
70028         EINVAL when BUFLEN is too smal.
70030 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
70032         [BZ #13553]
70033         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
70034         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
70036 2012-04-03  Andreas Jaeger  <aj@suse.de>
70038         [BZ #13938]
70039         * manual/setjmp.texi (System V contexts): Fix sentence.
70041         [BZ #13926]
70042         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
70043         New macro for this case.
70044         [!__GNUC__] (__bswap_64): New inline function for this case.
70045         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70046         * bits/byteswap.h: Likewise.
70047         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
70048         ull, guard with __GLIBC_HAVE_LONG_LONG.
70050         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
70051         __GLIBC_HAVE_LONG_LONG.
70053         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
70054         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
70056 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70058         [BZ #13691]
70059         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
70060         inptr and inend, rather than using last_ch.
70062 2012-04-02  David S. Miller  <davem@davemloft.net>
70064         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
70065         * stdio-common/printf-parse.h (read_int): Change return type to
70066         'int', return -1 on INT_MAX overflow.
70067         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
70068         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
70069         overflows INT_MAX.  Check for overflow of in-format-string precision
70070         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
70071         SIZE_MAX not INT_MAX for integer overflow test.
70072         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
70073         skip the construct in the format string but do not record anything.
70074         * stdio-common/bug22.c: Adjust to test both width/prevision
70075         INT_MAX overflow as well as total length INT_MAX overflow.  Check
70076         explicitly for proper errno values.
70078 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
70080         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
70081         CHAR_MAX.
70082         * string/test-strcmp.c [! WIDE]: Likewise.
70083         * time/tst-mktime2.c: Likewise for INT_MAX.
70084         * string/test-string.h: #include <sys/param.h> for MIN.
70086         * csu/init-first.c (__libc_init_first): Call __ctype_init.
70087         * sysdeps/i386/init-first.c (init): Likewise.
70088         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
70089         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
70090         * sysdeps/sh/init-first.c (init): Likewise.
70092 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
70094         * po/ru.po: Update from translation team.
70095         * po/vi.po: Likewise.
70097 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
70099         * resolv/nss_dns/dns-host.c: Merge copyright years.
70101 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70103         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70104         Optimize memcpy with prefetch if
70105         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
70106         src, dst pointers have unequal 16 byte alignments.
70108 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
70110         [BZ #13928]
70111         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
70112         from a CNAME entry and return the minimum ttl for the query.
70113         (gaih_getanswer_slice): Likewise.
70115 2012-03-30  Jeff Law  <law@redhat.com>
70117         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
70118         due to long keys.
70119         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
70120         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
70122         * resolv/nss_dns/dns-host.c: Update copyright year.
70124 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
70126         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
70127         requests to save a system call.  Fix check that all bytes are sent.
70129         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
70130         comments for sendmmsg.
70132 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70134         [BZ #13691]
70135         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
70136         with only 1 character between 0x0041 and 0x01b0.
70137         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
70138         * wcsmbs/tst-mbsnrtowcs.c: New file.
70140 2012-03-29  David S. Miller  <davem@davemloft.net>
70142         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
70143         small copies by hand.
70145 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70147         [BZ #13761]
70148         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
70149         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
70150         group memberships.
70152 2012-03-28  David S. Miller  <davem@davemloft.net>
70154         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
70155         that branches into memcpy.
70156         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
70157         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
70158         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
70159         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
70160         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
70161         bits.
70162         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
70163         implementation too.
70164         * sysdeps/sparc/mempcpy.S: New file.
70166         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
70167         the IFUNC routine in the libc case.
70168         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70170         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
70171         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
70172         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
70173         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
70174         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
70175         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
70176         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
70177         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
70179         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
70180         loop to 256 bytes instead of 64 bytes and fix test signedness.
70182         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
70183         * sysdeps/sparc/sparc32/Makefile: rather than here...
70184         * sysdeps/sparc/sparc64/Makefile: and here.
70186 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
70188         * malloc/mallocbug.c: Avoid warnings about unused variables.
70190 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
70192         [BZ #13760]
70193         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
70194         in the right place. Discard and retry query if response is
70195         larger than input buffer size.
70197 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
70199         [BZ #369]
70200         [BZ #2678]
70201         [BZ #3866]
70202         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
70203         x for large integer exponent.
70204         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
70205         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
70206         sign of result as needed afterwards.
70207         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
70208         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
70209         result for underflowing pow the same as for overflow.
70210         (__kernel_standard_l): Handle powl overflow and underflow here
70211         rather than calling __kernel_standard.
70212         * math/libm-test.inc (pow_test): Add more tests.
70214         [BZ #3868]
70215         [BZ #13879]
70216         [BZ #13910]
70217         [BZ #13911]
70218         [BZ #13912]
70219         [BZ #13913]
70220         [BZ #13915]
70221         [BZ #13916]
70222         [BZ #13917]
70223         [BZ #13918]
70224         [BZ #13919]
70225         [BZ #13920]
70226         [BZ #13921]
70227         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
70228         * sysdeps/ieee754/k_standard.c: Include <float.h>.
70229         (__kernel_standard_l): New function.
70230         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
70231         __kernel_standard.
70232         * math/w_acosl.c (__acosl): Likewise.
70233         * math/w_asinl.c (__asinl): Likewise.
70234         * math/w_atan2l.c (__atan2l): Likewise.
70235         * math/w_atanhl.c (__atanhl): Likewise.
70236         * math/w_coshl.c (__coshl): Likewise.
70237         * math/w_exp10l.c (__exp10l): Likewise.
70238         * math/w_exp2l.c (__exp2l): Likewise.
70239         * math/w_fmodl.c (__fmodl): Likewise.
70240         * math/w_hypotl.c (__hypotl): Likewise.
70241         * math/w_j0l.c (__j0l, __y0l): Likewise.
70242         * math/w_j1l.c (__j1l, __y1l): Likewise.
70243         * math/w_jnl.c (__jnl, __ynl): Likewise.
70244         * math/w_lgammal.c (__lgammal): Likewise.
70245         * math/w_log10l.c (__log10l): Likewise.
70246         * math/w_log2l.c (__log2l): Likewise.
70247         * math/w_logl.c (__logl): Likewise.
70248         * math/w_powl.c (__powl): Likewise.
70249         * math/w_remainderl.c (__remainderl): Likewise.
70250         * math/w_scalbl.c (sysv_scalbl): Likewise.
70251         * math/w_sinhl.c (__sinhl): Likewise.
70252         * math/w_sqrtl.c (__sqrtl): Likewise.
70253         * math/w_tgammal.c (__tgammal): Likewise.
70254         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
70255         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
70256         * math/libm-test.inc (acos_test): Add more tests.
70257         (acosh_test): Likewise.
70258         (asin_test): Likewise.
70259         (atanh_test): Likewise.
70260         (exp_test): Likewise.
70261         (exp10_test): Likewise.
70262         (exp2_test): Likewise.
70263         (expm1_test): Likewise.
70264         (lgamma_test): Likewise.
70265         (log_test): Likewise.
70266         (log10_test): Likewise.
70267         (log1p_test): Likewise.
70268         (log2_test): Likewise.
70269         (pow_test): Do not allow some spurious overflow exceptions.
70270         (sqrt_test): Add more tests.
70271         (tgamma_test): Likewise.
70272         (y0_test): Likewise.
70273         (y1_test): Likewise.
70274         (yn_test): Likewise.
70276 2012-03-27  Anton Blanchard  <anton@samba.org>
70278         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
70279         MAP_HUGETLB.
70280         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70281         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70282         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70284 2012-03-27  David S. Miller  <davem@davemloft.net>
70286         * conform/Makefile: Run run-conformtest.sh using $(BASH).
70288         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
70289         have-as-vis3 check.
70291 2012-03-27  Andreas Jaeger  <aj@suse.de>
70293         * sysdeps/x86_64/elf/configure.in: Moved to ...
70294         * sysdeps/x86_64/configure.in: ... here.
70295         * sysdeps/x86_64/elf/start.S: Moved to ...
70296         * sysdeps/x86_64/start.S: ... here.
70297         * sysdeps/x86_64/elf/configure: Delete.
70299         * sysdeps/x86_64/configure.in: Merge contents from
70300         sysdeps/i386/configure.in (without i686 check).
70302         * sysdeps/i386/elf/Versions: Merge into ...
70303         * sysdeps/i386/Versions: ... this.
70304         * sysdeps/i386/elf/Versions: Delete file.
70305         * sysdeps/i386/elf/start.S: Moved to ...
70306         * sysdeps/i386/start.S: ...here.
70307         * sysdeps/i386/elf/configure.in: Merge into...
70308         * sysdeps/i386/configure.in: ...here.
70309         * sysdeps/i386/elf/configure.in: Delete file.
70310         * sysdeps/i386/elf/configure: Delete file.
70312         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
70313         * debug/backtracesyms.c: ... here.
70314         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
70315         * debug/backtracesymsfd.c: ... here.
70316         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
70317         * sysdeps/generic/ifunc-sel.h: ... here.
70319         * sysdeps/unix/i386/start.c: Delete file.
70320         * sysdeps/unix/sparc/start.c: Delete file.
70321         * sysdeps/unix/start.c: Delete file.
70323         * sysdeps/sh/elf/configure.in: Moved to ...
70324         * sysdeps/sh/configure.in: ... here.
70325         * sysdeps/sh/elf/start.S: Moved to ...
70326         * sysdeps/sh/start.S: ... here.
70327         * sysdeps/sh/elf/configure: Delete file.
70329         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
70330         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
70331         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
70332         * sysdeps/powerpc/powerpc64/entry.h: ... here.
70333         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
70334         * sysdeps/powerpc/powerpc64/start.S: here.
70335         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
70336         * sysdeps/powerpc/powerpc64/Makefile: ... this.
70337         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
70338         * sysdeps/powerpc/powerpc64/configure.in: ... this.
70339         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
70341         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
70342         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
70343         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
70344         * sysdeps/powerpc/powerpc32/start.S: ... here.
70345         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
70346         * sysdeps/powerpc/powerpc32/configure.in: ... this.
70347         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
70349         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
70350         * sysdeps/powerpc/ifunc-sel.h: ... here.
70351         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
70352         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
70354         * sysdeps/sparc/elf/configure.in: Moved to ...
70355         * sysdeps/sparc/configure.in: ... here.
70356         * sysdeps/sparc/elf/configure: Delete file.
70357         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
70358         * sysdeps/sparc/sparc32/start.S: ... here.
70359         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
70360         * sysdeps/sparc/sparc64/start.S: ... here.
70361         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
70362         * sysdeps/sparc/sparc32/Makefile: ... this.
70363         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
70364         * sysdeps/sparc/sparc64/Makefile: ... this.
70366         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
70367         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
70368         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
70369         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
70370         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
70371         * sysdeps/s390/s390-32/setjmp.S: ... here.
70372         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
70373         * sysdeps/s390/s390-32/configure.in: ... here.
70374         * sysdeps/s390/s390-32/elf/configure: Delete file.
70375         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
70376         * sysdeps/s390/s390-32/start.S: ... here.
70378         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
70379         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
70380         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
70381         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
70382         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
70383         * sysdeps/s390/s390-64/setjmp.S: ... here.
70384         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
70385         * sysdeps/s390/s390-64/configure.in: ... here
70386         * sysdeps/s390/s390-64/elf/configure: Delete file.
70387         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
70388         * sysdeps/s390/s390-64/start.S: ... here.
70389         * sysdeps/s390/s390-64/elf/configure: Delete.
70391         * configure.in: Remove support for elf directories in sysdeps.
70393         * configure: Regenerated.
70394         * sysdeps/i386/configure: Regenerated.
70395         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70396         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70397         * sysdeps/s390/s390-32/configure: Regenerated.
70398         * sysdeps/s390/s390-64/configure: Regenerated.
70399         * sysdeps/sh/configure: Regenerated.
70400         * sysdeps/sparc/configure: Regenerated.
70401         * sysdeps/x86_64/configure: Regenerated.
70403 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
70405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70407         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
70408         denormal result into account.
70410 2012-03-25  Roland McGrath  <roland@hack.frob.com>
70412         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
70413         Reported by Allan McRae <allan@archlinux.org>.
70415 2012-03-23  Jeff Law  <law@redhat.com>
70417         * nss/getnssent.c (__nss_getent): Fix typo.
70419 2012-03-23  David S. Miller  <davem@davemloft.net>
70421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70423 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
70425         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
70426         to pad to uint64_t for each field.
70427         (dl_tls_index): Replace unsigned long with uint64_t.
70429 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
70430         Paul Pluzhnikov  <ppluzhnikov@google.com>
70432         [BZ #6528]
70433         * grp/Makefile (otherlibs): Don't set it.
70434         * inet/Makefile (otherlibs): Likewise.
70435         * login/Makefile (otherlibs): Likewise.
70436         * nscd/Makefile (otherlibs): Likewise.
70437         * posix/Makefile (otherlibs): Likewise.
70438         * pwd/Makefile (otherlibs): Likewise.
70439         * rt/Makefile (otherlibs): Likewise.
70440         * sunrpc/Makefile (otherlibs): Likewise.
70441         * nss/Makefile (otherlibs): Likewise.
70442         Add libnss_files to routines and static-only-routines.
70443         ($(objpfx)getent): Remove rule.
70444         * resolv/Makefile: Add libnss_dns and libresolv to routines and
70445         static-only-routines.
70447 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70449         [BZ #13892]
70450         * math/s_cexp.c: Include <float.h>.
70451         (__cexp): Handle exp result overflowing not necessarily
70452         overflowing both real and imaginary parts of result.
70453         * math/s_cexpf.c: Likewise.
70454         * math/s_cexpl.c: Likewise.
70455         * math/libm-test.inc (cexp_test): Add more tests.
70456         * sysdeps/i386/fpu/libm-test-ulps: Update.
70457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70459 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70461         * include/link.h (ELFW): New macro.
70462         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
70463         Replace ELF64_R_TYPE with ELFW(R_TYPE).
70465 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70467         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
70468         with uint64_t.
70470 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70472         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
70473         declaration.
70474         (struct La_x32_retval): Likewise.
70476 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70478         * sysdeps/x86_64/preconfigure.in: New file.
70479         * sysdeps/x86_64/preconfigure: New generated file.
70481 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70483         [BZ #13824]
70484         * math/e_exp2l.c: Include <float.h>.
70485         (__ieee754_exp2l): Handle overflow and underflow cases
70486         separately.  Only pass fractional part of argument to
70487         __ieee754_expl.
70488         * math/libm-test.inc (exp2_test): Add more tests.
70490         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
70491         negating x to take absolute value.
70492         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
70493         Likewise.
70494         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
70495         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
70496         Likewise.
70497         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
70498         computing low part if x was negated.
70499         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
70501 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70503         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
70504         la_x32_gnu_pltexit.
70505         (pltexit): Cast int_retval to ptrdiff_t.
70506         * elf/tst-auditmod3b.c: Likewise.
70507         * elf/tst-auditmod4b.c: Likewise.
70508         * elf/tst-auditmod5b.c: Likewise.
70509         * elf/tst-auditmod6b.c: Likewise.
70510         * elf/tst-auditmod6c.c: Likewise.
70511         * elf/tst-auditmod7b.c: Likewise.
70513         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
70514         and x32_gnu_pltexit.
70516         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
70517         __ELF_NATIVE_CLASS.
70518         (La_x32_regs): New macro.
70519         (La_x32_retval): Likewise.
70520         (la_x32_gnu_pltenter): New function prototype.
70521         (la_x32_gnu_pltexit): Likewise.
70523 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
70525         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
70526         exponent.
70528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70530         * configure.in (libc_cv_cc_nofma): Check for option to disable
70531         generation of FMA instructions.
70532         * configure: Regenerate.
70533         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
70534         * sysdeps/ieee754/dbl-64/Makefile: New file.
70535         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
70536         Remove brandred-fma4.
70537         (CFLAGS-brandred-fma4.c): Remove.
70538         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
70539         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
70540         define.
70541         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
70542         define.
70544 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70546         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70547         LLONG_MAX != LONG_MAX.
70548         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70549         (_fitoa_word): Likewise.
70550         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
70551         LLONG_MAX != LONG_MAX.
70552         * stdio-common/_itowa.h: Include <_itoa.h>.
70553         (_itowa_word): Use _ITOA_WORD_TYPE on value.
70554         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
70555         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
70556         only if not defined.
70557         (_ITOA_WORD_TYPE): Likewise.
70558         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70559         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
70561 2012-03-21  David S. Miller  <davem@davemloft.net>
70563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70565 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70567         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
70568         of x86_64 when setting libc_cv_slibdir, libdir and
70569         libc_cv_localedir.
70570         * sysdeps/unix/sysv/linux/configure: Regenerated.
70572 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70574         * manual/lang.texi (Old Varargs): Remove section.
70575         (How Variadic): Update menu.
70576         (va_start): Do not mention varargs.h.
70578 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70579             Joseph Myers  <joseph@codesourcery.com>
70581         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
70582         link test.
70583         * configure: Regenerated.
70585 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70587         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
70588         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
70589         conformtest.pl
70591 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70593         * NOTES: Remove.
70594         * Makefile (files-for-dist): Remove NOTES.
70595         (NOTES): Remove rule.
70596         * README: Don't refer to NOTES.
70597         * manual/creature.texi: Don't include macros.texi.
70598         * manual/intro.texi (creature.texi): Remove comment referring to
70599         NOTES.
70601         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
70602         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
70603         * configure: Regenerated.
70604         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
70605         LIBC_TRY_CC_OPTION.
70606         (libc_cv_as_i686): Likewise.
70607         (libc_cv_cc_avx): Likewise.
70608         (libc_cv_cc_sse2avx): Likewise.
70609         (libc_cv_cc_fma4): Likewise.
70610         (libc_cv_cc_novzeroupper): Likewise.
70611         * sysdeps/i386/configure: Regenerated.
70613         [BZ #13883]
70614         * sysdeps/i386/fpu/s_cexp.S: Remove.
70615         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70616         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70617         * math/libm-test.inc (cexp_test): Add more tests.
70618         * sysdeps/i386/fpu/libm-test-ulps: Update.
70619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70621 2012-03-21  Allan McRae  <allan@archlinux.org>
70623         * timezone/Makefile: Do not install iso3166.tab and zone.tab
70625 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70627         [BZ #13871]
70628         * math/w_exp2.c: Do not include <float.h>.
70629         (o_threshold, u_threshold): Remove.
70630         (__exp2): Calculate result before checking finiteness and calling
70631         __kernel_standard.
70632         * math/w_exp2f.c: Likewise.
70633         * math/w_exp2l.c: Likewise.
70634         * math/libm-test.inc (exp2_test): Require overflow exception for
70635         1e6 input.
70637         [BZ #3866]
70638         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
70639         range of signed 64-bit integers before using fistpll.  Remove
70640         checks for whether integers fit in mantissa bits.
70641         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
70642         the range of signed 32-bit integers before using fistpl.  Remove
70643         checks for whether integers fit in mantissa bits.
70644         * sysdeps/i386/fpu/e_powl.S (p64): New object.
70645         (__ieee754_powl): Test for y outside the range of signed 64-bit
70646         integers before using fistpll.  Reduce 64-bit values to 63-bit
70647         ones as needed.
70648         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
70649         divide-by-zero is raised for zero to large negative powers.
70650         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
70651         (__ieee754_powl): Test for y outside the range of signed 64-bit
70652         integers before using fistpll.  Reduce 64-bit values to 63-bit
70653         ones as needed.
70654         * math/libm-test.inc (pow_test): Add more tests.
70656 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70658         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
70659         <stdio-common/_itoa.h>.
70660         * debug/segfault.c: Likewise.
70661         * elf/dl-cache.c: Likewise.
70662         * elf/dl-minimal.c: Likewise.
70663         * elf/dl-misc.c: Likewise.
70664         * elf/dl-sysdep.c: Likewise.
70665         * elf/dl-version.c: Likewise.
70666         * elf/rtld.c: Likewise.
70667         * hurd/hurdsock.c: Likewise.
70668         * hurd/lookup-retry.c: Likewise.
70669         * malloc/malloc.c: Likewise.
70670         * malloc/mtrace.c: Likewise.
70671         * nscd/nscd_getgr_r.c: Likewise.
70672         * nscd/nscd_getpw_r.c: Likewise.
70673         * nscd/nscd_getserv_r.c: Likewise.
70674         * posix/getopt_init.c: Likewise.
70675         * posix/wordexp.c: Likewise.
70676         * stdio-common/_itoa.c: Likewise.
70677         * stdio-common/printf_fphex.c: Likewise.
70678         * stdio-common/vfprintf.c: Likewise.
70679         * string/_strerror.c: Likewise.
70680         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
70681         * sysdeps/i386/i686/hp-timing.h: Likewise.
70682         * sysdeps/mach/_strerror.c: Likewise.
70683         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
70684         * sysdeps/mach/hurd/sethostid.c: Likewise.
70685         * sysdeps/mach/hurd/xmknodat.c: Likewise.
70686         * sysdeps/mach/xpg-strerror.c: Likewise.
70687         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70688         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70689         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
70690         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
70691         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70692         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
70693         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
70694         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
70695         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
70696         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
70697         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
70698         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
70699         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
70700         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
70701         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
70702         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
70703         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
70704         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
70705         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
70706         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
70707         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
70709         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
70711         * stdio-common/_itoa.h: Moved to ...
70712         * sysdeps/generic/_itoa.h: Here.
70714         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
70716         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
70717         instead of "_itoa.h" and "_itowa.h".
70718         * stdio-common/vfprintf.: Likewise.
70720 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70722         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
70723         <bits/wordsize.h>.
70724         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
70725         (__signbit): Likwise.
70726         (llrintf): Likwise.
70727         (llrint): Likwise.
70729 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70731         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
70732         __WORDSIZE != 64.
70734 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
70736         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
70737         OVERFLOW_EXCEPTION_OK.
70738         * math/libm-test.inc ("Philosophy"): Update comment about
70739         exception testing.
70740         (OVERFLOW_EXCEPTION): Define.
70741         (OVERFLOW_EXCEPTION_OK): Likewise.
70742         (INVALID_EXCEPTION_OK): Renumber.
70743         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70744         (IGNORE_ZERO_INF_SIGN): Likewise.
70745         (test_exceptions): Handle FE_OVERFLOW.
70746         (exp10_test): Expect overflow exceptions.
70747         (exp2_test): Likewise.
70748         (expm1_test): Likewise.
70749         (nextafter_test): Likewise.
70750         (pow_test): Likewise.
70751         (scalbn_test): Likewise.
70752         (scalbln_test): Likewise.
70754 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70756         * sysdeps/x86_64/bits/atomic.h
70757         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
70758         64bit integer.
70759         (atomic_exchange_acq): Likewise.
70760         (__arch_exchange_and_add_body): Likewise.
70761         (__arch_add_body): Likewise.
70762         (atomic_add_negative): Likewise.
70763         (atomic_add_zero): Likewise.
70765 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70767         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
70768         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
70770 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70772         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
70773         Check __x86_64__ instead of __WORDSIZE.
70775 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70777         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
70779 2012-03-19  David S. Miller  <davem@davemloft.net>
70781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70783         * sysdeps/sparc/fpu/fenv_private.h: New file.
70784         * sysdeps/sparc/fpu/math_private.h: Use it.
70785         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
70786         Remove.
70787         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
70788         (libc_feholdexcept_setroundl): Remove.
70789         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
70790         Remove.
70791         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
70792         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
70794 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70796         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
70797         int64_t instead of long int.
70798         (INSERT_WORDS64): Likwise.
70800 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70802         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
70803         _Unwind_GetCFA return to _Unwind_Ptr first.
70805 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
70807         [BZ #13629]
70808         * math/s_clog.c: Include <float.h>.
70809         (__clog): Scale large or subnormal inputs.
70810         * math/s_clogf.c: Likewise.
70811         * math/s_clogl.c: Likewise.
70812         * math/s_clog10.c: Include <float.h>.
70813         (M_LOG10_2): Define.
70814         (__clog10): Scale large or subnormal inputs.
70815         * math/s_clog10f.c: Likewise.
70816         * math/s_clog10l.c: Likewise.
70817         * math/libm-test.inc (clog_test): Add more tests.
70818         (clog10_test): Likewise.
70819         * sysdeps/i386/fpu/libm-test-ulps: Update.
70820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70822         [BZ #11451]
70823         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
70824         x and y.
70825         * math/libm-test.inc (atan2_test): Add another test.
70827         * Makerules (common-objdir-compile): Remove.
70828         * sysdeps/unix/Makefile (config-generated): Do not add
70829         $(unix-generated) to variable.
70830         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
70831         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
70832         Remove rule.
70833         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70834         Likewise.
70835         [generic bits/local_lim.h] (before-compile): Do not append to
70836         variable.
70837         [generic bits/local_lim.h] (common-generated): Likewise.
70838         [generic sys/param.h] (before-compile): Do not append to variable.
70839         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
70840         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
70841         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
70842         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
70843         include.
70844         [generic sys/param.h] (sys/param.h-includes): Remove variable.
70845         [generic sys/param.h] (sys/param.h-includes): Remove rule.
70846         [generic sys/param.h] ($(addprefix
70847         $(common-objpfx),$(sys/param.h-includes))): Likewise.
70848         [generic sys/param.h] (common-generated): Do not append to
70849         variable.
70850         [generic sys/param.h] (sysdep_headers): Likewise.
70851         [generic bits/errno.h] (before-compile): Do not append to
70852         variable.
70853         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
70854         rule.
70855         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
70856         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
70857         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
70858         [generic bits/errno.h] (common-generated): Do not append to
70859         variable.
70860         [generic bits/ioctls.h] (before-compile): Do not append to
70861         variable.
70862         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
70863         rule.
70864         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
70865         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
70866         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
70867         rule.
70868         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
70869         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
70870         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
70871         [generic bits/ioctls.h] (common-generated): Do not append to
70872         variable.
70873         [generic sys/syscall.h] (syscall.h): Remove variable.
70874         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
70875         rule.
70876         [generic sys/syscall.h] (before-compile): Do not append to
70877         variable.
70878         [generic sys/syscall.h] (common-generated): Likewise.
70879         * sysdeps/unix/errnos-tmpl.c: Remove file.
70880         * sysdeps/unix/errnos.awk: Likewise.
70881         * sysdeps/unix/ioctls-tmpl.c: Likewise.
70882         * sysdeps/unix/ioctls.awk: Likewise.
70883         * sysdeps/unix/mk-local_lim.c: Likewise.
70884         * sysdeps/unix/snarf-ioctls: Likewise.
70886 2012-03-19  Richard Henderson  <rth@twiddle.net>
70888         * sysdeps/i386/fpu/fenv_private.h: New file.
70889         * sysdeps/i386/fpu/math_private.h: Use it.
70890         (math_opt_barrier, math_force_eval): Remove.
70891         (libc_feholdexcept_setround_53bit): Remove.
70892         (libc_feupdateenv_53bit): Remove.
70893         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70894         (math_opt_barrier, math_force_eval): Remove.
70895         (libc_feholdexcept): Remove.
70896         (libc_feholdexcept_setround): Remove.
70897         (libc_fetestexcept, libc_fesetenv): Remove.
70898         (libc_feupdateenv_test): Remove.
70899         (libc_feupdateenv, libc_feholdsetround): Remove.
70900         (libc_feresetround): Remove.
70902         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
70903         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
70905         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
70906         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
70907         (libc_feupdateenv_testl): New.
70908         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
70909         (libc_feupdateenv_testf): New.
70910         (libc_feupdateenv): Use libc_feupdateenv_test.
70911         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
70912         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
70914         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
70915         (libc_feholdsetroundf, libc_feholdsetroundl): New.
70916         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
70917         (libc_feresetround_noex): New.
70918         (libc_feresetround_noexf): New.
70919         (libc_feresetround_noexl): New.
70920         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
70921         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
70922         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
70923         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
70924         SET_RESTORE_ROUND.
70925         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
70926         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
70927         (__cos): Likewise.
70928         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
70929         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
70930         SET_RESTORE_ROUND_NOEX.
70931         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
70932         SET_RESTORE_ROUND_NOEXF.
70933         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
70934         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
70935         (libc_feholdsetroundf): New.
70936         (libc_feresetround, libc_feresetroundf): New.
70938         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
70939         (libc_feholdexcept_setround_53bit): Convert from macro to function.
70940         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
70942         * sysdeps/generic/math_private.h: Include <fenv.h>.
70943         (default_libc_feholdexcept): New.
70944         (default_libc_feholdexcept_setround): New.
70945         (default_libc_fesetenv, default_libc_feupdateenv): New.
70946         (libc_feholdexcept): Only define if undefined.
70947         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
70948         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
70949         (libc_feholdexcept_setroundl): Likewise.
70950         (libc_feholdexcept_setround_53bit): Likewise.
70951         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
70952         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
70953         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
70954         (libc_feupdateenv_53bit): Likewise.
70955         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
70956         (libc_feholdexcept): Convert from macro to inline function.
70957         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
70958         (libc_fesetenv, libc_feupdateenv): Likewise.
70960         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
70961         not previously defined.
70962         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
70963         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
70964         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
70965         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
70966         * sysdeps/ieee754/flt-32/math_private.h: New file.
70967         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
70968         math_private.h below SET_FLOAT_WORD.
70969         (__isnan, __isinf_ns, __finite): Remove.
70970         (__isnanf, __isinf_nsf, __finitef): Remove.
70972 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
70974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70976 2012-03-17  David S. Miller  <davem@davemloft.net>
70978         [BZ #6471]
70979         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
70980         for 2.16.
70982 2012-03-16  David S. Miller  <davem@davemloft.net>
70984         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
70985         warnings.
70987         [BZ #6471]
70988         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
70989         properly.
70990         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
70991         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
70992         sysdep_routines when subdir is sysvipc.
70993         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
70994         __getshmlba helper.
70996         * sysdeps/sparc/fpu/libm-test/ulps: Update.
70998 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71000         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
71001         [__LP64__].
71003 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71005         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
71006         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
71007         (__lround): Renamed to ...
71008         (__llround): This.  Replace long int with long long int.
71009         Define lround functions as aliases of llround functions.
71010         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
71012 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71014         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
71015         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
71016         adresses to uintptr_t.  Replace "long int" and "unsigned long
71017         int" with "greg_t" on va_arg.
71019 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71021         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
71022         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
71024         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
71025         Move e_machine check before EI_CLASS check.  Handle x32
71026         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
71027         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
71028         SKIP_EM_IA_64 and include
71029         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
71031         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
71032         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
71033         (add_system_dir): New macro.
71035         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
71036         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
71038 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71040         [BZ #2551]
71041         [BZ #2552]
71042         [BZ #2553]
71043         [BZ #2554]
71044         [BZ #2562]
71045         [BZ #2563]
71046         [BZ #2565]
71047         [BZ #2566]
71048         [BZ #2576]
71049         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
71050         (y0): Likewise.
71051         * math/w_j0f.c (j0f): Likewise.
71052         (y0f): Likewise.
71053         * math/w_j0l.c (__j0l): Likewise.
71054         (__y0l): Likewise.
71055         * math/w_j1.c (j1): Likewise.
71056         (y1): Likewise.
71057         * math/w_j1f.c (j1f): Likewise.
71058         (y1f): Likewise.
71059         * math/w_j1l.c (__j1l): Likewise.
71060         (__y1l): Likewise.
71061         * math/w_jn.c (jn): Likewise.
71062         (yn): Likewise.
71063         * math/w_jnf.c (jnf): Likewise.
71064         (ynf): Likewise.
71065         * math/w_jnl.c (__jnl): Likewise.
71066         (__ynl): Likewise.
71067         * math/libm-test.inc (j0_test): Add more tests.
71068         (j1_test): Likewise.
71069         (jn_test): Likewise.  Add trailing semicolon to existing test.
71070         (y0_test): Likewise.
71071         (y1_test): Likewise.
71072         * sysdeps/i386/fpu/libm-test-ulps: Update.
71073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71075         [BZ #13851]
71076         [BZ #13854]
71077         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
71078         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
71079         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
71080         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
71081         (__tanl): Set errno for infinite argument.
71082         * sysdeps/i386/fpu/mptan.c: Remove.
71083         * sysdeps/i386/fpu/s_tan.S: Likewise.
71084         * sysdeps/i386/fpu/s_tanl.S: Likewise.
71085         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
71086         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
71087         * math/libm-test.inc (tan_test): Add more tests and enable more
71088         tests for double and long double.
71089         * sysdeps/i386/fpu/libm-test-ulps: Update.
71090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71092 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
71094         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
71095         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
71097 2012-03-16  Roland McGrath  <roland@hack.frob.com>
71099         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
71100         * configure.in: Use it for both main tree and add-ons.
71101         * configure: Regenerated.
71103 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71105         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
71107 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71109         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
71110         in comment.
71112         [BZ #13851]
71113         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
71114         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
71115         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
71116         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
71117         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
71118         infinite argument.
71119         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
71120         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
71121         != 0 for prec == 2.
71122         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
71123         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
71124         * sysdeps/i386/fpu/s_cosl.S: Likewise.
71125         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
71126         * sysdeps/i386/fpu/s_sinl.S: Likewise.
71127         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
71128         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
71129         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
71130         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
71131         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
71132         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
71133         * math/libm-test.inc (cos_test): Add more tests and enable more
71134         tests for long double.
71135         (sin_test): Likewise.
71136         (sincos_test): Likewise.
71137         * sysdeps/i386/fpu/libm-test-ulps: Update.
71138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71140 2012-03-16  David S. Miller  <davem@davemloft.net>
71142         * sysdeps/sparc/fpu/math_private.h: New file.
71144 2012-03-15  David S. Miller  <davem@davemloft.net>
71146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
71147         file.
71148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
71149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
71150         file.
71151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
71152         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
71153         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
71154         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
71155         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
71156         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
71157         sysdep routines.
71158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71160         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
71161         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
71163         * sysdeps/sparc/sparc-ifunc.h: New file.
71164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
71165         sparc-ifunc.h
71166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
71168         Likewise.
71169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
71170         Likewise.
71171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
71172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
71173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71175         Likewise.
71176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
71178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
71180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
71181         Likewise.
71182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
71183         Likewise.
71184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
71186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
71187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
71188         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71189         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71190         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
71191         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
71192         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71193         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71194         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
71195         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
71196         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
71197         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
71198         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
71199         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
71200         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
71201         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
71202         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
71203         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
71204         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
71205         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
71206         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
71207         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
71209 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71211         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
71212         scaling.
71213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71215 2012-03-15  Andreas Jaeger  <aj@suse.de>
71217         [BZ #13852]
71218         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
71219         ieee754/flt-32 implementation for sin, cos and sincos.
71220         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
71221         * sysdeps/i386/fpu/s_cosf.S: Likewise.
71222         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
71223         * sysdeps/i386/fpu/s_sinf.S: Likewise.
71224         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
71225         ieee754/flt-32 implementation for tan.
71227         * math/libm-test.inc (cos_test): Enable some large input tests for
71228         float as well
71229         (sin_test): Likewise.
71230         (sincos_test): Likewise.
71231         (tan_test): Add tests for large input.
71233         * sysdeps/i386/fpu/libm-test-ulps: Update.
71235 2012-03-15  Andreas Jaeger  <aj@suse.de>
71237         [BZ #13658]
71238         * math/libm-test.inc (cos_test): Add more test cases.
71239         (sin_test): Likewise.
71240         (sincos_test): Likewise.
71242 2012-03-15  Andreas Jaeger  <aj@suse.de>
71244         [BZ #13837]
71245         * math/libm-test.inc (cos_test): Add a test case for large input
71246         value.
71247         (sin_test): Likewise.
71248         (sincos_test): Likewise.
71250 2012-03-15  Andreas Jaeger  <aj@suse.de>
71251             Joseph Myers  <joseph@codesourcery.com>
71253         [BZ #13658]
71254         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
71255         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
71256         * sysdeps/i386/fpu/branred.c: Likewise.
71257         * sysdeps/i386/fpu/dosincos.c: Likewise.
71258         * sysdeps/i386/fpu/mpa.c: Likewise.
71259         * sysdeps/i386/fpu/s_cos.S: Likewise.
71260         * sysdeps/i386/fpu/s_sin.S: Likewise.
71261         * sysdeps/i386/fpu/s_sincos.S: Likewise.
71262         * sysdeps/i386/fpu/sincos32.c: Likewise.
71264         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
71265         Define.
71266         (libc_feupdateenv_53bit): Define.
71267         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
71268         Define.
71269         (libc_feupdateenv_53bit): Define.
71271         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
71272         53 bit (without extend i386 double precision).
71274         * math/libm-test.inc (sincos_test): Add tests for large input.
71275         (sin): Likewise.
71276         (cos): Likewise.
71278         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
71280 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71284 2012-03-15  David S. Miller  <davem@davemloft.net>
71286         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
71287         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
71288         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
71289         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
71290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
71291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
71292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
71293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
71294         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
71295         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
71296         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
71297         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
71298         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
71299         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
71300         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
71301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
71302         file.
71303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
71304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
71305         file.
71306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
71307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
71308         file.
71309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
71310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
71311         file.
71312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
71313         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
71314         fmin/fmax sysdep routines.
71315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71317 2012-03-14  David S. Miller  <davem@davemloft.net>
71319         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
71320         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
71321         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
71322         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
71323         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
71324         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
71325         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
71326         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
71327         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
71328         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
71329         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
71330         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
71331         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
71332         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
71333         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
71334         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
71335         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
71336         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
71337         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
71338         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
71339         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
71340         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
71341         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
71342         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
71343         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
71344         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
71345         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
71346         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
71347         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
71348         routines.
71349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
71350         file.
71351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
71352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
71353         file.
71354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
71355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
71356         file.
71357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
71358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
71359         file.
71360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
71361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
71362         file.
71363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
71364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
71365         file.
71366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
71367         file.
71368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
71369         file.
71370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
71371         file.
71372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
71373         New file.
71374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
71375         file.
71376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
71377         file.
71378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
71379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
71380         file.
71381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
71382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
71383         file.
71384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
71385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
71386         file.
71387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
71388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
71389         VIS3 routines.
71391         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71392         New file.
71394         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71396         * sysdeps/sparc/configure.in: New file.
71397         * sysdeps/sparc/configure: Generate.
71398         * configure.in (libc_cv_sparc_as_vis3): Substitute.
71399         * configure: Regenerate.
71400         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
71401         * config.make.in (have-as-vis3): New.
71402         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
71403         available use -Av9d instead of -Av9a.
71404         * sysdeps/sparc/sparc64/Makefile: Likewise.
71405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
71406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
71407         New file.
71408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
71409         file.
71410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
71411         New file.
71412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
71413         file.
71414         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
71415         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
71416         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
71417         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
71418         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
71420         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
71421         fzeros/fnegs to load 0x80000000 into a float register instead of
71422         using the stack.
71423         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
71425 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71427         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71428         bits/syscall.h.
71429         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
71430         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
71431         ($(inst_includedir)/bits/syscall.h): Remove rule.
71432         ($(objpfx)bits/syscall.d): Include instead of
71433         $(objpfx)syscall-list.d.
71434         (generated): Change syscall-list.h and syscall-list.d to
71435         bits/syscall.h and bits/syscall.d.
71437 2012-03-14  Roland McGrath  <roland@hack.frob.com>
71439         [BZ #13846]
71440         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
71442 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71444         [BZ #13841]
71445         * math/s_csqrt.c: Include <float.h>.
71446         (__csqrt): Scale large or subnormal inputs.
71447         * math/s_csqrtf.c: Likewise.
71448         * math/s_csqrtl.c: Likewise.
71449         * math/libm-test.inc (csqrt_test): Add more tests.
71450         * sysdeps/i386/fpu/libm-test-ulps: Update.
71451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71453         [BZ #13840]
71454         * math/libm-test.inc (hypot_test): Add more tests.
71456 2012-03-13  David S. Miller  <davem@davemloft.net>
71458         [BZ #13840]
71459         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
71460         double-precision for the calculation instead of scaling.
71462 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
71464         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
71465         manipulate bits before adding and subtracting TWO52[sx].
71466         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
71467         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
71468         Likewise.
71469         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
71471 2012-03-13  David S. Miller  <davem@davemloft.net>
71473         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
71474         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
71475         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
71476         rtld-global-offsets.h
71477         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71479         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
71480         large parameters.
71482         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
71484         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
71485         'err' in the ifdef scope in which it is actually used.
71487         * nss/nss_db/db-init.c: Include string.h
71489 2012-03-12  David S. Miller  <davem@davemloft.net>
71491         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71492         masking out of the most significant byte of random value used.
71493         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71494         Fix coding style in previous change.
71496         * sysdeps/unix/sysv/linux/kernel-features.h
71497         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
71498         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
71499         expression.
71500         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
71501         later.
71503 2012-03-11  David S. Miller  <davem@davemloft.net>
71505         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71506         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
71507         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
71508         for 'resultvar' otherwise things get truncated on 64-bit.
71510         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71511         Fix masking out of the most significant byte of random value used.
71513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71515 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
71517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71519 2012-03-09  David S. Miller  <davem@davemloft.net>
71521         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
71522         variables with appropriate CPP guards.
71523         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
71524         from the frame pointer, not the stack pointer.  Correct layout
71525         comments.  Fix test on resulting framesize and the management of
71526         the outregs buffer for pltexit.  Preserve floating point return
71527         values across _dl_call_pltexit call.
71528         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
71529         framesize and the management of the outregs buffer for pltexit.
71530         Preserve floating point return values across _dl_call_pltexit
71531         call.
71532         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
71533         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
71534         (la_sparc64_gnu_pltexit): New functions.
71535         (print_exit): Fix format string for return register value.
71537 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
71539         * sunrpc/Makefile (others): Add rpcgen.
71540         ($(objpfx)rpcgen): Remove special build rule and dependency on
71541         libc.
71542         * sunrpc/rpcgen.c: New file.
71544 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
71546         [BZ #13673]
71547         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
71548         * stdio-common/bug-vfprintf-nargs.c: Likewise.
71549         * sysdeps/i386/crti.S: Likewise.
71550         * sysdeps/i386/crtn.S: Likewise.
71551         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
71552         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
71553         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
71554         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
71555         * sysdeps/sh/crti.S: Likewise.
71556         * sysdeps/sh/crtn.S: Likewise.
71557         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71559         [BZ #13673]
71560         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
71561         with URL.
71562         * locale/programs/locfile-kw.gperf: Likewise.
71563         * locale/programs/charmap-kw.h: Regenerated.
71564         * locale/programs/locfile-kw.h: Likewise.
71566         [BZ #13673]
71567         * intl/plural.y: Replace FSF snail mail address with URL.
71568         * intl/plural.c: Regenerated.
71570 2012-03-09  Richard Henderson  <rth@twiddle.net>
71572         * include/math_private.h: Remove file.
71573         * math/math_private.h: Move file ...
71574         * sysdeps/generic/math_private.h: ... here.
71576         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
71577         * sysdeps/powerpc/fpu/math_private.h: Likewise.
71578         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71580         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
71581         and <math_private.h>.
71582         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71583         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71584         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71585         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71586         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71587         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
71588         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71589         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71590         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71591         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71592         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71593         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71594         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71595         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71596         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71597         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71598         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71599         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71600         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71601         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71602         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71603         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71604         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71605         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71606         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
71607         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71608         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71609         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71610         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71611         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71612         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71613         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71614         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
71615         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71616         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71617         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71618         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71619         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71620         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71621         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71622         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
71623         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71624         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71625         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
71626         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
71627         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71628         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
71629         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
71630         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71631         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71632         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
71633         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
71634         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
71635         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71636         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
71637         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71638         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71639         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
71640         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
71641         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
71642         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71643         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
71644         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71645         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71646         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
71647         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71648         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71649         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71650         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
71651         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
71652         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
71653         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71654         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
71655         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71656         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
71657         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
71658         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
71659         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71660         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
71661         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
71662         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
71663         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
71664         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
71665         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71666         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71667         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
71668         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
71669         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
71670         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71671         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71672         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71673         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71674         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71675         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71676         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71677         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71678         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71679         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71680         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71681         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71682         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71683         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71684         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71685         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71686         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71687         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71688         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71689         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71690         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71691         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71692         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71693         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71694         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71695         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71696         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
71697         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71698         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71699         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71700         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71701         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71702         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71703         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71704         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71705         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
71706         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71707         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71708         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71709         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
71710         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71711         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
71712         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
71713         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71714         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71715         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
71716         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
71717         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71718         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71719         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71720         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
71721         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71722         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71723         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71724         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71725         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
71726         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
71727         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71728         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71729         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71730         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
71731         * sysdeps/ieee754/k_standard.c: Likewise.
71732         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71733         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71734         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71735         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71736         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71737         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71738         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71739         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71740         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71741         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71742         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71743         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71744         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71745         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71746         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71747         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71748         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
71749         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71750         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71751         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
71752         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
71753         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
71754         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71755         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71756         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
71757         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
71758         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71759         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71760         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71761         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71762         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
71763         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71764         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71765         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71766         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
71767         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71768         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71769         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
71770         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
71771         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71772         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
71773         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
71774         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
71775         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71776         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
71777         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
71778         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71779         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71780         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71781         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71782         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71783         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
71784         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71785         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
71786         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71787         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71788         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
71789         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
71790         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71791         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71792         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71793         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
71794         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71795         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71796         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71797         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71798         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71799         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71800         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71801         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71802         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71803         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71804         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71805         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71806         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71807         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71808         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
71809         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71810         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71811         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
71812         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
71813         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
71814         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71815         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71816         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
71817         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71818         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71819         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
71820         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71821         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71822         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
71823         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71824         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
71825         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
71826         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71827         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71828         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
71829         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
71830         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
71831         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
71832         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71833         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71834         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71835         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71836         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
71837         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71838         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71839         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
71840         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
71841         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71842         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71843         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71844         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71845         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71846         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71847         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71848         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71849         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71850         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71851         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71852         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71853         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71854         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71855         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71856         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71857         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
71858         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71859         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71860         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71861         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71862         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71863         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71864         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71865         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
71866         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71867         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71868         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
71869         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
71870         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71871         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
71872         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
71873         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71874         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
71875         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
71876         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71877         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71878         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71879         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71880         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71881         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71882         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71883         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71884         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71885         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71886         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71887         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71888         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71889         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71890         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71891         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
71892         * sysdeps/ieee754/s_lib_version.c: Likewise.
71893         * sysdeps/ieee754/s_matherr.c: Likewise.
71894         * sysdeps/ieee754/s_signgam.c: Likewise.
71895         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71896         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71897         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
71898         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
71899         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
71900         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71901         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
71902         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
71903         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
71904         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
71905         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
71906         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
71907         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71908         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71909         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
71910         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71911         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71912         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71913         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71914         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71915         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71917 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71919         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
71920         * sunrpc/rpc_main.c: Likewise.
71921         * sunrpc/rpc_svcout.c: Likewise.
71923 2012-03-09  David S. Miller  <davem@davemloft.net>
71925         * include/math_private.h: New file.
71927 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71929         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
71930         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
71931         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
71932         from <bits/socket_type.h>.
71933         (enum __socket_type): Don't define here.
71934         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
71935         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71936         bits/socket_type.h.
71938         [BZ #13566]
71939         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
71940         checking __USE_GNU.
71942         * Makerules ($(inst_includedir)/%.h): New rule.
71943         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
71944         (install-others): Remove variable setting.
71945         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
71947 2012-03-08  Richard Henderson  <rth@twiddle.net>
71949         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
71950         from macro to inline function; merge with the
71951         !__LIBC_INTERNAL_MATH_INLINES version.
71952         (__ieee754_sqrtf): Likewise.
71954         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
71955         to inline function.
71956         (__rintf, __floor, __floorf): Likewise.
71958         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
71959         macro to inline function.
71960         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
71962         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
71963         not <math/math_private.h>.
71965 2012-03-08  David S. Miller  <davem@davemloft.net>
71967         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
71968         copyright year.
71969         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
71971 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
71973         * resolv/gai_misc.c (handle_requests): Fix struct timespec
71974         normalization.
71975         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
71976         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
71978 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
71980         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
71981         be defined individually, they must be defined as a block.  Define
71982         S for printing a string instead of hidint the different by using a
71983         macro for adding the 'l'.
71984         * stdio-common/tst-fphex-wide.c: Adjust.
71986 2012-03-07  Marek Polacek  <polacek@redhat.com>
71988         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
71990 2012-03-08  Marek Polacek  <polacek@redhat.com>
71992         [BZ #13806]
71993         * stdio-common/Makefile (tests): Add tst-fphex-wide.
71994         * stdio-common/tst-fphex.c: Define a few macros to make the
71995         test reusable.  Use them.
71996         * stdio-common/tst-fphex-wide.c: New file.
71998 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
72000         [BZ #6911]
72001         * manual/macros.texi (gnusystems): New macro.
72002         (nongnusystems): Likewise.
72003         (gnulinuxhurdsystems): Likewise.
72004         (gnuhurdsystems): Likewise..
72005         (gnulinuxsystems): Likewise.
72006         * manual/charset.texi: Use new macros or @theglibc{} to refer to
72007         variants of the GNU system, not "GNU system".
72008         * manual/conf.texi: Likewise.
72009         * manual/errno.texi: Likewise.  Update example of errno macro
72010         expansion.
72011         * manual/filesys.texi: Likewise.
72012         (getumask): Document as specific to GNU/Hurd.
72013         * manual/install.texi: Likewise.  Reword some references to
72014         GNU/Linux.
72015         * manual/intro.texi: Likewise.
72016         * manual/io.texi: Likewise.
72017         (File Name Portability): Detail which constraints are inapplicable
72018         to all GNU systems and which are only inapplicable to GNU/Hurd.
72019         * manual/job.texi: Likewise.
72020         * manual/llio.texi: Likewise.
72021         (O_NOCTTY): Document as present on GNU/Linux.
72022         * manual/maint.texi: Likewise.
72023         * manual/memory.texi: Likewise.
72024         * manual/pattern.texi: Likewise.
72025         * manual/pipe.texi: Likewise.
72026         * manual/process.texi: Likewise.
72027         * manual/resource.texi: Likewise.
72028         (RUSAGE_CHILDREN): Remove statement about specifying a particular
72029         child on GNU/Hurd.
72030         * manual/setjmp.texi: Likewise.
72031         * manual/signal.texi: Likewise.
72032         * manual/startup.texi: Likewise.
72033         * manual/stdio.texi: Likewise.
72034         * manual/terminal.texi: Likewise.
72035         (ONLCR): Document as POSIX.
72036         (OXTABS): Document availability on GNU/Linux as XTABS.
72037         (ONOEOT): Document availability separately from other bits.
72038         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
72039         * manual/time.texi: Likewise.
72040         * manual/users.texi: Likewise.
72041         * INSTALL: Regenerated.
72042         * sysdeps/gnu/errlist.c: Regenerated.
72044         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
72045         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
72046         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
72047         puts.
72048         * configure: Regenerated.
72050 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
72052         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
72053         default includes instead of AC_HEADER_CHECK.
72054         * sysdeps/i386/configure: Regenerated.
72056         [BZ #10716]
72057         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
72058         * math/s_cacoshf.c (__cacoshf): Likewise.
72059         * math/s_cacoshl.c (__cacoshl): Likewise.
72060         * math/s_casinh.c (__casinh): Set signs of result from argument.
72061         * math/s_casinhf.c (__casinhf): Likewise.
72062         * math/s_casinhl.c (__casinhl): Likewise.
72063         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
72064         (casinh_test): Add more tests.
72065         * sysdeps/i386/fpu/libm-test-ulps: Update.
72066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72068 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
72070         * po/zh_TW.po: Update from translation team.
72072         * login/Makefile (distribute): Remove variable.
72073         * catgets/Makefile: Likewise.
72074         * mach/Makefile: Likewise.
72075         * malloc/Makefile: Likewise.
72076         * misc/Makefile: Likewise.
72077         * iconv/Makefile: Likewise.
72078         * nscd/Makefile: Likewise.
72079         * hurd/Makefile: Likewise.
72080         * manual/Makefile: Likewise.
72081         * locale/Makefile: Likewise.
72082         * intl/Makefile: Likewise.
72083         * conform/Makefile: Likewise.
72084         * nss/Makefile: Likewise.
72085         * time/Makefile: Likewise.
72086         * soft-fp/Makefile: Likewise.
72087         * dirent/Makefile: Likewise.
72088         * gmon/Makefile: Likewise.
72089         * po/Makefile: Likewise.
72090         * rt/Makefile: Likewise.
72091         * socket/Makefile: Likewise.
72092         * math/Makefile: Likewise.
72093         * signal/Makefile: Likewise.
72094         * debug/Makefile: Likewise.
72095         * elf/Makefile: Likewise.
72096         * timezone/Makefile: Likewise.
72097         * stdlib/Makefile: Likewise.
72098         * iconvdata/Makefile: Likewise.
72099         * sunrpc/Makefile: Likewise.
72100         * io/Makefile: Likewise.
72101         * argp/Makefile: Likewise.
72102         * inet/Makefile: Likewise.
72103         * hesiod/Makefile: Likewise.
72104         * grp/Makefile: Likewise.
72105         * csu/Makefile: Likewise.
72106         * wctype/Makefile: Likewise.
72107         * crypt/Makefile: Likewise.
72108         * libio/Makefile: Likewise.
72109         * string/Makefile: Likewise.
72110         * nis/Makefile: Likewise.
72111         * resolv/Makefile: Likewise.
72112         * stdio-common/Makefile: Likewise.
72113         * wcsmbs/Makefile: Likewise.
72114         * dlfcn/Makefile: Likewise.
72115         * posix/Makefile: Likewise.
72117         [BZ #6959]
72118         * timezone/Makefile: Don't install timezone files, just the programs
72119         and scripts.
72121 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
72123         * nss/databases.def: Add missing gshadow entry.
72125         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
72127 2012-03-06  Marek Polacek  <polacek@redhat.com>
72129         [BZ #13726]
72130         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
72131         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
72132         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
72133         * stdio-common/tst-long-dbl-fphex.c: New file.
72135 2012-03-06  David S. Miller  <davem@davemloft.net>
72137         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72138         (set_obp_int): New function.
72139         (get_obp_int): New function.
72140         (__get_clockfreq_via_dev_openprom): Likewise.
72141         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
72142         Avoid unused variable warnings on 'val' and use builtin_expect.
72143         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
72144         __builtin_expect.
72145         (INLINE_CLONE_SYSCALL): Likewise.
72147 2012-03-05  David S. Miller  <davem@davemloft.net>
72149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72151 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
72153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72155         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
72156         only for |x| >= 40.
72157         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72159 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
72161         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
72162         Replace gettimeofday with __vdso_gettimeofday.
72164         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72165         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
72166         __vdso_clock_gettime and __vdso_getcpu.
72168         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
72169         time with __vdso_time.
72171 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72173         * manual/lang.texi (size_t): Note types to which size_t may be
72174         equivalent with the GNU C Library, but do not describe when
72175         differences between them are significant.
72177 2012-03-05  Andreas Jaeger  <aj@suse.de>
72179         * sysdeps/i386/fpu/libm-test-ulps: Update.
72181 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72183         [BZ #3976]
72184         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
72185         (__ieee754_pow): Save and restore rounding mode and use
72186         round-to-nearest for main computations.
72187         * math/libm-test.inc (pow_test_tonearest): New function.
72188         (pow_test_towardzero): Likewise.
72189         (pow_test_downward): Likewise.
72190         (pow_test_upward): Likewise.
72191         (main): Call the new functions.
72192         * sysdeps/i386/fpu/libm-test-ulps: Update.
72193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72195         [BZ #3976]
72196         * math/libm-test.inc (cosh_test_tonearest): New function.
72197         (cosh_test_towardzero): Likewise.
72198         (cosh_test_downward): Likewise.
72199         (cosh_test_upward): Likewise.
72200         (sinh_test_tonearest): Likewise.
72201         (sinh_test_towardzero): Likewise.
72202         (sinh_test_downward): Likewise.
72203         (sinh_test_upward): Likewise.
72204         (main): Call the new functions.
72205         * sysdeps/i386/fpu/libm-test-ulps: Update.
72206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72208 2012-03-05  Tom de Vries  <tom@codesourcery.com>
72210         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
72211         default stack guard is set in last bytes.
72212         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
72214 2012-03-05  Kees Cook  <keescook@chromium.org>
72216         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
72218         [BZ #13656]
72219         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
72220         possibly allocate from heap instead of stack.
72221         * stdio-common/bug-vfprintf-nargs.c: New file.
72222         * stdio-common/Makefile (tests): Add nargs overflow test.
72224 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
72226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72228 2012-03-03  Marek Polacek  <polacek@redhat.com>
72230         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
72231         * math/math_private.h: Likewise.
72232         * stdlib/tst-strtod.c: Likewise.
72233         * sysdeps/i386/i486/bits/atomic.h: Likewise.
72234         * sysdeps/x86_64/bits/atomic.h: Likewise.
72236 2012-03-02  David S. Miller  <davem@davemloft.net>
72238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
72239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
72240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
72241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
72242         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
72243         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
72244         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
72245         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
72247 2012-03-02  Roland McGrath  <roland@hack.frob.com>
72249         [BZ #13792]
72250         * manual/examples/README: New file, says the example source files
72251         can be used under GPL>=2.
72252         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
72253         line containing just "*/".
72254         * manual/examples/add.c: Add copyright header (GPL>=2).
72255         * manual/examples/argp-ex1.c: Likewise.
72256         * manual/examples/argp-ex2.c: Likewise.
72257         * manual/examples/argp-ex3.c: Likewise.
72258         * manual/examples/argp-ex4.c: Likewise.
72259         * manual/examples/atexit.c: Likewise.
72260         * manual/examples/db.c: Likewise.
72261         * manual/examples/dir.c: Likewise.
72262         * manual/examples/dir2.c: Likewise.
72263         * manual/examples/execinfo.c: Likewise.
72264         * manual/examples/filecli.c: Likewise.
72265         * manual/examples/filesrv.c: Likewise.
72266         * manual/examples/fmtmsgexpl.c: Likewise.
72267         * manual/examples/genpass.c: Likewise.
72268         * manual/examples/inetcli.c: Likewise.
72269         * manual/examples/inetsrv.c: Likewise.
72270         * manual/examples/isockad.c: Likewise.
72271         * manual/examples/longopt.c: Likewise.
72272         * manual/examples/memopen.c: Likewise.
72273         * manual/examples/memstrm.c: Likewise.
72274         * manual/examples/mkfsock.c: Likewise.
72275         * manual/examples/mkisock.c: Likewise.
72276         * manual/examples/mygetpass.c: Likewise.
72277         * manual/examples/pipe.c: Likewise.
72278         * manual/examples/popen.c: Likewise.
72279         * manual/examples/rprintf.c: Likewise.
72280         * manual/examples/search.c: Likewise.
72281         * manual/examples/select.c: Likewise.
72282         * manual/examples/setjmp.c: Likewise.
72283         * manual/examples/sigh1.c: Likewise.
72284         * manual/examples/sigusr.c: Likewise.
72285         * manual/examples/stpcpy.c: Likewise.
72286         * manual/examples/strdupa.c: Likewise.
72287         * manual/examples/strftim.c: Likewise.
72288         * manual/examples/strncat.c: Likewise.
72289         * manual/examples/subopt.c: Likewise.
72290         * manual/examples/swapcontext.c: Likewise.
72291         * manual/examples/termios.c: Likewise.
72292         * manual/examples/testopt.c: Likewise.
72293         * manual/examples/testpass.c: Likewise.
72294         * manual/examples/timeval_subtract.c: Likewise.
72296         [BZ #13792]
72297         * manual/time.texi (Elapsed Time): Move timeval_subtract example
72298         function to ...
72299         * manual/timeval_subtract.c.texi: ... here, new file.
72301 2012-03-02  David S. Miller  <davem@davemloft.net>
72303         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
72305 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
72307         [BZ #3976]
72308         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
72309         (__sin): Save and restore rounding mode and use round-to-nearest
72310         for all computations.
72311         (__cos): Save and restore rounding mode and use round-to-nearest
72312         for all computations.
72313         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
72314         <fenv.h>.
72315         (tan): Save and restore rounding mode and use round-to-nearest for
72316         all computations.
72317         * math/libm-test.inc (cos_test_tonearest): New function.
72318         (cos_test_towardzero): Likewise.
72319         (cos_test_downward): Likewise.
72320         (cos_test_upward): Likewise.
72321         (sin_test_tonearest): Likewise.
72322         (sin_test_towardzero): Likewise.
72323         (sin_test_downward): Likewise.
72324         (sin_test_upward): Likewise.
72325         (tan_test_tonearest): Likewise.
72326         (tan_test_towardzero): Likewise.
72327         (tan_test_downward): Likewise.
72328         (tan_test_upward): Likewise.
72329         (main): Call the new functions.
72330         * sysdeps/i386/fpu/libm-test-ulps: Update.
72331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72333         [BZ #10135]
72334         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
72335         small n, then large n, before computing and testing k+n.
72336         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
72337         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
72338         Likewise.
72339         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
72340         Likewise.
72341         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
72342         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
72343         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
72344         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
72345         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
72346         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
72347         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
72348         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
72349         * math/libm-test.inc (scalbn_test): Add more tests.
72350         (scalbln_test): Likewise.
72352         * manual/filesys.texi (mode_t): Describe constraints on size and
72353         signedness, not exact equivalence to a particular type.
72354         (ino_t): Likewise.
72355         (ino64_t): Likewise.
72356         (dev_t): Likewise.
72357         (nlink_t): Likewise.
72358         (blkcnt_t): Likewise.
72359         (blkcnt64_t): Likewise.
72360         * manual/llio.texi (off_t): Likewise.
72362         [BZ #3976]
72363         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
72364         (__ieee754_exp): Save and restore rounding mode and use
72365         round-to-nearest for all computations.
72366         * math/libm-test.inc (exp_test_tonearest): New function.
72367         (exp_test_towardzero): Likewise.
72368         (exp_test_downward): Likewise.
72369         (exp_test_upward): Likewise.
72370         (main): Call the new functions.
72371         * sysdeps/i386/fpu/libm-test-ulps: Update.
72372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72374 2012-03-01  Chris Demetriou  <cgd@google.com>
72376         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
72377         have predictable order.
72379 2012-03-01  David S. Miller  <davem@davemloft.net>
72381         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
72383         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
72384         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
72385         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
72386         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
72388         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
72389         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
72390         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
72391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
72392         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
72393         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
72394         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
72395         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
72396         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
72398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72400         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
72401         * sysdeps/sparc/fpu/libm-test-ulps: to here.
72402         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
72404         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
72405         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72406         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72407         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
72408         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
72409         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
72410         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
72411         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72412         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72413         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
72414         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
72415         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72416         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72417         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72418         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72419         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72420         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
72421         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
72422         * sysdeps/sparc/elf/configure: Regenerated.
72424 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
72426         * configure.in (AS, LD): Require binutils 2.20 or later.
72427         * configure: Regenerated.
72428         * manual/install.texi (Tools for Compilation): Give binutils 2.20
72429         as required minimum version.
72430         * INSTALL: Regenerated.
72432         [BZ #2541]
72433         [BZ #4108]
72434         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
72435         before squaring exponent.
72436         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
72437         bottom long double and 27 bits of top long double before squaring
72438         exponent.
72439         * math/libm-test.inc (erfc_test): Add more tests.
72440         * sysdeps/i386/fpu/libm-test-ulps: Update.
72441         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72444 2012-03-01  Kai Tietz  <ktietz@redhat.com>
72446         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
72447         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
72448         containing bit-fields.
72449         * soft-fp/extended.h (_FP_UNION_E): Likewise.
72450         * soft-fp/single.h (_FP_UNION_S): Likewise.
72451         * soft-fp/double.h (_FP_UNION_D): Likewise.
72453 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72455         [BZ #13786]
72456         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
72457         not include ../strcmp.S.
72458         [USE_AS_STRNCASECMP_L]: Likewise.
72459         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
72460         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
72461         * sysdeps/i386/i686/multiarch/strncase_l-c.c
72462         (__strncasecmp_l_ia32): Define as alias to
72463         __strncasecmp_l_nonascii.
72465         [BZ #5794]
72466         * math/libm-test.inc (expm1_test): Add test for bug 5794.
72467         * sysdeps/i386/fpu/libm-test-ulps: Update.
72468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72470         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
72471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72473 2012-02-29  Jeff Law  <law@redhat.com>
72475         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
72476         out of bounds read.
72478 2012-02-29  Marek Polacek  <polacek@redhat.com>
72480         [BZ #13706]
72481         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
72482         * elf/Makefile: Add rules to run tst-unused-dep.out.
72484 2012-02-28  David S. Miller  <davem@davemloft.net>
72486         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
72487         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
72488         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
72489         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
72490         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
72491         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
72493 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72495         * math/libm-test.inc (llround_test): Move one test from
72496         lround_test.  Use TEST_f_L in moved test.
72497         (lround_test): Move misplaced test to llround_test.  Add testcase
72498         from bug 2561.
72500 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
72502         * sysdeps/x86_64/fpu/e_expf.S: New file.
72503         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
72505 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
72507         [BZ #13637]
72508         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
72509         of remain_len that may cause incomplete multi-byte character and
72510         false match.
72511         * posix/bug-regex33.c: New file.
72512         * posix/Makefile (tests): Add bug-regex33.
72514 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
72516         * manual/macros.texi: New file.
72517         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
72518         * manual/libc.texinfo: Include macros.texi.
72519         * manual/creatute.texi: Likewise.
72520         * manual/install.texi: Likewise.
72521         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
72522         @glibcadj{} in references to the GNU C Library.
72523         * manual/charset.texi: Likewise.
72524         * manual/conf.texi: Likewise.
72525         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
72526         when not using those macros.
72527         * manual/creature.texi: Likewise.
72528         * manual/crypt.texi: Likewise.
72529         * manual/errno.texi: Likewise.
72530         * manual/filesys.texi: Likewise.
72531         * manual/header.texi: Likewise.
72532         * manual/install.texi: Likewise.
72533         * manual/intro.texi: Likewise.
72534         * manual/io.texi: Likewise.
72535         * manual/job.texi: Likewise.
72536         * manual/lang.texi: Likewise.
72537         * manual/libc.texiinfo: Likewise.
72538         * manual/llio.texi: Likewise.
72539         * manual/locale.texi: Likewise.
72540         * manual/maint.texi: Likewise.
72541         * manual/math.texi: Likewise.
72542         * manual/memory.texi: Likewise.
72543         * manual/message.texi: Likewise.
72544         * manual/nss.texi: Likewise.
72545         * manual/pattern.texi: Likewise.
72546         * manual/process.texi: Likewise.
72547         * manual/resource.texi: Likewise.
72548         * manual/search.texi: Likewise.
72549         * manual/setjmp.texi: Likewise.
72550         * manual/signal.texi: Likewise.
72551         * manual/socket.texi: Likewise.
72552         * manual/startup.texi: Likewise.
72553         * manual/stdio.texi: Likewise.
72554         * manual/string.texi: Likewise.
72555         * manual/sysinfo.texi: Likewise.
72556         * manual/syslog.texi: Likewise.
72557         * manual/terminal.texi: Likewise.
72558         * manual/time.texi: Likewise.
72559         * manual/users.texi: Likewise.
72560         * INSTALL: Regenerated.
72561         * NOTES: Regenerated.
72562         * sysdeps/gnu/errlist.c: Regenerated.
72564 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
72566         * include/dirent.h: Include <dirstream.h> before
72567         <dirent/dirent.h>.
72569 2012-02-28  David S. Miller  <davem@davemloft.net>
72571         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
72572         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
72573         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
72574         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
72576 2012-02-27  David S. Miller  <davem@davemloft.net>
72578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
72579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
72580         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
72581         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
72583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
72584         frame pointer instead of stack pointer relative arg slot.
72585         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72586         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72587         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72589 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
72591         [BZ #3992]
72592         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
72594 2012-02-27  David S. Miller  <davem@davemloft.net>
72596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
72597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
72599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
72600         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72601         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72602         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
72603         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
72605 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72607         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
72608         later.  Allow versions 5-9.
72609         * configure: Regenerated.
72610         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
72611         required minimum version and 4.6 as recommended version.  Do not
72612         mention bugs in GCC 2.7 and 2.8.
72613         * INSTALL: Regenerated.
72615 2012-02-27  David S. Miller  <davem@davemloft.net>
72617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
72618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
72619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
72620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
72621         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
72622         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
72623         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
72624         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
72626         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
72627         manipulate bits before adding and subtracting TWO112[sx].
72628         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72630 2012-02-27  Roland McGrath  <roland@hack.frob.com>
72632         [BZ #13775]
72633         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
72634         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
72635         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
72636         being in POSIX, because they are in 1003.1-2008.
72638         * rt/tst-aio.c: Include <fcntl.h>.
72639         * rt/tst-aio7.c: Likewise.
72640         * rt/tst-aio64.c: Likewise.
72642         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
72644 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72646         * manual/install.texi (--with-headers): Describe headers as
72647         interface headers, not private headers.
72648         (Specific advice for GNU/Linux systems): Describe use of headers
72649         from "make headers_install", not private headers from older
72650         kernels.
72651         * INSTALL: Regenerated.
72652         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
72653         Change to 2.6.19.
72654         * sysdeps/unix/sysv/linux/configure: Regenerated.
72656         * manual/llio.texi (fclean): Remove documentation.
72658         * manual/Makefile (libc-texi-generated): New variable.  Include
72659         version.texi.
72660         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
72661         $(libc-texi-generated), not duplicated list of files.
72662         (version.texi, stamp-version): New rules.
72663         (realclean): Remove $(libc-texi-generated), not individual files
72664         from that list.  Do not remove dir-add.texinfo.
72665         * manual/libc.texinfo: Comment out uses of edition numbers and
72666         references to printed manual.  Remove last-updated dates.
72667         (EDITION): Comment out.
72668         (ISBN): Likewise.
72669         (VERSION, UPDATED): Remove.
72670         (version.texi): Include.
72672 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
72674         * sysdeps/posix/spawni.c: Include <signal.h>.
72675         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
72676         * sysdeps/pthread/aio_fsync.c: Likewise.
72678 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
72680         * conform/Makefile (tests): Run only when not cross-compiling and
72681         when fast-check is not defined.
72683         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
72684         * conform/data/limits.h-data: Fixes for POSIX2008.
72685         * conform/run-conformtest.sh: Run all tests.
72686         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
72687         headers.
72688         * include/bits/dlfcn.h: Likewise.
72689         * include/langinfo.h: Likewise.
72690         * include/monetary.h: Likewise.
72691         * include/sys/poll.h: Likewise.
72693         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
72694         for __USE_GNU.
72695         * posix/spawn.h: Define __need_sigset_t.
72696         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
72697         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
72698         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
72699         to get sigevent_t only.
72700         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
72701         only for __USE_GNU.
72702         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72703         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72704         process_vm_writev only for __USE_GNU.
72705         * termios/termios.h: Declare tcgetsid also for POSIX2008.
72707         * conform/Makefile: For now ignore errors from run-conformtest.
72708         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
72709         POSIX to avoid namespace pollution.  Don't prepend headers.
72710         * conform/data/aio.h-data: Fixes for POSIX testing.
72711         * conform/data/fcntl.h-data: Likewise.
72712         * conform/data/glob.h-data: Likewise.
72713         * conform/data/grp.h-data: Likewise.
72714         * conform/data/pthread.h-data: Likewise.
72715         * conform/data/pwd.h-data: Likewise.
72716         * conform/data/signal.h-data: Likewise.
72717         * conform/data/spawn.h-data: Likewise.
72718         * conform/data/stdio.h-data: Likewise.
72719         * conform/data/stdlib.h-data: Likewise.
72720         * conform/data/stropts.h-data: Likewise.
72721         * conform/data/sys/mman.h-data: Likewise.
72722         * conform/data/sys/stat.h-data: Likewise.
72723         * conform/data/sys/types.h-data: Likewise.
72724         * conform/data/sys/wait.h-data: Likewise.
72725         * conform/data/time.h-data: Likewise.
72726         * conform/data/unistd.h-data: Likewise.
72727         * conform/data/utime.h-data: Likewise.
72729         * io/sys/stat.h: fchmod was always in POSIX.
72730         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
72731         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
72732         * rt/aio.h: Define __need_timespec before including <time.h>.
72733         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
72734         struct.  Add forward declaration of pthread_attr_t and use it in
72735         sigevent.
72736         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72737         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72738         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
72739         always remove CLK_TCK definition.
72741 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
72743         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
72745 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
72747         * conform/run-conformtest.sh: New file.
72748         * conform/Makefile: Run run-conformtest for tests.
72749         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
72750         support.
72752         * conform/data/uchar.h-data: New file.
72753         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
72754         * conform/data/arpa/inet.h-data: Likewise.
72755         * conform/data/assert.h-data: Likewise.
72756         * conform/data/complex.h-data: Likewise.
72757         * conform/data/cpio.h-data: Likewise.
72758         * conform/data/ctype.h-data: Likewise.
72759         * conform/data/dirent.h-data: Likewise.
72760         * conform/data/dlfcn.h-data: Likewise.
72761         * conform/data/errno.h-data: Likewise.
72762         * conform/data/fcntl.h-data: Likewise.
72763         * conform/data/float.h-data: Likewise.
72764         * conform/data/fmtmsg.h-data: Likewise.
72765         * conform/data/fnmatch.h-data: Likewise.
72766         * conform/data/ftw.h-data: Likewise.
72767         * conform/data/glob.h-data: Likewise.
72768         * conform/data/grp.h-data: Likewise.
72769         * conform/data/iconv.h-data: Likewise.
72770         * conform/data/inttypes.h-data: Likewise.
72771         * conform/data/langinfo.h-data: Likewise.
72772         * conform/data/libgen.h-data: Likewise.
72773         * conform/data/limits.h-data: Likewise.
72774         * conform/data/locale.h-data: Likewise.
72775         * conform/data/math.h-data: Likewise.
72776         * conform/data/monetary.h-data: Likewise.
72777         * conform/data/mqueue.h-data: Likewise.
72778         * conform/data/ndbm.h-data: Likewise.
72779         * conform/data/net/if.h-data: Likewise.
72780         * conform/data/netdb.h-data: Likewise.
72781         * conform/data/netinet/in.h-data: Likewise.
72782         * conform/data/nl_types.h-data: Likewise.
72783         * conform/data/poll.h-data: Likewise.
72784         * conform/data/pthread.h-data: Likewise.
72785         * conform/data/pwd.h-data: Likewise.
72786         * conform/data/regex.h-data: Likewise.
72787         * conform/data/sched.h-data: Likewise.
72788         * conform/data/search.h-data: Likewise.
72789         * conform/data/semaphore.h-data: Likewise.
72790         * conform/data/setjmp.h-data: Likewise.
72791         * conform/data/signal.h-data: Likewise.
72792         * conform/data/spawn.h-data: Likewise.
72793         * conform/data/stdarg.h-data: Likewise.
72794         * conform/data/stdio.h-data: Likewise.
72795         * conform/data/stdlib.h-data: Likewise.
72796         * conform/data/string.h-data: Likewise.
72797         * conform/data/strings.h-data: Likewise.
72798         * conform/data/stropts.h-data: Likewise.
72799         * conform/data/sys/ipc.h-data: Likewise.
72800         * conform/data/sys/mman.h-data: Likewise.
72801         * conform/data/sys/msg.h-data: Likewise.
72802         * conform/data/sys/resource.h-data: Likewise.
72803         * conform/data/sys/select.h-data: Likewise.
72804         * conform/data/sys/sem.h-data: Likewise.
72805         * conform/data/sys/shm.h-data: Likewise.
72806         * conform/data/sys/socket.h-data: Likewise.
72807         * conform/data/sys/stat.h-data: Likewise.
72808         * conform/data/sys/statvfs.h-data: Likewise.
72809         * conform/data/sys/time.h-data: Likewise.
72810         * conform/data/sys/timeb.h-data: Likewise.
72811         * conform/data/sys/times.h-data: Likewise.
72812         * conform/data/sys/types.h-data: Likewise.
72813         * conform/data/sys/uio.h-data: Likewise.
72814         * conform/data/sys/un.h-data: Likewise.
72815         * conform/data/sys/utsname.h-data: Likewise.
72816         * conform/data/sys/wait.h-data: Likewise.
72817         * conform/data/syslog.h-data: Likewise.
72818         * conform/data/tar.h-data: Likewise.
72819         * conform/data/termios.h-data: Likewise.
72820         * conform/data/utime.h-data: Likewise.
72821         * conform/data/utmpx.h-data: Likewise.
72822         * conform/data/varargs.h-data: Likewise.
72823         * conform/data/wchar.h-data: Likewise.
72824         * conform/data/wctype.h-data: Likewise.
72825         * conform/data/wordexp.h-data: Likewise.
72827         * include/stropts.h: New file.
72828         * include/uchar.h: New file.
72829         * include/aio.h: Changes to allow conformtest.pl to use the headers.
72830         * include/assert.h: Likewise.
72831         * include/ctype.h: Likewise.
72832         * include/dirent.h: Likewise.
72833         * include/dlfcn.h: Likewise.
72834         * include/fcntl.h: Likewise.
72835         * include/fnmatch.h: Likewise.
72836         * include/glob.h: Likewise.
72837         * include/grp.h: Likewise.
72838         * include/libio.h: Likewise.
72839         * include/locale.h: Likewise.
72840         * include/math.h: Likewise.
72841         * include/net/if.h: Likewise.
72842         * include/netdb.h: Likewise.
72843         * include/netinet/in.h: Likewise.
72844         * include/pthread.h: Likewise.
72845         * include/pwd.h: Likewise.
72846         * include/regex.h: Likewise.
72847         * include/sched.h: Likewise.
72848         * include/search.h: Likewise.
72849         * include/setjmp.h: Likewise.
72850         * include/signal.h: Likewise.
72851         * include/stdio.h: Likewise.
72852         * include/stdlib.h: Likewise.
72853         * include/string.h: Likewise.
72854         * include/sys/cdefs.h: Likewise.
72855         * include/sys/mman.h: Likewise.
72856         * include/sys/msg.h: Likewise.
72857         * include/sys/resource.h: Likewise.
72858         * include/sys/select.h: Likewise.
72859         * include/sys/socket.h: Likewise.
72860         * include/sys/stat.h: Likewise.
72861         * include/sys/statvfs.h: Likewise.
72862         * include/sys/time.h: Likewise.
72863         * include/sys/times.h: Likewise.
72864         * include/sys/uio.h: Likewise.
72865         * include/sys/utsname.h: Likewise.
72866         * include/sys/wait.h: Likewise.
72867         * include/termios.h: Likewise.
72868         * include/time.h: Likewise.
72869         * include/ulimit.h: Likewise.
72870         * include/unistd.h: Likewise.
72871         * include/utime.h: Likewise.
72872         * include/wchar.h: Likewise.
72873         * include/wctype.h: Likewise.
72874         * include/wordexp.h: Likewise.
72876         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
72878         * time/time.h: TIME_UTC must be a macro.
72879         Make timespec_get available for ISO C11 only as well.
72881 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
72883         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72884         Reported by Peng Haitao <penght@cn.fujitsu.com>.
72886 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72888         * configure.in: Use -o not -a in test for unsupported multi-arch.
72890 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72892         * manual/texinfo.tex: Update to version 2012-01-19.16.
72894 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72896         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
72898 2012-02-24  Roland McGrath  <roland@hack.frob.com>
72900         [BZ #13738]
72901         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
72902         * manual/fdl-1.3.texi: New file.
72903         * manual/fdl-1.1.texi: File removed.
72905         [BZ #13738]
72906         * manual/libc.texinfo (FDL_VERSION): New @set.
72907         Use it for mention of FDL in cover text.
72908         (Documentation License): Use it in @include file name.
72910 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72911             Roland McGrath  <roland@hack.frob.com>
72913         [BZ #5461]
72914         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
72915         (not LONG_LONG_MAX and LONG_LONG_MIN.
72916         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
72917         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
72918         name.
72919         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
72921 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72923         [BZ #2547]
72924         [BZ #11365]
72925         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
72926         manipulate bits before adding and subtracting TWO23[sx].
72927         * math/libm-test.inc (nearbyint_test): Add more tests.
72929 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72931         [BZ #2548]
72932         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
72933         bits before adding and subtracting TWO23[sx].
72934         * math/libm-test.inc (rint_test): Add more tests.
72935         (rint_test_tonearest): Likewise.
72936         (rint_test_towardzero): Likewise.
72937         (rint_test_downward): Likewise.
72938         (rint_test_upward: Likewise.
72940 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72942         [BZ #10110]
72943         * include/stdc-predef.h: New file.  Extracted from features.h.
72944         * include/features.h: Include stdc-predef.h.
72945         * Makefile (headers): Add stdc-predef.h.
72946         * CONFORMANCE (Compiler limitations): Update.
72948 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72950         * manual/libc.texinfo (VERSION, UPDATED): Revert.
72952 2012-02-21  David S. Miller  <davem@davemloft.net>
72954         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
72955         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72957 2012-02-20  David S. Miller  <davem@davemloft.net>
72959         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
72960         using a normal save/restore sequence, rather than allocating a
72961         dummy stack frame just to store a frame pointer and restore.
72962         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72964 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72966         * manual/install.texi: Fix stray word in line-wrapped comment.
72968 2012-02-20  David S. Miller  <davem@davemloft.net>
72970         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
72971         both binutils and gcc support GOTDATA.
72973         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
72974         "rd %pc" in the PIC register setup sequences.
72976         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
72977         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
72978         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72979         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
72980         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72981         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72982         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72983         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72984         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
72985         (SYSCALL_ERROR_HANDLER): Likewise.
72986         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72987         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72988         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
72989         (SYSCALL_ERROR_HANDLER): Likewise.
72991         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
72992         (HAVE_GCC_GOTDATA): New.
72993         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
72994         relocation support in both binutils and gcc.
72995         * sysdeps/sparc/elf/configure: Regenerate.
72997         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
72998         * sysdeps/sparc/sparc32/elf/configure: Delete.
72999         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
73000         * sysdeps/sparc/sparc64/elf/configure: Delete.
73001         * sysdeps/sparc/elf/configure.in: New file.
73002         * sysdeps/sparc/elf/configure: Generate.
73004         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
73005         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
73006         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73007         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
73008         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
73010 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73012         * manual/install.texi: Do not mention specific glibc version
73013         numbers.
73014         * manual/libc.texinfo (VERSION, UPDATED): Update.
73015         (@copying): Use @copyright{} and range of years.
73017 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73019         [BZ #13695]
73020         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
73021         [crti.S not in sysdirs] (generated): Do not append.
73022         [crti.S not in sysdirs] (omit-deps): Likewise.
73023         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
73024         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
73025         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
73026         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
73027         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
73028         Likewise.
73029         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
73030         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
73031         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
73032         * csu/defs.awk: Remove file.
73033         * sysdeps/generic/initfini.c: Likewise.
73034         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
73035         variable.
73036         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
73037         Likewise.
73039 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73041         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
73042         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
73043         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
73044         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
73045         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73046         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
73047         <bits/epoll.h>.
73048         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
73049         (__EPOLL_PACKED): Define to empty if not defined by
73050         <bits/epoll.h>.
73051         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
73052         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73053         bits/epoll.h.
73055 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73057         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
73058         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
73059         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
73060         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
73061         <bits/timerfd.h>.
73062         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
73063         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73064         bits/timerfd.h.
73066 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73068         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
73069         in C locale.
73070         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73071         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
73072         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
73073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73075 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
73077         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73078         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73080 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
73082         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
73083         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
73084         defined.
73085         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
73086         Likewise.
73087         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
73088         entry for 2.16.
73090 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
73092         * math/w_acos.c: Use non-signaling floating-point comparisons.
73093         * math/w_acosf.c: Likewise.
73094         * math/w_acosh.c: Likewise.
73095         * math/w_acoshf.c: Likewise.
73096         * math/w_acoshl.c: Likewise.
73097         * math/w_acosl.c: Likewise.
73098         * math/w_asin.c: Likewise.
73099         * math/w_asinf.c: Likewise.
73100         * math/w_asinl.c: Likewise.
73101         * math/w_atanh.c: Likewise.
73102         * math/w_atanhf.c: Likewise.
73103         * math/w_atanhl.c: Likewise.
73104         * math/w_exp2.c: Likewise.
73105         * math/w_exp2f.c: Likewise.
73106         * math/w_exp2l.c: Likewise.
73107         * math/w_j0.c: Likewise.
73108         * math/w_j0f.c: Likewise.
73109         * math/w_j0l.c: Likewise.
73110         * math/w_j1.c: Likewise.
73111         * math/w_j1f.c: Likewise.
73112         * math/w_j1l.c: Likewise.
73113         * math/w_jn.c: Likewise.
73114         * math/w_jnf.c: Likewise.
73115         * math/w_log.c: Likewise.
73116         * math/w_log10.c: Likewise.
73117         * math/w_log10f.c: Likewise.
73118         * math/w_log10l.c: Likewise.
73119         * math/w_log2.c: Likewise.
73120         * math/w_log2f.c: Likewise.
73121         * math/w_log2l.c: Likewise.
73122         * math/w_logf.c: Likewise.
73123         * math/w_logl.c: Likewise.
73124         * math/w_sqrt.c: Likewise.
73125         * math/w_sqrtf.c: Likewise.
73126         * math/w_sqrtl.c: Likewise.
73127         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73128         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
73129         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73130         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73131         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73133 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73135         [BZ #9739]
73136         * manual/string.texi (strnlen): Use correct parameter name in
73137         equivalent expression.
73139 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73141         [BZ #11174]
73142         * manual/users.texi (seteuid): Consistently use neweuid for
73143         argument name.
73145 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73147         [BZ #13704]
73148         * manual/nss.texi (Services in the NSS configuration): Correct
73149         list of services in example configuration file.
73151 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
73153         [BZ #11322]
73154         * manual/arith.texi: Remove statements about negative zero
73155         behaving identically to zero.
73157 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73159         [BZ #5993]
73160         * manual/install.texi: Do not document upgrading from libc5.
73162 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73164         [BZ #4596]
73165         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
73167 2012-02-18  David S. Miller  <davem@davemloft.net>
73169         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
73170         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
73171         %o7 across the call.
73172         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
73173         instead.
73174         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
73175         SETUP_PIC_REG_LEAF.
73176         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73177         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
73178         * sysdeps/sparc/crtn.S: Likewise.
73180 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
73182         * aout/Makefile: Remove.
73184 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
73186         [BZ #13058]
73187         * manual/examples/argp-ex1.c (main): Format definition in GNU
73188         style.
73189         * manual/examples/argp-ex2.c (main): Likewise.
73190         * manual/examples/argp-ex3.c (main): Likewise.
73191         * manual/examples/argp-ex4.c (main): Likewise.
73192         * manual/examples/longopt.c (main): Use new-style prototype
73193         definition.
73194         * manual/examples/strncat.c (main): Specify return type and use
73195         (void) for arguments.
73196         * manual/examples/subopt.c (main): Use char **argv argument.
73198 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73200         [BZ #5077]
73201         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
73202         rounding modes.
73204 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
73206         [BZ #6907]
73207         * manual/string.texi (strchr): Change when strchrnul is
73208         recommended.
73210 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
73212         [BZ #174]
73213         * manual/locale.texi (setlocale): Document LOCPATH.
73215 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73217         [BZ #10210]
73218         * manual/process.texi (execle): Move @dots{} before last argument.
73220 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
73222         [BZ #12047]
73223         * manual/charset.texi (Generic Charset Conversion): Fix typo
73224         (LC_TYPE -> LC_CTYPE).
73226 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
73228         [BZ #5805]
73229         * manual/arith.texi (scalbn): Use @var{} on parameter names.
73230         (scalbnf): Likewise.
73231         (scalbnl): Likewise.
73232         (scalbln): Likewise.
73233         (scalblnf): Likewise.
73234         (scalblnl): Likewise.
73235         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
73236         (vwarnx): Likewise.
73237         (verr): Likewise.
73238         (verrx): Likewise.
73239         * manual/filesys.texi (telldir): Use braces around return type.
73240         * manual/llio.texi (mmap): Add space after comma.
73241         (mmap64): Likewise.
73242         * manual/math.texi (jn): Use @var{} on parameter names.
73243         (jnf): Likewise.
73244         (jnl): Likewise.
73245         (yn): Likewise.
73246         (ynf): Likewise.
73247         (ynl): Likewise.
73248         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
73249         line.
73250         * manual/resource.texi (ulimit): Use @dots{} instead of literal
73251         "...".
73252         (sched_get_priority_min): Remove semicolon on @deftypefun line.
73253         (sched_get_priority_max): Likewise.
73254         * manual/signal.texi (sigvec): Add space after comma.
73255         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
73256         names.
73257         (if_indextoname): Likewise.
73258         (if_freenameindex): Likewise.
73259         (sendto): Use ',' instead of '.' in prototype.
73260         * manual/startup.texi (syscall): Use @dots{} instead of literal
73261         "...".
73262         * manual/stdio.texi (__fpending): Separate initial words of
73263         paragraph from @deftypefun line.
73264         * manual/syslog.texi (syslog): Use @dots{} instead of literal
73265         "...".
73266         (vsyslog): Use @var{} on parameter names.
73267         * manual/terminal.texi (stty): Use @var{} on parameter names.
73268         * manual/users.texi (getutmp): Use @var{} on parameter names.
73269         (getutmpx): Likewise.
73271 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73273         [BZ #6884]
73274         * manual/stdio.texi (fopen): Fix typos in description of
73275         ",ccs=STRING".
73277 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
73279         [BZ #4026]
73280         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
73281         get clock_id definition.
73283 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
73285         [BZ #4822]
73286         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
73287         (madvise): Cast every argument to void on its own.
73289 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73291         [BZ #9902]
73292         * manual/startup.texi (Exit Status): Fix typo.
73294 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73296         [BZ #10140]
73297         * manual/examples/argp-ex1.c: Include <stdlib.h>.
73298         * manual/examples/argp-ex2.c: Likewise.
73299         * manual/examples/argp-ex3.c: Likewise.
73301 2012-02-16  Richard Henderson  <rth@redhat.com>
73303         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
73304         * sysdeps/s390/s390-32/initfini.c: Remove.
73305         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
73306         * sysdeps/s390/s390-64/initfini.c: Remove.
73308 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73310         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
73311         compiler output for sysdeps/generic/initfini.c.
73312         * sysdeps/sh/elf/initfini.c: Remove file.
73314 2012-02-16  David S. Miller  <davem@davemloft.net>
73316         [BZ #11494]
73317         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
73319         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
73320         * sysdeps/sparc/crti.S: New file.
73321         * sysdeps/sparc/crtn.S: New file.
73322         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
73323         * sysdeps/sparc/sparc64/Makefile: Likewise.
73325 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
73327         [BZ #3335]
73328         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
73330 2012-02-15  Roland McGrath  <roland@hack.frob.com>
73332         [BZ #4822]
73333         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
73335         * mach/devstream.c (cookie_io_functions_t): Macro removed.
73336         (write, read, close): Likewise.
73337         Patch by Aurelien Jarno <aurelien@aurel32.net>.
73339 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
73341         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
73342         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
73343         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
73344         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
73345         <bits/signalfd.h>.
73346         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
73347         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73348         bits/signalfd.h.
73350 2012-02-14  Marek Polacek  <polacek@redhat.com>
73352         * sysdeps/x86_64/crti.S: New file.
73353         * sysdeps/x86_64/crtn.S: New file.
73354         * sysdeps/x86_64/elf/initfini.c: Remove file.
73356 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73358         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
73359         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
73360         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
73361         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
73362         <bits/inotify.h>.
73363         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
73364         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73365         bits/inotify.h.
73367 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73369         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
73370         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
73371         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
73372         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
73373         <bits/eventfd.h>.
73374         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
73375         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73376         bits/eventfd.h.
73378 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
73380         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
73381         __feraiseexcept instead of feraiseexcept.
73383         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
73384         nanosleep invocations.
73385         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
73386         strings, and add error checking for a nanosleep invocations.
73388 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
73390         Replace FSF snail mail address with URLs, as per GNU coding standards.
73391         Most of the snail mail addresses were wrong anyway, and omitting
73392         them makes the source code easier to maintain.  Almost all of the
73393         changes are to license notices and to locale LC_IDENTIFICATION
73394         addresses, except for this one:
73395         * manual/libc.texinfo: In "Published by", give the FSF's URL,
73396         not its snail mail address.
73398 2012-02-09  Richard Henderson  <rth@twiddle.net>
73400         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
73401         of kernel-features.h.
73403         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
73405 2012-02-08  Marek Polacek  <polacek@redhat.com>
73407         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
73408         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
73409         * sysdeps/gnu/_G_config.h: Likewise.
73410         * sysdeps/generic/_G_config.h: Likewise.
73412 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
73414         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
73415         tests.
73416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73418         * sysdeps/powerpc/powerpc32/crti.S: New file.
73419         * sysdeps/powerpc/powerpc32/crtn.S: New file.
73420         * sysdeps/powerpc/powerpc64/crti.S: New file.
73421         * sysdeps/powerpc/powerpc64/crtn.S: New file.
73423         * Makeconfig (have-initfini): Don't set.
73424         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
73425         * configure.in (nopic_initfini): Don't substitute.
73426         * config.h.in (HAVE_INITFINI): Don't #undef.
73427         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
73428         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
73430 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
73432         Support crti.S and crtn.S provided directly by architectures.
73433         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
73434         [crti.S in sysdirs] (omit-deps): Likewise.
73435         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
73436         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
73437         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
73438         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
73439         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
73440         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
73441         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
73442         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
73443         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
73444         compiler output for sysdeps/generic/initfini.c.
73445         * sysdeps/i386/elf/Makefile: Remove file.
73446         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
73448 2012-02-07  Marek Polacek  <polacek@redhat.com>
73450         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
73451         * sysdeps/gnu/_G_config.h: Likewise.
73452         * sysdeps/mach/hurd/_G_config.h: Likewise.
73454 2012-02-07  Marek Polacek  <polacek@redhat.com>
73456         * math/Makefile (tests): Add tst-CMPLX2.
73457         * math/tst-CMPLX2.c: New file.
73459 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
73461         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73463         * math/libm-test.inc (jn_test): Add missing L suffix.
73465 2012-02-06  Marek Polacek  <polacek@redhat.com>
73467         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
73468         * sysdeps/i386/fpu/e_powf.S: Likewise.
73469         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73470         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73471         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73472         * sysdeps/i386/fpu/e_pow.S: Likewise.
73473         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73474         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73475         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73476         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73477         * sysdeps/i386/fpu/e_log2.S: Likewise.
73478         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73479         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73480         * sysdeps/i386/fpu/e_powl.S: Likewise.
73481         * sysdeps/i386/fpu/s_log1p.S: Likewise.
73482         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73483         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73484         * sysdeps/i386/fpu/e_logl.S: Likewise.
73485         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73486         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
73487         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73488         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73489         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73490         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73491         * sysdeps/i386/fpu/e_log.S: Likewise.
73492         * sysdeps/i386/fpu/s_cexp.S: Likewise.
73493         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73494         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
73495         * sysdeps/i386/fpu/e_logf.S: Likewise.
73496         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73497         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73498         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
73499         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73500         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73501         * sysdeps/i386/fpu/e_log10.S: Likewise.
73502         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73503         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73504         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73505         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73506         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73507         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73508         * sysdeps/i386/asm-syntax.h: Likewise.
73509         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73510         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73511         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73512         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
73513         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
73514         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73515         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73516         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73517         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73518         * sysdeps/powerpc/sysdep.h: Likewise.
73519         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
73520         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73522 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73524         [BZ #411]
73525         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
73527 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73529         * sysdeps/i386/sysdep.h: Include <features.h>.
73530         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
73531         version.
73533 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
73535         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
73536         Define.
73537         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
73538         LOAD_PIC_REG_STR.
73540 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73542         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
73543         (SETUP_PIC_REG): Use GET_PC_THUNK.
73544         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
73545         macro.
73547 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73549         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
73550         for non-PIC compilation.
73551         (SETUP_PIC_REG): Add .p2align directive.
73552         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
73553         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
73554         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73555         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73556         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
73557         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73558         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
73559         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73560         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73561         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73562         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73563         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73564         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73565         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73566         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73567         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
73568         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
73569         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73570         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73571         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73572         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73573         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
73574         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73575         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73576         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
73577         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
73578         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73579         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
73580         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73581         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73582         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73583         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73584         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73585         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73586         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73587         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73588         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73589         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73590         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73591         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73592         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73594 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73596         * math/tst-CMPLX.c: Include <stdio.h>.
73598 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
73600         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
73601         float.
73602         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73603         * sysdeps/sparc/bits/mathdef.h: Likewise.
73605 2012-01-31  Marek Polacek  <polacek@redhat.com>
73607         * libio/libio.h: Don't define _PARAMS.
73608         * locale/programs/config.h: Don't define PARAMS.
73609         * stdlib/strtol_l.c: Likewise.
73610         (__strtol_l): Remove PARAMS from the prototype.
73612 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
73614         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
73615         names.  Just use the correct names.  Remove unnecessary wrapper
73616         functions.
73617         * malloc/arena.c: Likewise.
73618         * malloc/hooks.c: Likewise.
73620         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
73621         ARENA_TEST says not to.  Simplify test for creation of a new arena.
73622         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
73624 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
73626         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
73627         into tail calls.
73628         (update_get_addr): New function.
73629         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
73630         GET_ADDR_MODULE parameter.
73632 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73634         * crypt/cert.c: Remove __STDC__ conditionals.
73635         * crypt/crypt-entry.c: Likewise.
73636         * crypt/crypt_util.c: Likewise.
73637         * libio/filedoalloc.c: Likewise.
73638         * libio/fileops.c: Likewise.
73639         * libio/genops.c: Likewise.
73640         * libio/iofclose.c: Likewise.
73641         * libio/iofdopen.c: Likewise.
73642         * libio/iofopen.c: Likewise.
73643         * libio/iofopen64.c: Likewise.
73644         * libio/iogetdelim.c: Likewise.
73645         * libio/iopopen.c: Likewise.
73646         * libio/obprintf.c: Likewise.
73647         * libio/oldfileops.c: Likewise.
73648         * libio/oldiofclose.c: Likewise.
73649         * libio/oldiofdopen.c: Likewise.
73650         * libio/oldiofopen.c: Likewise.
73651         * libio/oldiopopen.c: Likewise.
73652         * libio/wfiledoalloc.c: Likewise.
73653         * libio/wgenops.c: Likewise.
73654         * locale/programs/xmalloc.c: Likewise.
73655         * misc/syslog.c: Likewise.
73656         * stdio-common/xbug.c: Likewise.
73657         * string/memchr.c: Likewise.
73658         * string/memcmp.c: Likewise.
73659         * string/memrchr.c: Likewise.
73660         * string/rawmemchr.c: Likewise.
73661         * sysdeps/posix/getcwd.c: Likewise.
73662         * time/strftime_l.c: Likewise.
73664 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73666         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
73667         * config.make.in (config-cflags-sse2avx): Define.
73668         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
73669         Fix typo.
73671 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
73673         * scripts/config.guess: Update from upstream config git repository.
73674         * scripts/config.sub: Likewise.
73676 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
73678         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
73679         (EM_NUM): Update.
73680         (R_TILEPRO_*, R_TILEGX_*): New macros.
73682         * scripts/firstversions.awk: Fix bug in version range handling.
73684         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
73686         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
73688         * include/sys/epoll.h: New file.
73689         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
73690         libc_hidden_def.
73692 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
73694         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
73695         Avoid unnecessary __WORDSIZE == 64 test.
73696         (fmaxf): Use VEX format if possible.
73697         (fmax): Likewise.
73698         (fminf): Likewise.
73699         (fmin): Likewise.
73701         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
73702         * math/math_private.h: Remove libc_fegetround* and
73703         libc_fesetround*.
73704         * sysdeps/i386/configure.in: Check for -msse2avx.
73705         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
73706         also if SSE2AVX is defined.
73707         Remove libc_fegetround* and libc_fesetround*.
73708         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
73709         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
73710         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
73711         of HAS_YMM_USABLE.
73712         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73713         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73714         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73715         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73716         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73718         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
73720 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73722         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
73723         size is not set.
73724         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73726 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
73728         [BZ #13618]
73729         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
73730         relocation.
73731         * Makeconfig (libm): Define.
73732         * elf/Makefile: Add rules to build and run tst-relsort1.
73733         * elf/tst-relsort1.c: New file.
73734         * elf/tst-relsort1mod1.c: New file.
73735         * elf/tst-relsort1mod2.c: New file.
73737 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
73739         * math/s_ldexp.c: Remove __STDC__ conditionals.
73740         * math/s_ldexpf.c: Likewise.
73741         * math/s_ldexpl.c: Likewise.
73742         * math/s_nextafter.c: Likewise.
73743         * math/s_nexttowardf.c: Likewise.
73744         * math/s_significand.c: Likewise.
73745         * math/s_significandf.c: Likewise.
73746         * math/s_significandl.c: Likewise.
73747         * math/w_jnl.c: Likewise.
73748         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73749         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73750         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73751         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73752         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73753         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73754         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
73755         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73756         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73757         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73758         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73759         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73760         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73761         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73762         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73763         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73764         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73765         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73766         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73767         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73768         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73769         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73770         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73771         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73772         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73773         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73774         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73775         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73776         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73777         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73778         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73779         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73780         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73781         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73782         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73783         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73784         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73785         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73786         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73787         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73788         * sysdeps/ieee754/k_standard.c: Likewise.
73789         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73790         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73791         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73792         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73793         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73794         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73795         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73796         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73797         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73798         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73799         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73800         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73801         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73802         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73803         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73804         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73805         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73806         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73807         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73808         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73809         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73810         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73811         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73812         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73813         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73814         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73815         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73816         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73817         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73818         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73819         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73820         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
73821         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73822         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73823         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73824         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73825         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
73826         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73827         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73828         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
73829         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
73830         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73831         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
73832         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
73833         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73834         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
73835         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
73836         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73837         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73838         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
73839         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
73840         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73841         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73842         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73843         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73844         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73845         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
73846         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73847         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73848         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73849         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73850         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73851         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73852         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73853         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73854         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73855         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73856         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73857         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73858         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73859         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73860         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73861         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73862         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73863         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73864         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73865         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73866         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73867         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73868         * sysdeps/ieee754/s_matherr.c: Likewise.
73869         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73870         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73871         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73872         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73874 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73876         * crypt/md5.h: Remove __STDC__ conditionals.
73877         * libio/libioP.h: Likewise.
73878         * locale/programs/config.h: Likewise.
73879         * sysdeps/generic/sysdep.h: Likewise.
73880         * sysdeps/i386/asm-syntax.h: Likewise.
73881         * sysdeps/s390/asm-syntax.h: Likewise.
73882         * sysdeps/unix/sysdep.h: Likewise.
73883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73886 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73888         * libio/libio.h: Remove __STDC__ conditionals.
73889         * malloc/obstack.h: Likewise.
73890         * math/complex.h: Likewise.
73891         * math/math.h: Likewise.
73892         * sysdeps/generic/_G_config.h: Likewise.
73893         * sysdeps/gnu/_G_config.h: Likewise.
73894         * sysdeps/mach/hurd/_G_config.h: Likewise.
73895         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73896         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73897         * sysdeps/sparc/bits/mathdef.h: Likewise.
73899 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
73901         [BZ #13583]
73902         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
73903         Clean up HAS_* macros.
73904         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
73905         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
73906         possible.
73907         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
73908         HAS_AVX.
73909         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73910         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73911         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73912         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73913         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73915 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
73917         * elf/tst-unique3.cc (gets): Remove declaration.
73918         * elf/tst-unique3lib.cc (gets): Likewise.
73919         * elf/tst-unique3lib2.cc (gets): Likewise.
73920         * elf/tst-unique4.cc (gets): Likewise.
73922 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
73924         * include/stdio.h: Add C++ protection.  Add gets declarations and
73925         definitions.
73926         * debug/tst-chk1.c: Don't declare gets here.
73927         * stdio-common/tst-gets.c: Likewise.
73929 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73931         * posix/glob: Remove directory.
73933 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73935         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
73937 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
73939         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
73940         of the non-standard EPFNOSUPPORT.
73942 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73944         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
73945         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
73946         ANYWHERE set to 1 only on KERN_NO_SPACE error.
73948 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
73950         * wcsmbs/uchar.h: Test __STDC_VERSION__.
73952 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
73954         * nscd/aicache.c (addhstaiX): Do not cache negative results of
73955         transient errors.
73956         * nscd/grpcache.c (cache_addgr): Likewise.
73957         * nscd/hstcache.c (cache_addhst): Likewise.
73958         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73959         * nscd/pwdcache.c (cache_addpw): Likewise.
73960         * nscd/servicescache.c (cache_addserv): Likewise.
73962 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
73964         * malloc/malloc.c: Various cleanups.
73965         * malloc/hooks.c: Likewise.
73967         * stdlib/Makefile (tests): Add bug-fmtmsg1.
73968         * stdlib/bug-fmtmsg1.c: New file.
73970         * stdlib/fmtmsg.c (init): Add missing unlock.
73971         Patch by Peng Haitao <penght@cn.fujitsu.com>.
73973 2012-01-12  Marek Polacek  <polacek@redhat.com>
73975         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
73976         and _GNU_SOURCE.
73978 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73980         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
73981         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
73982         macro to ensure uniqueness of label name.
73983         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73984         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73986 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
73988         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
73990         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
73991         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73992         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73993         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
73995 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
73997         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
73999         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
74000         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
74001         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74003         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
74005         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
74006         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
74007         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74008         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
74010         * math/bits/math-finite.h: Add ldexp support.
74012 2012-01-10  Marek Polacek  <polacek@redhat.com>
74014         * locale/programs/localedef.h (show_archive_content): Add noreturn
74015         attribute.
74017 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
74019         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
74021 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74023         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
74025         * io/Makefile (headers): Add bits/poll2.h.
74027 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
74029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
74030         typo #include statement.
74032 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74034         * include/sys/cdefs.h: Define __attribute_alloc_size.
74035         * catgets/gencat.c: Add alloc_size attribute and apply consistently
74036         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
74037         * elf/pldd.c: Likewise.
74038         * iconv/iconv_charmap.c: Likewise.
74039         * iconv/iconvconfig.c: Likewise.
74040         * iconv/strtab.c: Likewise.
74041         * locale/programs/locale.c: Likewise.
74042         * locale/programs/localedef.h: Likewise.
74043         * locale/programs/simple-hash.c: Likewise.
74044         * nscd/nscd.h: Likewise.
74045         * nss/makedb.c: Likewise.
74046         * sysdeps/generic/ldconfig.h: Likewise.
74047         * locale/programs/localedef.c: Remove xmalloc prototype.
74048         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
74050 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74052         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
74053         appropriate.
74055 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74057         * math/Makefile (tests): Add tst-CMPLX.
74058         * math/tst-CMPLX.c: New file.
74060         * math/complex.h (CMPLXL): Fix typo.
74062         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
74063         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
74064         GLIBC_2.16.
74065         * debug/tst-chk1.c: Add poll and ppoll tests.
74066         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
74067         * include/sys/poll.h: Add hidden proto for ppoll.
74068         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
74069         * sysdeps/mach/hurd/ppoll.c: Likewise.
74070         * io/ppoll.c: Likewise.
74071         * debug/poll_chk.c: New file.
74072         * debug/ppoll_chk.c: New file.
74073         * include/bits/poll2.h: New file.
74074         * io/bits/poll2.h: New file.
74076         [BZ #1350]
74077         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
74079         * configure.in: static is always set to yes.  Remove.
74080         * config.make.in: Don't set build-static.
74081         * Makeconfig: Remove use of build-static.
74082         * dlfcn/Makefile: Likewise.
74083         * elf/Makefile: Likewise.
74084         * math/Makefile: Likewise.
74085         * misc/Makefile: Likewise.
74086         * nptl/Makefile: Likewise.
74087         * sysdeps/mach/hurd/Makefile: Likewise.
74089         * configure.in: PWD_P is not used anymore.
74090         * config.make.in: Remove PWD_P entry.
74092         * configure.in: Remove last remnants of RANLIB.
74093         No need to check for signed size_t anymore.
74094         Don't set libc_commonpagesize and libc_relro_required here for Alpha
74095         and IA-64.
74096         Remove __builtin_expect test because we require at least gcc 3.4.
74097         * aclocal.m4: Likewise.
74099         * wcsmbs/mbrtoc16.c: Implement using towc function.
74100         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
74101         * wcsmbs/wcsmbsload.c: Likewise.
74102         * iconv/gconv_simple.c: Likewise.
74103         * iconv/gconv_int.h: Likewise.
74104         * iconv/gconv_builtin.h: Likewise.
74105         * iconv/iconv_prog.c: Remove CHAR16 handling.
74107         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
74109         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
74111         * configure.in: Remove --with-elf and --enable-bounded options.
74112         Dont set base_machine for ia64.  More non-ELF conditions removed.
74113         Remove testing and setting of leading underscore information.
74114         * config.make.in (build-bounded): Set to no.
74115         * config.h.in: Remove NO_UNDERSCORES entry.
74116         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
74117         them.
74118         * csu/start.c: Remove !NO_UNDERSCORE code.
74119         * locale/localeinfo.h: Likewise.
74120         * sysdeps/generic/machine-gmon.h: Likewise.
74121         * sysdeps/generic/sysdep.h: Likewise.
74122         * sysdeps/i386/sysdep.h: Likewise.
74123         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74124         * sysdeps/mach/sysdep.h: Likewise.
74125         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74126         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74127         * sysdeps/sh/sysdep.h: Likewise.
74128         * sysdeps/sparc/sparc32/alloca.S: Likewise.
74129         * sysdeps/unix/i386/sysdep.S: Likewise.
74130         * sysdeps/unix/sparc/start.c: Likewise.
74131         * sysdeps/unix/sparc/sysdep.S: Likewise.
74132         * sysdeps/unix/sparc/sysdep.h: Likewise.
74133         * sysdeps/unix/start.c: Likewise.
74134         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74135         * sysdeps/x86_64/sysdep.h: Likewise.
74137 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
74139         [BZ #13553]
74140         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
74141         for non-gcc.
74142         * argp/argp-fmtstream.h: Use const instead __const.
74143         * argp/argp.h: Likewise.
74144         * assert/assert.h: Likewise.
74145         * bits/fenv.h: Likewise.
74146         * bits/sched.h: Likewise.
74147         * bits/sigset.h: Likewise.
74148         * bits/sigthread.h: Likewise.
74149         * catgets/nl_types.h: Likewise.
74150         * conform/data/pthread.h-data: Likewise.
74151         * crypt/crypt-private.h: Likewise.
74152         * crypt/crypt.h: Likewise.
74153         * crypt/crypt_util.c: Likewise.
74154         * ctype/ctype.h: Likewise.
74155         * debug/execinfo.h: Likewise.
74156         * debug/mbsnrtowcs_chk.c: Likewise.
74157         * debug/mbsrtowcs_chk.c: Likewise.
74158         * debug/wcsnrtombs_chk.c: Likewise.
74159         * debug/wcsrtombs_chk.c: Likewise.
74160         * debug/wcstombs_chk.c: Likewise.
74161         * dirent/dirent.h: Likewise.
74162         * dlfcn/dlfcn.h: Likewise.
74163         * elf/neededtest4.c: Likewise.
74164         * grp/grp.h: Likewise.
74165         * gshadow/gshadow.h: Likewise.
74166         * iconv/gconv.h: Likewise.
74167         * iconv/gconv_int.h: Likewise.
74168         * iconv/gconv_simple.c: Likewise.
74169         * iconv/iconv.h: Likewise.
74170         * iconv/loop.c: Likewise.
74171         * iconv/skeleton.c: Likewise.
74172         * include/aio.h: Likewise.
74173         * include/aliases.h: Likewise.
74174         * include/argz.h: Likewise.
74175         * include/arpa/inet.h: Likewise.
74176         * include/assert.h: Likewise.
74177         * include/dirent.h: Likewise.
74178         * include/dlfcn.h: Likewise.
74179         * include/execinfo.h: Likewise.
74180         * include/fcntl.h: Likewise.
74181         * include/fenv.h: Likewise.
74182         * include/glob.h: Likewise.
74183         * include/grp.h: Likewise.
74184         * include/libintl.h: Likewise.
74185         * include/mntent.h: Likewise.
74186         * include/netdb.h: Likewise.
74187         * include/pwd.h: Likewise.
74188         * include/rpc/netdb.h: Likewise.
74189         * include/sched.h: Likewise.
74190         * include/search.h: Likewise.
74191         * include/shadow.h: Likewise.
74192         * include/signal.h: Likewise.
74193         * include/stdio.h: Likewise.
74194         * include/stdlib.h: Likewise.
74195         * include/string.h: Likewise.
74196         * include/sys/socket.h: Likewise.
74197         * include/sys/stat.h: Likewise.
74198         * include/sys/statfs.h: Likewise.
74199         * include/sys/statvfs.h: Likewise.
74200         * include/sys/syslog.h: Likewise.
74201         * include/sys/time.h: Likewise.
74202         * include/sys/uio.h: Likewise.
74203         * include/time.h: Likewise.
74204         * include/unistd.h: Likewise.
74205         * include/utmp.h: Likewise.
74206         * include/wchar.h: Likewise.
74207         * include/wctype.h: Likewise.
74208         * inet/aliases.h: Likewise.
74209         * inet/arpa/inet.h: Likewise.
74210         * inet/netinet/ether.h: Likewise.
74211         * inet/netinet/in.h: Likewise.
74212         * intl/libintl.h: Likewise.
74213         * io/bits/fcntl2.h: Likewise.
74214         * io/fcntl.h: Likewise.
74215         * io/ftw.h: Likewise.
74216         * io/sys/poll.h: Likewise.
74217         * io/sys/stat.h: Likewise.
74218         * io/sys/statfs.h: Likewise.
74219         * io/sys/statvfs.h: Likewise.
74220         * io/utime.h: Likewise.
74221         * libio/bits/stdio.h: Likewise.
74222         * libio/bits/stdio2.h: Likewise.
74223         * libio/libio.h: Likewise.
74224         * libio/libioP.h: Likewise.
74225         * libio/stdio.h: Likewise.
74226         * locale/lc-ctype.c: Likewise.
74227         * locale/locale.h: Likewise.
74228         * login/utmp.h: Likewise.
74229         * malloc/arena.c: Likewise.
74230         * malloc/malloc.c: Likewise.
74231         * malloc/malloc.h: Likewise.
74232         * malloc/mcheck.c: Likewise.
74233         * malloc/mtrace.c: Likewise.
74234         * math/bits/mathcalls.h: Likewise.
74235         * math/fenv.h: Likewise.
74236         * math/math_private.h: Likewise.
74237         * misc/bits/error.h: Likewise.
74238         * misc/bits/syslog.h: Likewise.
74239         * misc/err.h: Likewise.
74240         * misc/error.h: Likewise.
74241         * misc/fstab.h: Likewise.
74242         * misc/mntent.h: Likewise.
74243         * misc/regexp.h: Likewise.
74244         * misc/search.h: Likewise.
74245         * misc/sgtty.h: Likewise.
74246         * misc/sys/mman.h: Likewise.
74247         * misc/sys/syslog.h: Likewise.
74248         * misc/sys/uio.h: Likewise.
74249         * misc/sys/xattr.h: Likewise.
74250         * misc/ttyent.h: Likewise.
74251         * nis/rpcsvc/ypclnt.h: Likewise.
74252         * nss/nss.h: Likewise.
74253         * posix/bits/unistd.h: Likewise.
74254         * posix/fnmatch.h: Likewise.
74255         * posix/glob.h: Likewise.
74256         * posix/sched.h: Likewise.
74257         * posix/spawn.h: Likewise.
74258         * posix/sys/wait.h: Likewise.
74259         * posix/unistd.h: Likewise.
74260         * posix/wordexp.h: Likewise.
74261         * pwd/pwd.h: Likewise.
74262         * resolv/netdb.h: Likewise.
74263         * resource/sys/resource.h: Likewise.
74264         * rt/aio.h: Likewise.
74265         * rt/bits/mqueue2.h: Likewise.
74266         * rt/mqueue.h: Likewise.
74267         * shadow/shadow.h: Likewise.
74268         * signal/signal.h: Likewise.
74269         * socket/send.c: Likewise.
74270         * socket/sendto.c: Likewise.
74271         * socket/sys/socket.h: Likewise.
74272         * stdio-common/printf.h: Likewise.
74273         * stdlib/bits/stdlib.h: Likewise.
74274         * stdlib/fmtmsg.h: Likewise.
74275         * stdlib/monetary.h: Likewise.
74276         * stdlib/stdlib.h: Likewise.
74277         * stdlib/ucontext.h: Likewise.
74278         * streams/stropts.h: Likewise.
74279         * string/argz.h: Likewise.
74280         * string/bits/string2.h: Likewise.
74281         * string/string.h: Likewise.
74282         * string/strings.h: Likewise.
74283         * sunrpc/rpc/auth.h: Likewise.
74284         * sunrpc/rpc/auth_des.h: Likewise.
74285         * sunrpc/rpc/clnt.h: Likewise.
74286         * sunrpc/rpc/netdb.h: Likewise.
74287         * sunrpc/rpc/pmap_clnt.h: Likewise.
74288         * sunrpc/rpc/xdr.h: Likewise.
74289         * sysdeps/generic/inttypes.h: Likewise.
74290         * sysdeps/generic/net/if.h: Likewise.
74291         * sysdeps/generic/sys/swap.h: Likewise.
74292         * sysdeps/gnu/net/if.h: Likewise.
74293         * sysdeps/gnu/utmpx.h: Likewise.
74294         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
74295         * sysdeps/i386/i486/bits/string.h: Likewise.
74296         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
74297         * sysdeps/s390/bits/string.h: Likewise.
74298         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
74299         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
74300         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
74301         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
74302         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
74303         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
74304         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
74305         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
74306         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
74307         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
74308         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
74309         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
74310         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
74311         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
74312         * sysdeps/unix/sysv/linux/readv.c: Likewise.
74313         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
74314         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
74315         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74316         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
74317         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
74318         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74319         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
74320         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
74321         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
74322         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
74323         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
74324         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
74325         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74326         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
74327         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
74328         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
74329         * sysvipc/sys/ipc.h: Likewise.
74330         * sysvipc/sys/msg.h: Likewise.
74331         * sysvipc/sys/sem.h: Likewise.
74332         * sysvipc/sys/shm.h: Likewise.
74333         * termios/termios.h: Likewise.
74334         * time/sys/time.h: Likewise.
74335         * time/time.h: Likewise.
74336         * wcsmbs/bits/wchar2.h: Likewise.
74337         * wcsmbs/uchar.h: Likewise.
74338         * wcsmbs/wchar.h: Likewise.
74339         * wctype/wctype.h: Likewise.
74341         [BZ #13551]
74342         * Makeconfig: Remove all but ELF support including AIX support.
74343         * Makerules: Likewise.
74344         * config.h.in: Likewise.
74345         * config.make.in: Likewise.
74346         * configure: Likewise.
74347         * configure.in: Likewise.
74348         * csu/Makefile: Likewise.
74349         * csu/version.c: Likewise.
74350         * debug/Makefile: Likewise.
74351         * dlfcn/Makefile: Likewise.
74352         * elf/Makefile: Likewise.
74353         * extra-lib.mk: Likewise.
74354         * iconv/Makefile: Likewise.
74355         * include/libc-symbols.h: Likewise.
74356         * include/shlib-compat.h: Likewise.
74357         * resolv/Makefile: Likewise.
74358         * resolv/res_libc.c: Likewise.
74359         * rt/Makefile: Likewise.
74360         * sysdeps/i386/asm-syntax.h: Likewise.
74361         * sysdeps/i386/sysdep.h: Likewise.
74362         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74363         * sysdeps/mach/sysdep.h: Likewise.
74364         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
74365         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
74366         * sysdeps/s390/asm-syntax.h: Likewise.
74367         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74368         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74369         * sysdeps/sh/sysdep.h: Likewise.
74370         * sysdeps/unix/sparc/sysdep.h: Likewise.
74371         * sysdeps/wordsize-32/divdi3.c: Likewise.
74372         * sysdeps/x86_64/sysdep.h: Likewise.
74374         * argp/Versions: Remove _argp_unlock_xxx.
74376         [BZ #13559]
74377         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
74378         * abilist/libBrokenLocale.abilist: Likewise.
74379         * abilist/libanl.abilist: Likewise.
74380         * abilist/libc.abilist: Likewise.
74381         * abilist/libcrypt.abilist: Likewise.
74382         * abilist/libdl.abilist: Likewise.
74383         * abilist/libm.abilist: Likewise.
74384         * abilist/libnsl.abilist: Likewise.
74385         * abilist/libpthread.abilist: Likewise.
74386         * abilist/libresolv.abilist: Likewise.
74387         * abilist/librt.abilist: Likewise.
74388         * abilist/libthread_db.abilist: Likewise.
74389         * abilist/libutil.abilist: Likewise.
74390         * abilist/libnss_db.abilist: New file.
74392         * scripts/abilist.awk: Add support for indirect functions.
74394         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
74396         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
74398         * shlib-versions: Remove entries for ports architectures.
74400         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
74401         files in ports.
74402         * elf/stackguard-macros.h: Remove support for IA-64.
74403         * elf/tst-auditmod1.c: Likewise.
74404         * sysdeps/generic/ldsodefs.h: Likewise.
74406         * sysdeps/unix/sysv/linux/configure.in: Ports should define
74407         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
74408         configure files.
74410         [BZ #13552]
74411         * configure.in: Remove --enable-omitfp support.
74412         * FAQ.in: Adjust.
74413         * config.make.in: Likewise.
74414         * Makeconfig: Likewise.
74415         * manual/install.texi: Likewise.
74417         In case anyone cares, the IA-64 architecture could move to ports.
74418         * sysdeps/ia64/*: Removed.
74419         * sysdeps/unix/sysv/linux/ia64/*: Removed.
74420         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
74422         [BZ #13555]
74423         * configure.in: Remove entries for unsupported architectures.
74425         [BZ #13533]
74426         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
74427         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
74428         routines.
74429         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
74430         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
74431         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
74432         fall back to using wcrtomb.
74433         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
74434         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
74435         renaming.
74436         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
74437         * wcsmbs/tst-c16c32-1.c: New file.
74439         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
74440         local variable.
74442         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
74444         * elf/tst-unique3.cc: Add explicit declaration of gets.
74445         * elf/tst-unique3lib.cc: Likewise.
74446         * elf/tst-unique3lib2.cc: Likewise.
74447         * elf/tst-unique4.cc: Likewise.
74449         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
74451 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
74453         [BZ #13566]
74454         * assert/assert.h (static_assert): Don't define for C++.
74455         * libio/stdio.h (gets): Do declare for C++ <= C++11.
74456         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
74458 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
74460         * iconv/loop.c (single loop): Fix assertion in storing of
74461         remaining bytes.
74463         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
74465 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
74467         * posix/getconf.c: Update copyright year.
74468         * nss/getent.c: Likewise.
74469         * nss/makedb.c: Likewise.
74470         * iconv/iconvconfig.c: Likewise.
74471         * iconv/iconv_prog.c: Likewise.
74472         * elf/ldconfig.c: Likewise.
74473         * elf/pldd.c: Likewise.
74474         * elf/sotruss.ksh: Likewise.
74475         * catgets/gencat.c: Likewise.
74476         * csu/version.c: Likewise.
74477         * elf/ldd.bash.in: Likewise.
74478         * elf/sprof.c (print_version): Likewise.
74479         * locale/programs/locale.c: Likewise.
74480         * locale/programs/localedef.c: Likewise.
74481         * login/programs/pt_chown.c: Likewise.
74482         * nscd/nscd.c (print_version): Likewise.
74483         * debug/xtrace.sh: Likewise.
74484         * malloc/memusage.sh: Likewise.
74485         * malloc/mtrace.pl: Likewise.
74486         * debug/catchsegv.sh: Likewise.
74488 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
74490         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
74491         pure attribute.
74493 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
74495         [BZ #13533]
74496         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
74497         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
74498         transformations.
74499         * iconv/gconv_int.h: Likewise.
74500         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
74501         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
74502         from libc for GLIBC_2.16.
74503         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
74504         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
74505         * wcsmbs/uchar.h: Really define mbstate_t.
74506         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
74507         * wcsmbs/c16rtomb.c: New file.
74508         * wcsmbs/mbrtoc16.c: New file.
74509         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
74510         for C/POSIX locale.
74511         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
74512         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
74514         * wcsmbs/wchar.h: Add missing __restrict.
74516 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74518         [BZ #13532]
74519         * time/Makefile (routines): Add timespec_get.
74520         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
74521         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
74522         timespec for ISO C11.
74523         * time/timespec_get.c: New file.
74524         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
74525         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
74527         [BZ #13531]
74528         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
74529         * stdlib/stdlib.h: Declare aligned_alloc.
74530         * Versions.def: Add GLIBC_2.16 for libc.
74531         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
74533         [BZ 13527]
74534         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
74535         ISO C11.
74537         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
74538         code.
74540         [BZ #13528]
74541         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
74543         [BZ #13529]
74544         * assert/assert.h (static_assert): Define.
74546         * version.h: Update for 2.16 development version.
74548         [BZ #13526]
74549         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
74550         _ISOC11_SOURCE.
74552         * version.h (RELEASE): Bump for 2.15 release.
74553         * include/features.h (__GLIBC_MINOR__): Bump to 15.
74555         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
74556         Patch by Marek Polacek <mpolacek@redhat.com>.
74558         * bits/byteswap.h: Protect long long constants with __extension__.
74559         * sysdeps/i386/bits/byteswap.h: Likewise.
74560         * sysdeps/ia64/bits/byteswap.h: Likewise.
74561         * sysdeps/s390/bits/byteswap.h: Likewise.
74562         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74564 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74566         [BZ #13540]
74567         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
74568         destination buffer.
74569         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
74571 2011-12-23  Marek Polacek  <polacek@redhat.com>
74573         * elf/dl-addr.c (determine_info): Add inline keyword.
74574         * elf/tst-auditmod4b.c (check_avx): Likewise.
74575         * elf/tst-auditmod6b.c (check_avx): Likewise.
74576         * elf/tst-auditmod6c.c (check_avx): Likewise.
74577         * elf/tst-auditmod7b.c (check_avx): Likewise.
74579 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74581         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
74582         !__SSE_MATH__.
74584 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74586         [BZ #13540]
74587         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
74588         processing for last bytes.
74590 2011-08-06  Bruno Haible  <bruno@clisp.org>
74592         [BZ #13061]
74593         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
74594         U+0385, not to U+1FEE.
74596         [BZ #13062]
74597         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
74598         entry for U+00A5 U+0301.
74600 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74602         [BZ #13166]
74603         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
74604         buffer for the output is too small.
74606         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
74607         optimization.
74609         [BZ #13185]
74610         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
74611         SSE flags if possible.
74613 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74615         [BZ #13540]
74616         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
74617         processing for last bytes.
74619 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
74621         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
74622         (syscall-list-default-options, syscall-list-default-condition)
74623         (syscall-list-includes): Define.
74624         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
74625         list of ABIs and options and #if conditions for each ABI.  Do not
74626         handle common syscalls between ABIs specially.
74627         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
74628         Remove.
74629         (syscall-list-variants, syscall-list-32bit-options)
74630         (syscall-list-32bit-condition, syscall-list-64bit-options)
74631         (syscall-list-64bit-condition): Define.
74632         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
74633         (syscall-list-variants, syscall-list-32bit-options)
74634         (syscall-list-32bit-condition, syscall-list-64bit-options)
74635         (syscall-list-64bit-condition): Define.
74636         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
74637         Remove.
74638         (syscall-list-variants, syscall-list-32bit-options)
74639         (syscall-list-32bit-condition, syscall-list-64bit-options)
74640         (syscall-list-64bit-condition): Define.
74641         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
74642         Remove.
74643         (syscall-list-variants, syscall-list-32bit-options)
74644         (syscall-list-32bit-condition, syscall-list-64bit-options)
74645         (syscall-list-64bit-condition): Define.
74647 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74649         * locale/iso-639.def: Add brx entry.
74651         [BZ #13328]
74652         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
74653         Proposed by Mariusz_Cukr <marcukr@op.pl>.
74655         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
74656         __feraiseexcept_renamed.
74658 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74660         [BZ #13538]
74661         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
74662         EPOLLET with unsigned values.
74663         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74664         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74666         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
74667         to large cancellation.
74668         * math/s_cacoshf.c: Likewise.
74669         * math/s_cacoshl.c: Likewise.
74671 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
74673         [BZ #13305]
74674         [BZ #12786]
74675         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
74676         * math/s_cacoshf.c: Likewise.
74677         * math/s_cacoshl.c: Likewise.
74679 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74681         [BZ #13439]
74682         * iconv/gconv.h: Define __GCONV_SWAP.
74683         * iconvdata/unicode.c: The swap bit must be stored in __flags.
74684         * iconvdata/utf-16.c: Likewise.
74685         * iconvdata/utf-32.c: Likewise.
74687 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
74689         [BZ #13524]
74690         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
74691         numerator after shifting it by one limb.
74693 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
74695         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
74696         under [__USE_EXTERN_INLINES].
74698 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74700         [BZ #13446]
74701         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
74703 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74705         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
74706         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
74707         optimized code.
74708         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
74709         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
74710         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
74711         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
74712         for strncasecmp/strncasecmp_l compilation.
74713         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
74714         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
74716 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
74718         [BZ #13484]
74719         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
74720         of __asm__.
74722 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74724         [BZ #13506]
74725         * time/tzfile.c (__tzfile_read): Check values from file header.
74727 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74729         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
74730         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
74731         * powerpc/powerpc32/dl-start.S: Likewise.
74732         * powerpc/powerpc32/elf/start.S: Likewise.
74733         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
74734         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
74735         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
74736         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
74737         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
74738         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
74739         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
74740         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
74741         * powerpc/powerpc32/fpu/s_round.S: Likewise.
74742         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
74743         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
74744         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
74745         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
74746         * powerpc/powerpc32/memset.S: Likewise.
74747         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
74748         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
74749         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
74750         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
74751         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
74752         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
74753         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
74754         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
74755         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
74756         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
74757         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
74758         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74759         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74761 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74763         * math/libm-test.inc: Added more nearbyint tests.
74764         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
74765         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
74766         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
74767         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
74769 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
74771         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
74772         FD_CLOEXEC.
74774 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74776         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
74777         Add wcscpy-ssse3 wcscpy-c.
74778         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
74779         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
74780         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
74781         * sysdeps/x86_64/wcschr.S: New file.
74782         * sysdeps/x86_64/wcsrchr.S: New file.
74783         * string/test-strcmp.c: Remove checking of wcscmp function for
74784         wrong alignments.
74785         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
74786         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
74787         wcsrchr-sse2 wcsrchr-c.
74788         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
74789         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
74790         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
74791         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
74792         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
74793         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
74794         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
74795         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
74796         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
74797         * wcsmbc/wcschr.c (WCSCHR): New macro.
74799 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74801         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
74802         * wcsmbs/test-wcsrchr.c: New file.
74803         * string/test-strrchr.c: Add wcsrchr support.
74804         (WIDE): New macro.
74805         * wcsmbs/test-wcscpy.c: New file.
74806         * string/test-strcpy.c: Add wcscpy support.
74807         (WIDE): New macro.
74809 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
74811         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
74812         the inner loop.
74814 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
74816         [BZ #13472]
74817         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
74819 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
74821         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
74822         Minor optimizations.
74824         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
74825         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
74826         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
74828 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
74830         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
74831         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
74832         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
74833         for gcc to avoid warnings.
74834         * inet/Makefile (tests): Add tst-checks.
74835         * inet/tst-checks.c: New file.
74837         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
74838         warning.
74840         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
74841         __wmemcmp_sse2.
74843         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
74844         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
74846         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
74848 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
74850         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
74851         problem.
74853         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
74855 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
74857         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
74858         conditional on GCC version.
74859         (__arch_compare_and_exchange_val_8_acq)
74860         (__arch_compare_and_exchange_val_16_acq)
74861         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
74862         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
74863         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
74865 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
74867         * sysdeps/sh/backtrace.c: New file.
74869 2011-12-02  Andreas Schwab  <schwab@redhat.com>
74871         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
74872         parenthesis.
74874 2011-12-01  Andreas Schwab  <schwab@redhat.com>
74876         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
74877         falling back to utime.
74879 2011-11-30  Andreas Schwab  <schwab@redhat.com>
74881         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74882         expectations for float.
74884 2011-11-29  Andreas Schwab  <schwab@redhat.com>
74886         * locale/weight.h (findidx): Add parameter len.
74887         * locale/weightwc.h (findidx): Likewise.
74888         * posix/fnmatch_loop.c (FCT): Adjust caller.
74889         * posix/regcomp.c (build_equiv_class): Likewise.
74890         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
74891         * posix/regexec.c (check_node_accept_bytes): Likewise.
74892         * string/strcoll_l.c (STRCOLL): Likewise.
74893         * string/strxfrm_l.c (STRXFRM): Likewise.
74895 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
74897         * Makefile.in: Remove CVSOPT handling.
74898         * configure.in: Remove use of AC_REVISION.
74899         * iconvdata/Makefile (distribute): No need to filter out CVS.
74900         * scripts/list-sources.sh: Remove CVS, subversion and monotone
74901         handling.
74903 2011-11-16  Andreas Schwab  <schwab@redhat.com>
74905         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
74906         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
74907         [USE_AS_STRNCASECMP_L]: Likewise.
74908         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
74909         NO_TLS_DIRECT_SEG_REFS.
74910         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
74911         Fix argument offsets for non-PIC.
74912         [USE_AS_STRNCASECMP_L]: Likewise.
74913         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
74914         NO_TLS_DIRECT_SEG_REFS.
74916 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74918         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
74919         O_CLOEXEC.
74920         * locale/loadlocale.c (_nl_load_locale): Likewise.
74922 2011-11-15  Andreas Schwab  <schwab@redhat.com>
74924         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
74925         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
74926         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
74927         (SYSCALL_GETTIME): Set errno on error.
74929         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
74930         count references to noai6ai_cached.
74932 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74934         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
74936         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
74937         FD_CLOEXEC for /proc/self/maps.
74939         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
74940         FD_CLOEXEC for /proc/meminfo.
74942         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
74943         gai.conf.
74945         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
74946         FD_CLOEXEC for given file.
74948         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
74950         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
74951         FD_CLOEXEC for /etc/hosts.
74952         (_gethtent): Likewise.
74954         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
74956         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
74957         cancellation and set FD_CLOEXEC for /etc/netgroup.
74959         * nss/nss_files/files-key.c (search): Don't allow cancellation when
74960         reading /etc/publickey.
74962         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
74963         allow cancellation when reading /etc/group.
74965         * nss/nss_files/files-alias.c (internal_setent): Don't allow
74966         cancellation.
74967         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
74969         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
74970         when using data file.
74972         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
74974         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
74975         (write_nis_obj): Use "c" and "e" in fopen.
74977         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
74979         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
74981         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
74983         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
74985         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
74986         locale.alias.
74988         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
74990         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
74992         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
74994         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
74995         file parsing and set FD_CLOEXEC.
74997 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74999         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
75001 2011-11-14  Andreas Schwab  <schwab@redhat.com>
75003         * malloc/arena.c (arena_get2): Don't call reused_arena when
75004         _int_new_arena failed.
75006 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
75008         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
75009         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
75010         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
75011         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75012         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75013         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
75014         to compile strcasecmp and strncasecmp.
75015         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
75016         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
75018         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
75020 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
75022         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
75023         locale-defines.sym to gen-as-const-headers.
75024         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
75025         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
75026         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
75027         to compile strcasecmp and strncasecmp.
75028         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
75029         strcasecmp_l and strncasecmp_l.
75030         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
75031         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
75032         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
75033         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
75034         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
75035         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
75036         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
75037         * sysdeps/i386/i686/multiarch/strncase.S: New file.
75038         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
75039         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
75040         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
75042 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
75044         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
75045         result of SYSDEP_GETTIME_CPU to retval.
75046         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
75047         parameter list to macro.  Remove trailing semicolon.  Adjust users.
75049         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
75050         variable.
75052         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
75053         mantissa words.
75054         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
75056         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
75057         from unused variable.
75059         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
75060         DWARF definitions.
75061         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
75062         for assembling.
75064         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
75065         over namespaces.
75067         * sunrpc/rpc_prot.c (rejected): Fix case value.
75069         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
75070         unsigned long long int to avoid warnings in shift.
75072         * posix/regex_internal.c (re_string_reconstruct): Actually use result
75073         of use of trans.
75074         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
75075         variable tmp.
75077         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
75078         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
75079         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
75081         * nis/nis_table.c (nis_list): Use variable of correct type for
75082         result of __follow_path call.
75084 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75086         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
75087         of math functions ceil, trunc, floor, round, and sqrt, when
75088         avaliable on the platform.
75089         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
75090         name clash.
75091         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75092         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75093         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75095 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
75097         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
75098         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
75100 2011-11-11  Roland McGrath  <roland@hack.frob.com>
75102         * include/unistd.h: Fix __readlink return type.
75103         Reported by Chris Metcalf <cmetcalf@tilera.com>.
75105 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
75107         * stdlib/ucontext.h: Undo last change for makecontext.
75109 2011-11-11  Andreas Schwab  <schwab@redhat.com>
75111         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
75113         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
75114         * setjmp/setjmp.h: Mark functions as non-leaf.
75115         * setjmp/bits/setjmp2.h: Likewise.
75116         * stdlib/ucontext.h: Likewise.
75118 2011-11-10  Andreas Schwab  <schwab@redhat.com>
75120         * malloc/arena.c (_int_new_arena): Don't increment narenas.
75121         (reused_arena): Don't check arena limit.
75122         (arena_get2): Atomically check arena limit.
75124 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
75126         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
75127         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
75129         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
75130         instructions.
75132 2011-11-07  Andreas Schwab  <schwab@redhat.com>
75134         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
75135         handler when locking.
75137         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75138         Fix size of allocated buffer.
75140 2011-11-04  Andreas Schwab  <schwab@redhat.com>
75142         [BZ #10103]
75143         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
75144         declarations for long double functions.
75145         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
75147         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
75149 2011-11-03  Andreas Schwab  <schwab@redhat.com>
75151         * nscd/nscd.c (main): Don't start AVC thread until credentials are
75152         installed.
75154         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
75155         is disabled.
75157 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75159         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
75161 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75163         * include/alloca.h (stackinfo_alloca_round): Define.
75164         (extend_alloca): Use it.
75165         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
75166         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
75167         here.
75169         * scripts/check-local-headers.sh: Ignore libaudit.h.
75171         * nscd/Makefile (extra-objs): Make recursively expanded.
75173 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
75175         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
75176         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
75178         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
75179         * posix/tst-rfc3484-2.c: Likewise.
75180         * posix/tst-rfc3484-3.c: Likewise.
75182         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
75183         process_vm_writev.
75184         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
75185         process_vm_writev.
75186         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
75187         process_vm_writev from libc using GLIBC_2.15 version.
75189         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
75191 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
75193         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
75194         stack usage.
75196 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
75198         [BZ #13367]
75199         * nss/getent.c (initgroups_keys): Show error message in case no group
75200         names are given.
75202         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
75203         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
75204         __bump_nl_timestamp.
75205         * nscd/connections (nscd_init): When host database is served open
75206         netlink socket and request notification about configuration changes.
75207         (main_loop_poll): Track netlink file descriptor and bump timestamp
75208         in case data becomes available.
75209         (main_loop_epoll): Likewise.
75210         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
75211         (database_pers_head): Add extra_data fileds.
75212         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
75213         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
75214         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
75215         Adjust caller.
75216         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
75217         in6ai data, call __free_in6ai.
75218         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
75219         Add -DHAVE_NETLINK.
75220         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
75221         interface information.  Reuse previous data if netlink timestamp
75222         is not changed.
75223         (__bump_nl_timestamp): New function.
75224         (__free_in6ai): New function.
75226 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
75228         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
75229         close_not_cancel_no_status here.
75230         (__check_pf): Reorganize code a bit to not call close twice if OOM.
75232 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75234         [BZ #13276]
75235         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
75236         return value.
75238         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
75239         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
75240         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
75242 2011-07-03  Andreas Jaeger  <aj@suse.de>
75244         [BZ #10709]
75245         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
75246         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
75247         * math/libm-test.inc (sin_test): Add test case.
75249 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75251         [BZ #13337]
75252         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
75253         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75255         * elf/chroot_canon.c (chroot_canon): Cleanups.
75257         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
75259         [BZ #13335]
75260         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
75261         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75263         * string/test-strchr.c: Make usable for strchrnul testing.
75264         * string/test-strchrnul.c: New file.
75265         * string/Makefile (strop-tests): Add strchrnul.
75267         * po/it.po: Update from translation team.
75268         * po/es.po: Likewise.
75270 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
75272         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
75273         the three constants needed as parameters.  Drop the others.
75274         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
75275         __m128i_strloadu_tolower.
75276         Create and initialize variable zero and use it in all the places
75277         where _mm_setzero_si128 was used.
75279         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
75280         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
75281         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
75282         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
75283         anymore.
75284         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
75285         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
75286         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
75287         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
75288         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
75289         __mpranred, __mptan.
75290         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
75291         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
75292         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
75293         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
75294         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
75295         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
75296         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
75297         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
75298         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
75300 2011-10-28  Andreas Schwab  <schwab@redhat.com>
75302         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
75303         redefine if SHARED.
75304         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
75306         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
75307         wide char related routines to wcsmbs subdir.
75309 2011-10-27  Andreas Schwab  <schwab@redhat.com>
75311         [BZ #13344]
75312         * misc/sys/cdefs.h (__THROWNL): Define.
75313         * posix/unistd.h: Use __THREADNL instead of __THREAD
75314         for memory synchronization functions.
75316 2011-10-26  Roland McGrath  <roland@hack.frob.com>
75318         [BZ #13349]
75319         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
75320         doesn't exist.
75321         * manual/stdio.texi (Obstack Streams): Node removed.
75323 2011-10-26  Andreas Schwab  <schwab@redhat.com>
75325         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
75326         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75327         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75329         * math/math_private.h (math_force_eval): Allow non-addressable
75330         arguments.
75331         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
75333 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75335         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
75336         file is not needed.
75338         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
75339         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
75340         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75341         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75342         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75343         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75344         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75345         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
75346         Add AVX variants.
75347         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
75348         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
75349         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
75350         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
75351         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
75352         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
75353         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
75354         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
75355         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
75356         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
75357         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
75358         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
75359         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
75360         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
75361         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
75362         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
75363         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
75364         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
75365         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
75367         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
75368         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
75370         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
75371         place.  Use VEX encoding when compiling for AVX.
75373 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75375         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
75376         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
75378         * string/test-strchr.c (do_test): Don't generate NUL bytes.
75380 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75382         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
75383         useless if() expression.
75384         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75385         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75386         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75387         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75388         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75389         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75390         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75391         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75392         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75393         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75394         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75395         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75396         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75397         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75398         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75399         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75400         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75401         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75402         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75404         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
75406 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75408         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
75409         condition.
75410         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75412 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75414         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
75415         .text section.  Avoid duplicate constants.
75416         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75417         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75418         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75419         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75420         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75421         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75422         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75423         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75424         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
75425         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
75426         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
75427         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
75428         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
75429         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
75430         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
75431         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
75432         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
75433         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
75434         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75435         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75436         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75437         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75438         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75439         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
75440         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
75441         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
75442         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
75443         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
75444         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
75445         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
75446         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
75447         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
75448         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
75449         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
75450         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
75451         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
75452         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
75453         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
75454         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
75455         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
75456         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
75457         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
75458         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
75459         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
75460         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
75462 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
75464         * sysdeps/x86_64/dla.h: Move to ...
75465         * sysdeps/x86_64/fpu/dla.h: ...here.
75466         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
75467         situations.  Use __builtin_fma only for gcc 4.6 and up.
75469         * config.make.in: Add have-mfma4 entry.
75470         * configure.in: Substitute libc_cv_cc_fma4.
75471         * math/Makefile (dbl-only-routines): Add sincostab.
75472         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
75473         Use __sincostab not sincos.
75474         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
75475         name is a macro.
75476         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75477         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75478         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75479         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
75480         using __copysign.
75481         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
75482         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
75483         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
75484         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
75485         and __inv.
75486         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
75487         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
75488         __copysign.
75489         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
75490         define aliases when function name is a macro.
75491         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
75492         sysdeps/ieee754/dbl-64/sincos.tbl.
75493         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
75494         fma4-enabled routines.
75495         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
75496         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
75497         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
75498         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
75499         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
75500         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
75501         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
75502         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
75503         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
75504         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
75505         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
75506         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
75507         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
75508         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
75509         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
75510         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
75511         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
75512         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
75513         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
75514         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
75515         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
75516         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
75517         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
75518         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
75519         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
75520         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
75521         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
75522         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
75523         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
75524         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
75526         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
75527         rename.
75528         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75529         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75530         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75531         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75532         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75533         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75534         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75535         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75537 2011-10-24  Andreas Schwab  <schwab@redhat.com>
75539         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
75541 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75543         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
75545         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
75546         prediction.
75547         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
75549         * string/strnlen.c: Don't define STRNLEN, reverse logic.
75550         Remove unused variable magic_bits.
75551         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
75553         * string/strnlen.c: Define and use STRNLEN macro.
75554         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
75555         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
75556         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
75557         * wcsmbs/wcslen.c: Define and use WCSLEN.
75558         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
75559         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
75560         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
75561         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
75562         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
75563         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
75564         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75566 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75569         strnlen-sse2-no-bsf.
75570         Rename strlen-no-bsf to strlen-sse2-no-bsf.
75571         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
75572         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
75573         Add strnlen support.
75574         (USE_AS_STRNLEN): New macro.
75575         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
75576         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
75577         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
75578         * sysdeps/x86_64/wcslen.S: New file.
75580 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
75582         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
75583         XMM-moves are used for copying on small sizes.
75585 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75587         * wcsmbs/Makefile (strop-tests): Add wcschr.
75588         * wcsmbs/test-wcschr.c: New file.
75589         * string/test-strchr.c: Update.
75590         Add wcschr support.
75591         (WIDE): New macro.
75593 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75595         * wcsmbs/Makefile (strop-tests): Add wcslen.
75596         * wcsmbs/test-wcslen.c: New file.
75597         * string/test-strlen.c: Update.
75598         Add wcslen support.
75599         (WIDE): New macro.
75601 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75603         * po/it.po: Update from translation team.
75605 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75607         * sysdeps/x86_64/wcscmp.S: Update.
75608         Fix wrong comparison semantics.
75609         wcscmp shall use signed comparison not unsigned.
75610         Don't use substraction to avoid overflow bug.
75611         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
75612         * wcsmbc/wcscmp.c: Likewise.
75613         * string/test-strcmp.c: Likewise.
75614         Add new tests to check cases with negative values.
75616 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75618         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
75619         * sysdeps/x86_64/dla.h: ...here.  New file.
75620         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
75621         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75622         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75623         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75624         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75625         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75626         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75627         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75628         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75630 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
75632         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
75633         __ynl_finite aliases.
75635 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75637         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75639         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
75640         define DLA_FMA.
75641         [DLA_FMA] (EMULV): Use DLA_FMA.
75642         [DLA_FMA] (MUL12): Use EMULV.
75643         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
75644         that are not needed.
75645         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75646         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75647         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75648         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75649         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75650         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75651         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75653 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
75655         * math/s_nan.c: Undef __nan.
75656         * math/s_nanf.c: Undef __nanf.
75657         * math/s_nanl.c: Undef __nanl.
75658         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
75659         "math_private.h".
75661 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75663         * math/s_catan.c: Add branch predictions.
75664         * math/s_catanf.c: Likewise.
75665         * math/s_catanh.c: Likewise.
75666         * math/s_catanhf.c: Likewise.
75667         * math/s_catanhl.c: Likewise.
75668         * math/s_catanl.c: Likewise.
75669         * math/s_cexp.c: Likewise.
75670         * math/s_cexpf.c: Likewise.
75671         * math/s_cexpl.c: Likewise.
75672         * math/s_clog.c: Likewise.
75673         * math/s_clog10.c: Likewise.
75674         * math/s_clog10f.c: Likewise.
75675         * math/s_clog10l.c: Likewise.
75676         * math/s_clogf.c: Likewise.
75677         * math/s_clogl.c: Likewise.
75678         * math/s_csqrt.c: Likewise.
75679         * math/s_csqrtf.c: Likewise.
75680         * math/s_csqrtl.c: Likewise.
75681         * math/s_ctanf.c: Likewise.
75682         * math/s_ctanh.c: Likewise.
75683         * math/s_ctanhf.c: Likewise.
75684         * math/s_ctanhl.c: Likewise.
75685         * math/s_ctanl.c: Likewise.
75687         * math/math_private.h: Define __nan, __nanf, __nanl.
75688         * math/s_cacosh.c: Include <math_private.h>.
75689         * math/s_cacoshl.c: Likewise.
75690         * math/s_casinh.c: Likewise.
75691         * math/s_casinhf.c: Likewise.
75692         * math/s_casinhl.c: Likewise.
75693         * math/s_ccos.c: Rely entire on ccosh.
75694         * math/s_ccosf.c: Rely entire on ccoshf.
75695         * math/s_ccosl.c: Rely entirely on ccoshl.
75696         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
75697         Remove tests for FE_INVALID.
75698         * math/s_ccoshf.c: Likewise.
75699         * math/s_ccoshl.c: Likewise.
75700         * math/s_csin.c: Likewise.
75701         * math/s_csinf.c: Likewise.
75702         * math/s_csinh.c Likewise.
75703         * math/s_csinhf.c: Likewise.
75704         * math/s_csinhl.c: Likewise.
75705         * math/s_csinl.c: Likewise.
75706         * math/s_ctan.c: Likewise.
75707         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
75708         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
75709         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
75711 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
75713         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
75714         compilation problems.
75716         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
75717         __builtin_expect.
75719 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
75721         * sysdeps/i386/configure.in: Test for -mfma4 option.
75722         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
75723         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
75724         COMMON_CPUID_INDEX_80000001.
75725         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
75726         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
75727         use it if FMA3 is not supported.
75728         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
75730         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
75731         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75733 2011-10-20  Andreas Schwab  <schwab@redhat.com>
75735         [BZ #12892]
75736         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
75737         it would create a cycle with a link time dependency.
75739 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
75741         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
75742         instruction.
75743         * string/Makefile (strop-tests): Add rawmemchr.
75744         * string/test-rawmemchr.c: New file.
75746         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
75747         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
75748         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
75749         when compiling str{,n}casecmp and when AVX is available.  Hook up
75750         new optimized code in initializers.
75752 2011-10-19  Andreas Schwab  <schwab@redhat.com>
75754         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
75755         __feraiseexcept instead of feraiseexcept.
75757 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
75759         * math/math_private.h: Define defaults for libc_fetestexcept and
75760         libc_feupdateenv.
75761         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
75762         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
75763         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75764         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75765         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75766         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75767         libc_fetestexcept and libc_feupdateenv.
75769         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
75770         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
75771         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
75772         * sysdeps/x86_64/fpu/math_private.h: Define special version of
75773         libc_feholdexcept_setround.
75775         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
75776         Add s_nearbyint-c and s_nearbyintf-c.
75777         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
75778         nearbyintf inlines.
75779         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
75780         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
75781         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
75782         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
75784         * math/math_private.h: Define defaults for libc_fegetround,
75785         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
75786         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
75787         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
75788         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
75789         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
75790         standard functions.
75791         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75792         Remove comments and hacks for old compiler versions.
75793         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75794         libc_fegetround, libc_fesetround, libc_feholdexcept, and
75795         libc_feholdexceptl.
75797 2011-10-18  Andreas Schwab  <schwab@redhat.com>
75799         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
75800         (__feraiseexcept_renamed): Add __NTH.
75801         (feraiseexcept): Add __NTH.  Rename local variables to fix
75802         namespace violations.
75804 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
75806         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
75808         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
75810         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
75811         recently added interfaces.
75812         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
75814         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
75815         about macro parameter expansion.
75817         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
75818         __NO_MATH_INLINES is defined.  Cleanups.
75820         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
75821         and __floorf is target has SSE4.1.
75822         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
75823         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
75824         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
75825         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
75827         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
75828         name.
75829         (floorf): Likewise.
75831         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
75833 2011-10-17  Andreas Schwab  <schwab@redhat.com>
75835         * misc/sys/cdefs.h: Fix last change.
75837         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
75838         database lookup.
75840 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
75842         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
75844         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
75845         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75846         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75847         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75848         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75849         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75850         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75851         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75852         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75853         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
75854         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
75855         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
75856         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
75857         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
75858         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
75859         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
75860         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
75861         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
75862         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
75863         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
75864         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
75865         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
75867         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
75868         ceil, ceilf, floor, floorf.
75870         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
75871         Perform IRELATIVE relocations last.
75873         * elf/do-rel.h: Add another parameter nrelative, replacing the
75874         local variable with the same name.  Change name of the function
75875         to end in Rel or Rela (uppercase).
75876         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
75877         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
75878         elf_dynamic_do_##reloc function.
75880 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75882         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75883         is sufficient, at least on modern CPUs.
75885         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75887         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75888         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
75890         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
75891         __expl_finite.
75892         * math/bits/math-finite.h: Add entries for exp.
75893         * math/e_expl.c: Add __*_finite alias.
75894         * sysdeps/i386/fpu/e_exp.S: Likewise.
75895         * sysdeps/i386/fpu/e_expf.S: Likewise.
75896         * sysdeps/i386/fpu/e_expl.c: Likewise.
75897         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75898         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75899         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
75900         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
75901         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
75902         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75903         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75905         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
75906         is sufficient, at least on modern CPUs.
75908         * ctype/ctype-info.c (__ctype_init): Define.
75909         * include/ctype.h (__ctype_init): Declare.
75910         (__ctype_b_loc): The variable is always initialized.
75911         (__ctype_toupper_loc): Likewise.
75912         (__ctype_tolower_loc): Likewise.
75913         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
75914         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
75916 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
75918         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
75920         * configure.in: Also look in $cxxmachine/include for C++ system
75921         headers.
75923 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75925         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
75926         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
75927         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
75928         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
75929         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
75930         (USE_AS_WMEMCMP): New macro.
75931         Fixing indents.
75932         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
75933         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
75934         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
75935         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
75936         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75937         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
75938         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
75939         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
75940         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
75941         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
75942         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
75943         (USE_AS_WMEMCMP): New macro.
75944         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
75945         * sysdeps/string/test-memcmp.c: Update.
75946         Fix simple_wmemcmp.
75947         Add new tests.
75948         * wcsmbs/wmemcmp.c: Update.
75949         (WMEMCMP): New macro.
75950         Fix overflow bug.
75952 2011-10-12  Andreas Jaeger  <aj@suse.de>
75954         [BZ #13268]
75955         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
75957 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75959         * libio/iofwide.c (do_length): Avoid warning.
75961         * ctype/ctype.h (__isctype_f): Add missing __THROW.
75963 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
75965         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
75967         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
75968         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
75969         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
75970         * sysdeps/i386/i686/fpu/e_log.S: New file.
75971         * sysdeps/i386/i686/fpu/e_logf.S: New file.
75972         * sysdeps/i386/i686/fpu/e_logl.S: New file.
75974         * ctype/ctype.h: Add support for inlined isXXX functions when
75975         compiling C++ code.
75977 2011-10-14  Andreas Schwab  <schwab@redhat.com>
75979         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75981         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
75983 2011-10-13  Roland McGrath  <roland@hack.frob.com>
75985         [BZ #13291]
75986         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
75988 2011-10-13  Andreas Schwab  <schwab@redhat.com>
75990         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
75991         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
75992         feraiseexcept.
75994         * sysdeps/x86_64/memrchr.S: Check for zero size.
75996         * string/stratcliff.c: Add memrchr tests.
75998 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76000         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76001         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
76002         rawmemchr-sse2 rawmemchr-sse2-bsf.
76003         * sysdeps/i386/i686/multiarch/memchr.S: New file.
76004         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
76005         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
76006         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
76007         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
76008         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
76009         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
76010         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
76011         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
76012         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
76013         * string/memrchr.c (MEMRCHR): New macro.
76015 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
76017         Add integration with gcc's -ffinite-math-only and optimize wrapper
76018         functions in libm.
76019         * Versions.def: Define GLIBC_2.15 version for libm.
76020         * math/Makefile (headers): Add bits/math-finite.h.
76021         * math/bits/math-finite.h: New file.
76022         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
76023         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
76024         * math/e_acoshl.c: Add __*_finite alias.
76025         * math/e_acosl.c: Likewise.
76026         * math/e_asinl.c: Likewise.
76027         * math/e_atan2l.c: Likewise.
76028         * math/e_atanhl.c: Likewise.
76029         * math/e_coshl.c: Likewise.
76030         * math/e_exp10.c: Likewise.
76031         * math/e_exp10f.c: Likewise.
76032         * math/e_exp10l.c: Likewise.
76033         * math/e_exp2l.c: Likewise.
76034         * math/e_fmodl.c: Likewise.
76035         * math/e_gammal_r.c: Likewise.
76036         * math/e_hypotl.c: Likewise.
76037         * math/e_j0l.c: Likewise.
76038         * math/e_j1l.c: Likewise.
76039         * math/e_jnl.c: Likewise.
76040         * math/e_lgammal_r.c: Likewise.
76041         * math/e_log10l.c: Likewise.
76042         * math/e_log2l.c: Likewise.
76043         * math/e_logl.c: Likewise.
76044         * math/e_powl.c: Likewise.
76045         * math/e_sinhl.c: Likewise.
76046         * math/e_sqrtl.c: Likewise.
76047         * math/e_scalb.c: Completely rewritten and optimized.
76048         * math/e_scalbf.c: Likewise.
76049         * math/e_scalbl.c: Likewise.
76050         * math/w_acos.c: Likewise.
76051         * math/w_acosf.c: Likewise.
76052         * math/w_acosl.c: Likewise.
76053         * math/w_acosh.c: Likewise.
76054         * math/w_acoshf.c: Likewise.
76055         * math/w_acoshl.c: Likewise.
76056         * math/w_asin.c: Likewise.
76057         * math/w_asinf.c: Likewise.
76058         * math/w_asinl.c: Likewise.
76059         * math/w_atan2.c: Likewise.
76060         * math/w_atan2f.c: Likewise.
76061         * math/w_atan2l.c: Likewise.
76062         * math/w_atanh.c: Likewise.
76063         * math/w_atanhf.c: Likewise.
76064         * math/w_atanhl.c: Likewise.
76065         * math/w_exp10.c: Likewise.
76066         * math/w_exp10f.c: Likewise.
76067         * math/w_exp10l.c: Likewise.
76068         * math/w_fmod.c: Likewise.
76069         * math/w_fmodf.c: Likewise.
76070         * math/w_fmodl.c: Likewise.
76071         * math/w_j0.c: Likewise.
76072         * math/w_j0f.c: Likewise.
76073         * math/w_j0l.c: Likewise.
76074         * math/w_j1.c: Likewise.
76075         * math/w_j1f.c: Likewise.
76076         * math/w_j1l.c: Likewise.
76077         * math/w_jn.c: Likewise.
76078         * math/w_jnf.c: Likewise.
76079         * math/w_log.c: Likewise.
76080         * math/w_logf.c: Likewise.
76081         * math/w_logl.c: Likewise.
76082         * math/w_log10.c: Likewise.
76083         * math/w_log10f.c: Likewise.
76084         * math/w_log10l.c: Likewise.
76085         * math/w_log2.c: Likewise.
76086         * math/w_log2f.c: Likewise.
76087         * math/w_log2l.c: Likewise.
76088         * math/w_pow.c: Likewise.
76089         * math/w_powf.c: Likewise.
76090         * math/w_powl.c: Likewise.
76091         * math/w_remainder.c: Likewise.
76092         * math/w_remainderf.c: Likewise.
76093         * math/w_remainderl.c: Likewise.
76094         * math/w_scalb.c: Likewise.
76095         * math/w_scalbf.c: Likewise.
76096         * math/w_scalbl.c: Likewise.
76097         * math/w_sqrt.c: Likewise.
76098         * math/w_sqrtf.c: Likewise.
76099         * math/w_sqrtl.c: Likewise.
76100         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
76101         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
76102         used.
76103         * math/math_private.h: Declare __kernel_standard_f.
76104         * math/w_cosh.c: Remove cruft and optimize a bit.
76105         * math/w_coshf.c: Likewise.
76106         * math/w_coshl.c: Likewise.
76107         * math/w_exp2.c: Likewise.
76108         * math/w_exp2f.c: Likewise.
76109         * math/w_exp2l.c: Likewise.
76110         * math/w_hypot.c: Likewise.
76111         * math/w_hypotf.c: Likewise.
76112         * math/w_hypotl.c: Likewise.
76113         * math/w_lgamma.c: Likewise.
76114         * math/w_lgamma_r.c: Likewise.
76115         * math/w_lgammaf.c: Likewise.
76116         * math/w_lgammaf_r.c: Likewise.
76117         * math/w_lgammal.c: Likewise.
76118         * math/w_lgammal_r.c: Likewise.
76119         * math/w_sinh.c: Likewise.
76120         * math/w_sinhf.c: Likewise.
76121         * math/w_sinhl.c: Likewise.
76122         * math/w_tgamma.c: Likewise.
76123         * math/w_tgammaf.c: Likewise.
76124         * math/w_tgammal.c: Likewise.
76125         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76126         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76127         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
76128         Minor optimizations.  Pretty printing.  Remove cruft.
76129         * sysdeps/i386/fpu/e_acosf.S: Likewise.
76130         * sysdeps/i386/fpu/e_acosh.S: Likewise.
76131         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76132         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76133         * sysdeps/i386/fpu/e_acosl.c: Likewise.
76134         * sysdeps/i386/fpu/e_asin.S: Likewise.
76135         * sysdeps/i386/fpu/e_asinf.S: Likewise.
76136         * sysdeps/i386/fpu/e_atan2.S: Likewise.
76137         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
76138         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
76139         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76140         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76141         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76142         * sysdeps/i386/fpu/e_exp10.S: Likewise.
76143         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
76144         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
76145         * sysdeps/i386/fpu/e_exp2.S: Likewise.
76146         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
76147         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
76148         * sysdeps/i386/fpu/e_fmod.S: Likewise.
76149         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
76150         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
76151         * sysdeps/i386/fpu/e_hypot.S: Likewise.
76152         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
76153         * sysdeps/i386/fpu/e_log.S: Likewise.
76154         * sysdeps/i386/fpu/e_log10.S: Likewise.
76155         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76156         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76157         * sysdeps/i386/fpu/e_log2.S: Likewise.
76158         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76159         * sysdeps/i386/fpu/e_log2l.S: Likewise.
76160         * sysdeps/i386/fpu/e_logf.S: Likewise.
76161         * sysdeps/i386/fpu/e_logl.S: Likewise.
76162         * sysdeps/i386/fpu/e_pow.S: Likewise.
76163         * sysdeps/i386/fpu/e_powf.S: Likewise.
76164         * sysdeps/i386/fpu/e_powl.S: Likewise.
76165         * sysdeps/i386/fpu/e_remainder.S: Likewise.
76166         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
76167         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
76168         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76169         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76170         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76171         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
76172         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
76173         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
76174         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76175         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76176         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76177         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76178         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76179         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76180         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
76181         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76182         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76183         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76184         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76185         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76186         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76187         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76188         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76189         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76190         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76191         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76192         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76193         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76194         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76195         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76196         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76197         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76198         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76199         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76200         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76201         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76202         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
76203         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76204         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76205         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76206         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76207         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76208         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76209         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76210         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76211         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76212         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76213         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76214         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76215         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76216         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76217         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76218         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76219         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76220         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76221         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76222         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76223         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
76224         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76225         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76226         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76227         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76228         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76229         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76230         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76231         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76232         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76233         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76234         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76235         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76236         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76237         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76238         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76239         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76240         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76241         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76242         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
76243         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76244         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76245         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76246         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76247         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76248         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76249         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76250         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
76251         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76252         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76253         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76254         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76255         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76256         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
76257         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76258         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76259         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76260         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76261         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76262         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76263         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76264         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76265         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76266         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76267         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
76268         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76269         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76270         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76271         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
76272         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
76273         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
76274         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
76275         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
76276         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
76277         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
76278         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76279         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76280         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76281         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76282         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
76283         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76284         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
76285         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
76286         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
76287         (__isnanf): Likewise.
76288         (__isinf_ns): Likewise.
76289         (__isinf_nsf): Likewise.
76290         (__finite): Likewise.
76291         (__finitef): Likewise.
76292         (__ieee754_sqrt): Define as macro.
76293         (__ieee754_sqrtf): Define as macro.
76294         (__ieee754_sqrtl): Define as macro.
76295         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
76296         inlined copy.
76297         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
76298         __FINITE_MATH_ONLY__ consistent.
76299         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
76301 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
76303         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
76304         of rawmemchr.
76306         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
76308 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
76310         * po/ja.po: Update from translation team.
76312 2011-10-08  Roland McGrath  <roland@hack.frob.com>
76314         * locale/programs/locarchive.c (prepare_address_space): New function.
76315         (create_archive, enlarge_archive, open_archive): Use it.
76317         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
76318         inside [SHARED], where it is used.
76320         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
76322         * nss/getent.c (netgroup_keys): Remove unused variable.
76323         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76325 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
76327         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
76328         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
76329         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
76330         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
76331         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
76332         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
76333         * math/Makefile (libm-calls): Add s_isinf_ns.
76334         * math/divtc3.c: Use __isinf_nsl instead of isinf.
76335         * math/multc3.c: Likewise.
76336         * math/s_casin.c: Likewise.
76337         * math/s_casinf.c: Likewise.
76338         * math/s_casinl.c: Likewise.
76339         * math/s_ccos.c: Likewise.
76340         * math/s_ccosf.c: Likewise.
76341         * math/s_ccosl.c: Likewise.
76342         * math/s_ctan.c: Likewise.
76343         * math/s_ctanf.c: Likewise.
76344         * math/s_ctanh.c: Likewise.
76345         * math/s_ctanhf.c: Likewise.
76346         * math/s_ctanhl.c: Likewise.
76347         * math/s_ctanl.c: Likewise.
76348         * math/w_fmod.c: Likewise.
76349         * math/w_fmodf.c: Likewise.
76350         * math/w_fmodl.c: Likewise.
76351         * math/w_remainder.c: Likewise.
76352         * math/w_remainderf.c: Likewise.
76353         * math/w_remainderl.c: Likewise.
76354         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
76355         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
76356         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
76357         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
76358         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
76359         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
76360         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
76361         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
76363         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
76364         of the number.
76365         * stdio-common/printf_fphex.c: Likewise.
76366         * stdio-common/printf_size.c: Likewise.
76368         * math/e_exp10.c: Include math_private.h using <...> not "...".
76369         * math/e_exp10f.c: Likewise.
76370         * math/e_exp10l.c: Likewise.
76371         * math/e_exp2l.c: Likewise.
76372         * math/e_j0l.c: Likewise.
76373         * math/e_j1l.c: Likewise.
76374         * math/e_jnl.c: Likewise.
76375         * math/e_lgammal_r.c: Likewise.
76376         * math/e_rem_pio2l.c: Likewise.
76377         * math/e_scalb.c: Likewise.
76378         * math/e_scalbf.c: Likewise.
76379         * math/e_scalbl.c: Likewise.
76380         * math/k_cosl.c: Likewise.
76381         * math/k_sinl.c: Likewise.
76382         * math/k_tanl.c: Likewise.
76383         * math/s_cacoshf.c: Likewise.
76384         * math/s_catan.c: Likewise.
76385         * math/s_catanf.c: Likewise.
76386         * math/s_catanh.c: Likewise.
76387         * math/s_catanhf.c: Likewise.
76388         * math/s_catanhl.c: Likewise.
76389         * math/s_catanl.c: Likewise.
76390         * math/s_ccosh.c: Likewise.
76391         * math/s_ccoshf.c: Likewise.
76392         * math/s_ccoshl.c: Likewise.
76393         * math/s_cexp.c: Likewise.
76394         * math/s_cexpf.c: Likewise.
76395         * math/s_cexpl.c: Likewise.
76396         * math/s_clog.c: Likewise.
76397         * math/s_clog10.c: Likewise.
76398         * math/s_clog10f.c: Likewise.
76399         * math/s_clog10l.c: Likewise.
76400         * math/s_clogf.c: Likewise.
76401         * math/s_clogl.c: Likewise.
76402         * math/s_csin.c: Likewise.
76403         * math/s_csinf.c: Likewise.
76404         * math/s_csinh.c: Likewise.
76405         * math/s_csinhf.c: Likewise.
76406         * math/s_csinhl.c: Likewise.
76407         * math/s_csinl.c: Likewise.
76408         * math/s_csqrt.c: Likewise.
76409         * math/s_csqrtf.c: Likewise.
76410         * math/s_csqrtl.c: Likewise.
76411         * math/s_ctan.c: Likewise.
76412         * math/s_ctanf.c: Likewise.
76413         * math/s_ctanh.c: Likewise.
76414         * math/s_ctanhf.c: Likewise.
76415         * math/s_ctanhl.c: Likewise.
76416         * math/s_ctanl.c: Likewise.
76417         * math/s_ldexp.c: Likewise.
76418         * math/s_ldexpf.c: Likewise.
76419         * math/s_ldexpl.c: Likewise.
76420         * math/s_significand.c: Likewise.
76421         * math/s_significandf.c: Likewise.
76422         * math/s_significandl.c: Likewise.
76423         * math/w_acos.c: Likewise.
76424         * math/w_acosf.c: Likewise.
76425         * math/w_acosh.c: Likewise.
76426         * math/w_acoshf.c: Likewise.
76427         * math/w_acoshl.c: Likewise.
76428         * math/w_acosl.c: Likewise.
76429         * math/w_asin.c: Likewise.
76430         * math/w_asinf.c: Likewise.
76431         * math/w_asinl.c: Likewise.
76432         * math/w_atan2.c: Likewise.
76433         * math/w_atan2f.c: Likewise.
76434         * math/w_atan2l.c: Likewise.
76435         * math/w_atanh.c: Likewise.
76436         * math/w_atanhf.c: Likewise.
76437         * math/w_atanhl.c: Likewise.
76438         * math/w_cosh.c: Likewise.
76439         * math/w_coshf.c: Likewise.
76440         * math/w_coshl.c: Likewise.
76441         * math/w_dremf.c: Likewise.
76442         * math/w_exp10.c: Likewise.
76443         * math/w_exp10f.c: Likewise.
76444         * math/w_exp10l.c: Likewise.
76445         * math/w_exp2.c: Likewise.
76446         * math/w_exp2f.c: Likewise.
76447         * math/w_fmod.c: Likewise.
76448         * math/w_fmodf.c: Likewise.
76449         * math/w_fmodl.c: Likewise.
76450         * math/w_hypot.c: Likewise.
76451         * math/w_hypotf.c: Likewise.
76452         * math/w_hypotl.c: Likewise.
76453         * math/w_j0.c: Likewise.
76454         * math/w_j0f.c: Likewise.
76455         * math/w_j0l.c: Likewise.
76456         * math/w_j1.c: Likewise.
76457         * math/w_j1f.c: Likewise.
76458         * math/w_j1l.c: Likewise.
76459         * math/w_jn.c: Likewise.
76460         * math/w_jnf.c: Likewise.
76461         * math/w_jnl.c: Likewise.
76462         * math/w_lgamma.c: Likewise.
76463         * math/w_lgamma_r.c: Likewise.
76464         * math/w_lgammaf.c: Likewise.
76465         * math/w_lgammaf_r.c: Likewise.
76466         * math/w_lgammal.c: Likewise.
76467         * math/w_lgammal_r.c: Likewise.
76468         * math/w_log.c: Likewise.
76469         * math/w_log10.c: Likewise.
76470         * math/w_log10f.c: Likewise.
76471         * math/w_log10l.c: Likewise.
76472         * math/w_log2.c: Likewise.
76473         * math/w_log2f.c: Likewise.
76474         * math/w_log2l.c: Likewise.
76475         * math/w_logf.c: Likewise.
76476         * math/w_logl.c: Likewise.
76477         * math/w_pow.c: Likewise.
76478         * math/w_powf.c: Likewise.
76479         * math/w_powl.c: Likewise.
76480         * math/w_remainder.c: Likewise.
76481         * math/w_remainderf.c: Likewise.
76482         * math/w_remainderl.c: Likewise.
76483         * math/w_scalb.c: Likewise.
76484         * math/w_scalbf.c: Likewise.
76485         * math/w_scalbl.c: Likewise.
76486         * math/w_sinh.c: Likewise.
76487         * math/w_sinhf.c: Likewise.
76488         * math/w_sinhl.c: Likewise.
76489         * math/w_sqrt.c: Likewise.
76490         * math/w_sqrtf.c: Likewise.
76491         * math/w_sqrtl.c: Likewise.
76492         * math/w_tgamma.c: Likewise.
76493         * math/w_tgammaf.c: Likewise.
76494         * math/w_tgammal.c: Likewise.
76496         * po/ja.po: Update from translation team.
76498 2011-09-29  Andreas Jaeger  <aj@suse.de>
76500         [BZ #13179]
76501         * sunrpc/netname.c (netname2host): Fix logic.
76503         [BZ #6779]
76504         [BZ #6783]
76505         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
76506         correctly.
76507         * math/w_remainder.c (__remainder): Likewise.
76508         * math/w_remainderf.c (__remainderf): Likewise.
76509         * math/libm-test.inc (remainder_test): Add test cases.
76511 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76513         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
76514         sdiv_qrnnd.
76516 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76518         * string/test-memcmp.c: Avoid unncessary #defines.
76519         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76521 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76523         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
76524         Use new sse2 version for core i3 - i7 as it's faster
76525         than sse42 version.
76526         (bit_Prefer_PMINUB_for_stringop): New.
76527         * sysdeps/x86_64/rawmemchr.S: Update.
76528         Replace with faster SSE2 version.
76529         * sysdeps/x86_64/memrchr.S: New file.
76530         * sysdeps/x86_64/memchr.S: Update.
76531         Replace with faster SSE2 version.
76533 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
76535         * elf/dl-load.c (lose): Add cast to avoid warning.
76537 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76539         * po/ca.po: Update from translation team.
76541         * inet/getnetgrent_r.c: Hook up nscd.
76542         * nscd/Makefile (routines): Add nscd_netgroup.
76543         (nscd-modules): Add netgroupcache.
76544         (CFLAGS-netgroupcache.c): Define.
76545         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
76546         (cache_search): Add const to second parameter.
76547         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
76548         INNETGR.
76549         (dbs): Add netgrdb entry.
76550         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
76551         (verify_persistent_db): Handle netgrdb.
76552         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
76553         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
76554         GETFDNETGR.
76555         (netgroup_response_header): Define.
76556         (innetgroup_response_header): Define.
76557         (datahead): Add netgroup_response_header and innetgroup_response_header
76558         elements.
76559         * nscd/nscd.conf: Add entries for netgroup cache.
76560         * nscd/nscd.h (dbtype): Add netgrdb.
76561         (_PATH_NSCD_NETGROUP_DB): Define.
76562         (netgroup_iov_disabled): Declare.
76563         (xmalloc, xcalloc, xrealloc): Move declarations here.
76564         (cache_search): Adjust prototype.
76565         Add netgroup-related prototypes.
76566         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
76567         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
76568         (__nscd_innetgr): Declare.
76569         * nscd/selinux.c (perms): Use access_vector_t as element type and
76570         add netgroup-related initializers.
76571         * nscd/netgroupcache.c: New file.
76572         * nscd/nscd_netgroup.c: New file.
76573         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
76574         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
76575         For four parameters use innetgr.
76576         * nss/nss_files/files-init.c: Add definition and callback for netgr.
76577         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
76578         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
76579         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
76581         * nscd/connections.c (register_traced_file): Don't register file
76582         for disabled databases.
76584 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
76586         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
76588         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
76589         from tree and freeing node.
76591 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
76593         * nss/nsswitch.c (__nss_database_lookup): Handle
76594         nss_parse_service_list out of memory case.
76596 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
76598         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
76599         out of memory case.
76601 2011-10-04  Andreas Schwab  <schwab@redhat.com>
76603         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
76604         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
76605         pass it down.
76606         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
76607         elf_machine_rela, elf_machine_lazy_rel.
76608         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
76609         (ELF_DYNAMIC_DO_REL): Likewise.
76610         (ELF_DYNAMIC_DO_RELA): Likewise.
76611         (ELF_DYNAMIC_RELOCATE): Likewise.
76612         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
76613         to ELF_DYNAMIC_DO_REL.
76614         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
76615         (dl_main): In trace mode always set __RTLD_NOIFUNC.
76616         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
76617         elf_machine_rela.
76618         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
76619         skip_ifunc, don't call ifunc function if non-zero.
76620         (elf_machine_rela): Likewise.
76621         (elf_machine_lazy_rel): Likewise.
76622         (elf_machine_lazy_rela): Likewise.
76623         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
76624         (elf_machine_lazy_rel): Likewise.
76625         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
76626         Likewise.
76627         (elf_machine_lazy_rel): Likewise.
76628         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76629         Likewise.
76630         (elf_machine_lazy_rel): Likewise.
76631         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
76632         (elf_machine_lazy_rel): Likewise.
76633         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
76634         (elf_machine_lazy_rel): Likewise.
76635         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
76636         (elf_machine_lazy_rel): Likewise.
76637         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
76638         (elf_machine_lazy_rel): Likewise.
76639         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
76640         (elf_machine_lazy_rel): Likewise.
76641         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
76642         (elf_machine_lazy_rel): Likewise.
76644 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
76646         * nss/nss_files/files-init.c (_nss_files_init): Use static
76647         initialization for all the *_traced_file variables.
76649 2011-09-28  Andreas Schwab  <schwab@redhat.com>
76651         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76653 2011-09-27  Roland McGrath  <roland@hack.frob.com>
76655         [BZ #13226]
76656         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
76658 2011-09-27  Andreas Schwab  <schwab@redhat.com>
76660         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76661         Reread the line before reparsing it.
76663 2011-09-26  Andreas Schwab  <schwab@redhat.com>
76665         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
76667 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
76668             Maxim Kuvyrkov  <maxim@codesourcery.com>
76669             Joseph Myers  <joseph@codesourcery.com>
76671         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
76672         if needed for __stack_chk_guard.
76674 2011-09-19  Roland McGrath  <roland@hack.frob.com>
76676         * sysdeps/posix/spawni.c (script_execute): Always define it.
76677         It will be optimized away if unused.
76678         (maybe_script_execute): New function.
76679         (__spawni): Call it.
76681         * Makerules: Don't include tls.make.
76682         (config-tls): Always set to thread.
76683         * tls.make.c: File removed.
76685 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
76687         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
76688         * config.make.in (CPPFLAGS-config): New substituted variable.
76690 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76692         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
76694         [BZ #13192]
76695         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
76696         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
76698 2011-09-15  Roland McGrath  <roland@hack.frob.com>
76700         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
76701         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
76702         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76703         (CALL_FAIL): Likewise.
76704         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
76705         (CALL_FAIL): Macro removed.
76706         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
76708 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76710         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
76711         for __FINITE_MATH_ONLY__ == 1.
76713 2011-09-15  Andreas Schwab  <schwab@redhat.com>
76715         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
76716         __ieee754_sqrt instead of sqrt.
76717         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
76718         __ieee754_sqrtf instead of sqrtf.
76719         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
76720         __floorf instead of floorf.
76721         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
76722         __floorf, __truncf instead of floorf, truncf.
76724 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
76726         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
76728         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
76729         __extern_always_inline.
76730         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
76731         32-bit.
76733 2011-09-14  Andreas Schwab  <schwab@redhat.com>
76735         * elf/rtld.c (dl_main): Also relocate in dependency order when
76736         doing symbol dependency testing.
76738 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
76740         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76741         Always define `refsym'.
76743 2011-09-13  Andreas Schwab  <schwab@redhat.com>
76745         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
76746         (__FD_ELT): Renamed from __FDELT.
76747         * misc/bits/select2.h (__FD_ELT): Likewise.
76748         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
76749         __FD_MASK instead of __FDELT, __FDMASK.
76750         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76751         Likewise.
76752         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76753         Likewise.
76755         * elf/Makefile (gen-ldd): Fix pattern.
76757         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
76758         (init_tls): Likewise.
76760 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
76762         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
76764 2011-09-12  Andreas Schwab  <schwab@redhat.com>
76766         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
76767         `struct cmsghdr *' instead of `void *'.
76768         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
76769         Likewise.
76771 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
76773         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
76774         if non-absolute.
76775         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
76776         ldd_rewrite_script.
76778 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
76780         * configure.in: Remove --with-tls option.
76781         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
76782         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
76783         out in case it is missing.
76784         * sysdeps/ia64/elf/configure.in: Likewise.
76785         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
76786         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
76787         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
76788         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
76789         * sysdeps/sh/elf/configure.in: Likewise.
76790         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
76791         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76792         * sysdeps/x86_64/elf/configure.in: Likewise.
76793         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
76794         * sysdeps/mach/hurd/tls.h: Likewise.
76796         [BZ #13067]
76797         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
76799         [BZ #13090]
76800         * configure.in: Fix use of AC_INIT.
76802         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
76804 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
76806         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
76807         __set_errno.
76808         * malloc/hooks.c: Likewise.
76810         [BZ #11929]
76811         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
76812         variables statically.
76813         (narenas): Initialize.
76814         (list_lock): Initialize.
76815         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
76816         initializtion of main_arena and list_lock.  Small cleanups.
76817         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
76818         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
76819         Add initializers to main_arena and mp_.
76820         (malloc_state): Remove pagesize member.  Change all users to use
76821         GLRO(dl_pagesize).
76823         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
76824         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
76825         is always initialized.
76827         * malloc/malloc.c: Removed unused configurations and dead code.
76828         * malloc/arena.c: Likewise.
76829         * malloc/hooks.c: Likewise.
76830         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
76832         * include/tls.h: Removed.  USE___THREAD must always be defined.
76833         * bits/libc-tsd.h: Don't handle !USE___THREAD.
76834         * elf/dl-libc.c: Likewise.
76835         * elf/dl-tsd.c: Likewise.
76836         * include/errno.h: Likewise.
76837         * include/netdb.h: Likewise.
76838         * include/resolv.h: Likewise.
76839         * inet/herrno-loc.c: Likewise.
76840         * inet/herrno.c: Likewise.
76841         * malloc/arena.c: Likewise.
76842         * malloc/hooks.c: Likewise.
76843         * malloc/malloc.c: Likewise.
76844         * resolv/res-state.c: Likewise.
76845         * resolv/res_libc.c: Likewise.
76846         * sysdeps/i386/dl-machine.h: Likewise.
76847         * sysdeps/ia64/dl-machine.h: Likewise.
76848         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
76849         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
76850         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
76851         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
76852         * sysdeps/sh/dl-machine.h: Likewise.
76853         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76854         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76855         * sysdeps/unix/i386/sysdep.S: Likewise.
76856         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
76857         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
76858         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
76859         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
76860         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
76861         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
76862         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
76863         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76864         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76865         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
76866         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76867         * sysdeps/x86_64/dl-machine.h: Likewise.
76868         * tls.make.c: Likewise.
76870         * configure.in: Remove --with-__thread option.  Make tests for
76871         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
76872         tls_model attribute fail if no support is available.  Remove
76873         USE_IN_LIBIO.
76874         * Makeconfig: Adjust for dropped configure option.  All features are
76875         now mandatory.
76876         * Makerules: Likewise.
76877         * Versions.def: Likewise.
76878         * argp/argp-fmtstream.c: Likewise.
76879         * argp/argp-fmtstream.h: Likewise.
76880         * argp/argp-help.c: Likewise.
76881         * assert/assert.c: Likewise.
76882         * config.h.in: Likewise.
76883         * config.make.in: Likewise.
76884         * configure: Likewise.
76885         * configure.in: Likewise.
76886         * csu/Versions: Likewise.
76887         * csu/init.c: Likewise.
76888         * elf/tst-audit2.c: Likewise.
76889         * elf/tst-tls10.c: Likewise.
76890         * elf/tst-tls10.h: Likewise.
76891         * elf/tst-tls11.c: Likewise.
76892         * elf/tst-tls12.c: Likewise.
76893         * elf/tst-tls14.c: Likewise.
76894         * elf/tst-tlsmod11.c: Likewise.
76895         * elf/tst-tlsmod12.c: Likewise.
76896         * elf/tst-tlsmod13.c: Likewise.
76897         * elf/tst-tlsmod13a.c: Likewise.
76898         * elf/tst-tlsmod14a.c: Likewise.
76899         * elf/tst-tlsmod15b.c: Likewise.
76900         * elf/tst-tlsmod16a.c: Likewise.
76901         * elf/tst-tlsmod16b.c: Likewise.
76902         * elf/tst-tlsmod7.c: Likewise.
76903         * elf/tst-tlsmod8.c: Likewise.
76904         * elf/tst-tlsmod9.c: Likewise.
76905         * gmon/gmon.c: Likewise.
76906         * grp/fgetgrent_r.c: Likewise.
76907         * grp/putgrent.c: Likewise.
76908         * hurd/fopenport.c: Likewise.
76909         * include/libc-symbols.h: Likewise.
76910         * include/tls.h: Likewise.
76911         * intl/gettextP.h: Likewise.
76912         * intl/loadinfo.h: Likewise.
76913         * locale/global-locale.c: Likewise.
76914         * locale/localeinfo.h: Likewise.
76915         * mach/devstream.c: Likewise.
76916         * malloc/arena.c: Likewise.
76917         * malloc/set-freeres.c: Likewise.
76918         * misc/err.c: Likewise.
76919         * misc/getttyent.c: Likewise.
76920         * misc/mntent_r.c: Likewise.
76921         * posix/getopt.c: Likewise.
76922         * posix/wordexp.c: Likewise.
76923         * pwd/fgetpwent_r.c: Likewise.
76924         * resolv/Versions: Likewise.
76925         * resolv/res_hconf.c: Likewise.
76926         * shadow/fgetspent_r.c: Likewise.
76927         * shadow/putspent.c: Likewise.
76928         * stdio-common/printf_fphex.c: Likewise.
76929         * stdio-common/tmpfile.c: Likewise.
76930         * stdlib/abort.c: Likewise.
76931         * stdlib/fmtmsg.c: Likewise.
76932         * sunrpc/auth_unix.c: Likewise.
76933         * sunrpc/clnt_perr.c: Likewise.
76934         * sunrpc/clnt_tcp.c: Likewise.
76935         * sunrpc/clnt_udp.c: Likewise.
76936         * sunrpc/clnt_unix.c: Likewise.
76937         * sunrpc/openchild.c: Likewise.
76938         * sunrpc/svc_simple.c: Likewise.
76939         * sunrpc/svc_tcp.c: Likewise.
76940         * sunrpc/svc_udp.c: Likewise.
76941         * sunrpc/svc_unix.c: Likewise.
76942         * sunrpc/xdr.c: Likewise.
76943         * sunrpc/xdr_array.c: Likewise.
76944         * sunrpc/xdr_rec.c: Likewise.
76945         * sunrpc/xdr_ref.c: Likewise.
76946         * sunrpc/xdr_stdio.c: Likewise.
76948 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76950         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76952 2011-07-03  Andreas Jaeger  <aj@suse.de>
76954         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
76955         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
76956         regenerate with gen-libm-tests.pl.
76958 2010-05-12  Petr Baudis  <pasky@suse.cz>
76960         [BZ #11589]
76961         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
76962         around j0() zero points by switching to j1().
76963         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76964         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76965         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76966         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76968 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76970         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
76971         instead of 0.
76972         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
76973         instead of 0.
76974         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76975         Patch in part by Pavel Roskin <proski@gnu.org>.
76977         [BZ #13138]
76978         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
76979         realloc.
76980         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
76981         Free memory block if necessary.
76983         [BZ #12847]
76984         * libio/genops.c (INTDEF): For string streams the _lock pointer can
76985         be NULL.  Don't lock in this case.
76987 2011-09-09  Roland McGrath  <roland@hack.frob.com>
76989         * elf/elf.h (ELFOSABI_GNU): New macro.
76990         (ELFOSABI_LINUX): Define to that.
76992 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
76994         * string/strncat.c (strncat): Undef the symbol in case it has been
76995         defined in bits/string.h.
76997 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76999         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
77001         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
77002         link map.
77004 2011-08-17  Andreas Jaeger  <aj@suse.de>
77006         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
77008 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
77009             Ian Lance Taylor  <iant@google.com>
77011         * math/libm-test.inc (lround_test): New testcase.
77012         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
77014 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
77016         * Makefile: Remove support for automatic cvs check-ins.
77017         * Makerules: Likewise.
77018         * config.make.in: Likewise.
77019         * configure.in: Likewise.
77020         * intl/Makefile: Likewise.
77021         * locale/Makefile: Likewise.
77022         * po/Makefile: Likewise.
77023         * posix/Makefile: Likewise.
77024         * sysdeps/gnu/Makefile: Likewise.
77025         * sysdeps/mach/hurd/Makefile: Likewise.
77026         * sysdeps/sparc/sparc32/Makefile: Likewise.
77028         [BZ #13118]
77029         * posix/Makefile (bug-regex32-ENV): Define.
77030         Patch by John Stanley <jpsinthemix@verizon.net>.
77032         * misc/Makefile (headers): Add bits/select2.h.
77033         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
77034         * misc/bits/select2.h: New file.
77035         * include/bits/select2.h: New file.
77036         * debug/Makefile (routines): Add fdelt_chk.
77037         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
77038         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
77039         FD_ISSET.
77040         * debug/fdelt_chk.c: New file.
77042         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
77043         * wcsmbs/test-wmemcmp.c: Likewise.
77044         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
77045         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
77047 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77049         * string/Makefile (strop-tests): Add memcmp.
77050         * string/test-wmemcmp.c: New file.
77051         * string/test-memcmp.c: Add wmemcmp support.
77053 2011-09-08  Roland McGrath  <roland@hack.frob.com>
77055         [BZ #13153]
77056         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
77057         2011-07-19 change.
77059         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
77060         garbage value in a __mach_port_mod_refs call in the cases of the
77061         task-self and thread-self ports.
77063 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77065         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
77067 2011-09-08  Andreas Schwab  <schwab@redhat.com>
77069         * elf/dl-load.c (lose): Check for non-null L.
77071 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77073         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
77075         * elf/dl-libc.c (dlerror_run): Pass back error code from
77076         dl_catch_error.
77078         [BZ #13123]
77079         * elf/dl-load.c (lose): Free l_origin if it is valid.
77081         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
77082         names.
77083         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
77084         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77085         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77086         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77087         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
77088         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
77090 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77092         * sysdeps/powerpc/fpu/e_hypot.c: New file.
77093         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
77094         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
77095         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
77096         * sysdeps/powerpc/fpu/k_cosf.c: New file.
77097         * sysdeps/powerpc/fpu/k_sinf.c: New file.
77098         * sysdeps/powerpc/fpu/s_cosf.c: New file.
77099         * sysdeps/powerpc/fpu/s_sinf.c: New file.
77100         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
77101         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
77103 2011-08-15  Alan Modra  <amodra@gmail.com>
77105         [BZ #13092]
77106         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
77107         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
77108         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
77109         ppc_mcount to static-only-routines.
77110         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
77111         __mcount_internal.
77112         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
77113         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
77115 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
77117         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
77118         for finite and infinity parameters.
77120 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
77122         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
77123         and add nop instructions for throughput optimization.
77124         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77126 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
77128         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
77129         aligned copy for power7 with vector-scalar instructions.
77130         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
77132 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
77134         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
77135         AVX check.
77137 2011-09-07  Andreas Schwab  <schwab@redhat.com>
77139         [BZ #13144]
77140         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
77141         last change.
77143 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77145         * sysdeps/unix/sysv/linux/x86_64/init-first.c
77146         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
77147         syscall wrapper around clock_gettime in __vdso_clock_gettime.
77148         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
77149         clock_gettime.
77151 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77153         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
77154         Forgot to demangle the pointer.
77156         * sysdeps/i386/sysdep.h: Define atom_text_section.
77157         * sysdeps/x86_64/sysdep.h: Likewise.
77158         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
77159         section with atom_text_section.
77160         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77161         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77162         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
77163         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77164         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
77166         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
77167         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
77168         already be defined.  Change to take two parameters and don't assign
77169         result to variable.  Adjust all users.
77170         Define INTERNAL_GETTIME if not already defined.
77171         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
77172         call.
77173         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
77174         HAVE_CLOCK_GETTIME_VSYSCALL.
77175         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
77177         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
77178         gettimeofday vsyscall, just use time.
77180 2011-09-06  Andreas Schwab  <schwab@redhat.com>
77182         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
77183         <errno.h>.
77185 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77187         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
77188         syscall on x86-64.
77189         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
77190         syscall.
77191         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
77192         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
77193         syscall if possible.
77195 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77197         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
77198         e_ident.  Don't pass to find_mapsXX.
77199         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
77201 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77203         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77204         strchr-sse2-no-bsf strrchr-sse2-no-bsf
77205         * sysdeps/x86_64/multiarch/strchr.S: Update.
77206         Check bit_slow_BSF bit.
77207         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
77208         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
77209         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
77211 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77213         [BZ #13134]
77214         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
77215         before glibc 2.15.
77216         (tryshell): Define.
77217         (__spawni): Change last parameter to be flag.  Test
77218         SPAWN_XFLAGS_USE_PATH flag to use path or not.
77219         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
77220         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
77221         * posix/spawni.c: Likewise.
77222         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
77223         * posix/spawnp.c: Likewise.  Change normal version to use
77224         SPAWN_XFLAGS_USE_PATH.
77225         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
77226         SPAWN_XFLAGS_TRY_SHELL.
77228         [BZ #13150]
77229         * posix/glob.h: Remove gcc 1.x support.
77231         [BZ #13068]
77232         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
77234 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77236         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77237         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
77238         strrchr-sse2-bsf
77239         * sysdeps/i386/i686/multiarch/strchr.S: New file.
77240         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
77241         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
77242         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
77243         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
77244         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
77246 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77248         * sysdeps/x86_64/wcscmp.S: New file.
77250         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
77251         wcscmp-c wcscmp-sse2
77252         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
77253         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
77254         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
77255         * wcsmbs/wcscmp.c: Allow renaming.
77257 2011-09-05  David S. Miller  <davem@davemloft.net>
77259         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
77260         stack slot, rather than the struct return pointer slot.
77261         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
77262         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
77263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
77264         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
77266 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77268         * po/ja.po: Update from translation team.
77270         [BZ #13144]
77271         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
77272         kernel in 64-bit binaries.
77274 2011-09-01  David S. Miller  <davem@davemloft.net>
77276         * elf/elf.h (HWCAP_SPARC_*): Move to..
77277         * sysdeps/sparc/sysdep.h: this new file and add new values.
77278         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
77279         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
77280         _DL_HWCAP_COUNT to 24.
77281         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77282         entries.
77283         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
77284         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
77285         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
77286         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
77287         instead of magic constants.
77288         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77290 2011-08-31  David S. Miller  <davem@davemloft.net>
77292         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
77293         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
77294         Reimplement to do errno handling inline.
77295         (SYSCALL_ERROR_HANDLER): New macro.
77296         (__SYSCALL_STRING): Do not do errno handling in asm.
77297         (__CLONE_SYSCALL_STRING): Delete.
77298         (__INTERNAL_SYSCALL_STRING): Delete.
77299         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
77300         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
77301         (PSEUDO): Reimplement to do errno handling inline.
77302         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
77303         (SYSCALL_ERROR_HANDLER): New macro.
77304         (__SYSCALL_STRING): Do not do errno handling in asm.
77305         (__CLONE_SYSCALL_STRING): Delete.
77306         (__INTERNAL_SYSCALL_STRING): Delete.
77307         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
77308         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
77309         i386.
77310         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
77311         (inline_syscall*): Add 'err' argument.
77312         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
77313         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
77314         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
77315         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
77317         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
77318         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77320 2011-08-30  Andreas Schwab  <schwab@redhat.com>
77322         * elf/rtld.c (dl_main): Relocate objects in dependency order.
77324 2011-08-29  Jiri Olsa <jolsa@redhat.com>
77326         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
77327         directive.
77329 2011-08-24  David S. Miller  <davem@davemloft.net>
77331         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
77333 2011-08-24  Andreas Schwab  <schwab@redhat.com>
77335         * elf/Makefile: Add rules to build and run unload8 test.
77336         * elf/unload8.c: New file.
77337         * elf/unload8mod1.c: New file.
77338         * elf/unload8mod1x.c: New file.
77339         * elf/unload8mod2.c: New file.
77340         * elf/unload8mod3.c: New file.
77342         * elf/dl-close.c (_dl_close_worker): Reset private search list if
77343         it wasn't used.
77345 2011-08-23  David S. Miller  <davem@davemloft.net>
77347         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
77348         subtract stack bias.
77349         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
77350         %sp not %fp in calculations.
77351         (_JMPBUF_UNWINDS_ADJ): Likewise.
77353         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
77354         (aio_suspend): Call it to force an exception region around the
77355         AIO_MISC_WAIT() invocation.
77357 2011-08-23  Andreas Schwab  <schwab@redhat.com>
77359         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
77360         backslash.
77362 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
77364         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
77365         protection macro.
77366         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
77367         and <dl-machine.h>.
77368         (Elf64_FuncDesc): Remove.
77370 2011-08-22  David S. Miller  <davem@davemloft.net>
77372         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
77373         sigaltstack check, add missing cfi directives.
77374         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
77375         missing cfi directives, and sigaltstack handling.
77377 2011-08-16  Andreas Schwab  <schwab@redhat.com>
77379         [BZ #11724]
77380         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
77381         object is seen twice.
77382         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77384         * elf/Makefile (distribute): Add tst-initorder2.c.
77385         (tests): Add tst-initorder2.
77386         (modules-names): Add tst-initorder2a tst-initorder2b
77387         tst-initorder2c tst-initorder2d.  Add rules to build them.
77388         ($(objpfx)tst-initorder2.out): New rule.
77389         * elf/tst-initorder2.c: New file.
77390         * elf/tst-initorder2.exp: New file.
77392 2011-08-22  Andreas Schwab  <schwab@redhat.com>
77394         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
77396         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
77397         dependencies back to end of function.
77399         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77400         $(elfobjdir)/ld.so.
77402 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
77404         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
77405         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
77406         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
77407         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
77408         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
77409         of __vdso_gettimeofday.
77410         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
77411         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
77412         attribute_hidden.
77413         (_libc_vdso_platform_setup): Remove initialization of
77414         __vdso_gettimeofday and __vdso_time.
77416 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77418         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
77419         and fgetc_unlocked.
77420         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
77421         getc_unlocked.
77423         * elf/dl-open.c (add_to_global): Report additions to the global scope
77424         for LD_DEBUG=scopes.
77425         (dl_open_worker): Also print scope of newly loaded dependencies.
77426         (_dl_show_scope): Indicate if there is no scope.
77428         [BZ #13114]
77429         * stdio-common/Makefile (tests): Add bug24.
77430         * stdio-common/bug24.c: New file.
77432 2011-08-19  Andreas Jaeger  <aj@suse.de>
77434         [BZ #13114]
77435         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
77436         non-existant file when using close-on-exec mode.
77438 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77440         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
77441         the very first instruction.
77443         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
77444         the CFI state in the end.
77445         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
77446         inclusion of dl-trampoline.h.
77447         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
77449 2011-08-19  Andreas Schwab  <schwab@redhat.com>
77451         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
77452         expectations for long double.
77454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
77455         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
77457 2011-08-14  David S. Miller  <davem@davemloft.net>
77459         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
77460         artificual limit depends upon the system page size.
77462 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77464         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
77465         * resolv/Makefile: Define CFLAGS-libresolv.
77467 2011-08-17  Andreas Schwab  <schwab@redhat.com>
77469         * nss/makedb.c (compute_tables): Make variables used in nested
77470         function static.
77472 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77474         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
77475         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
77476         if buffer was too small.
77478         * elf/pldd.c (main): Attach to all threads in the process.
77479         Rewrite /proc handling to use *at functions.
77481 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
77483         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
77484         specifies first scope to show.
77485         (dl_open_worker): Update callers.  Move printing scope of new
77486         object to before the relocation.
77487         * elf/rtld.c (dl_main): Update _dl_show_scope call.
77488         * sysdeps/generic/ldsodefs.h: Update declaration.
77490         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
77491         string for the scope number.
77493 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
77495         * nscd/servicescache.c (cache_addserv): Make sure written is always
77496         initialized.
77498 2011-08-14  Roland McGrath  <roland@hack.frob.com>
77500         * sysdeps/i386/i486/bits/atomic.h
77501         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
77502         statement expression, so as to suppress "set but not used" warning.
77503         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
77505         * string/strncat.c (STRNCAT): Use prototype definition.
77507         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
77508         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
77509         -Iprograms here.
77510         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
77511         (localedef-modules): Add localedef.
77512         (locale-modules): Add locale.
77514         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
77515         * elf/rtld.c (dl_main): Invert order of assignment in last change,
77516         to avoid a warning.
77518 2011-08-14  David S. Miller  <davem@davemloft.net>
77520         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
77521         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
77523 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
77525         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
77526         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
77527         * elf/rtld.c (dl_main): Set l_name of vDSO.
77528         Call _dl_show_scope when DL_DEBUG_SCOPES.
77529         (process_dl_debug): Recognize scopes flag and also set it for all.
77530         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
77531         Declare _dl_show_scope.
77533         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
77534         (do_dlopen): Pass caller_dlopen to dl_open.
77535         (__libc_dlopen_mode): Initialize caller_dlopen.
77537         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
77538         of libc.  Make tolower call locale-independent.  Optimize a bit by
77539         using isdigit instead of isalnum.
77540         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
77542 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
77544         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
77545         was a dependency or dynamically loaded.
77547 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
77549         * intl/l10nflist.c: Allow architecture-specific pop function.
77550         * sysdeps/x86_64/l10nflist.c: New file.
77552         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
77553         classification.
77555 2011-08-10  Andreas Schwab  <schwab@redhat.com>
77557         * include/dirent.h: Add libc_hidden_proto for scandirat and
77558         scandirat64.  Don't declare __scandirat64.
77559         * dirent/scandirat.c: Add libc_hidden_def.
77560         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
77561         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
77563 2011-08-10  David S. Miller  <davem@davemloft.net>
77565         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
77566         enum.
77567         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77568         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77569         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77571 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
77573         * Versions.def [libc]: Add GLIBC_2.15.
77574         * dirent/Makefile (routines): Add scandirat and scandirat64.
77575         * dirent/Versions [libc]: Export scandirat and scandirat64 for
77576         GLIBC_2.15.
77577         * dirent/dirent.h: Declare scandirat and scandirat64.
77578         * dirent/scandirat.c: New file.
77579         * dirent/scandirat64.c: New file.
77580         * sysdeps/wordsize-64/scandirat.c: New file.
77581         * sysdeps/wordsize-64/scandirat64.c: New file.
77582         * dirent/opendir.c: Define opendirat.
77583         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
77584         using scandirat.
77585         * dirent/scandir64.c: Adjust for scandir.c change.
77586         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
77587         __scandirat64, and __scandir_cancel_handler.
77588         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
77589         additional parameter and use openat instead of open (outside of ld.so).
77590         Add new __opendir as wrapper around __opendirat.
77591         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
77592         here without requiring old scandirat implementation.
77594 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
77596         * dirent/scandir.c (cancel_handler): Renamed to
77597         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
77598         defined.  Adjust users.
77599         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
77600         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
77602 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
77604         * string/test-string.h (IMPL): Use __STRING to expand name and then
77605         stringify it.
77607         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
77608         of cleanups.
77610 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77612         * string/Makefile: Update.
77613         (strop-tests): Append strncat.
77614         * string/test-wcscmp.c: New file.
77615         New comprehensive test for wcscmp.
77616         * string/test-strcmp.c: Update.
77617         (WIDE): New define.
77619 2011-07-22  Andreas Schwab  <schwab@redhat.com>
77621         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
77622         line.
77624 2011-07-26  Andreas Schwab  <schwab@redhat.com>
77626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77627         encoding to ACE if AI_IDN.
77629 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
77631         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
77632         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
77634 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77636         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
77637         Fix overflow bug in strncat.
77638         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
77640         * string/test-strncat.c: Update.
77641         Add new tests for checking overflow bugs.
77643 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77645         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77646         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
77647         * sysdeps/i386/i686/multiarch/strcat.S: New file.
77648         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
77649         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
77650         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
77651         * sysdeps/i386/i686/multiarch/strncat.S: New file.
77652         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
77653         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
77655         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
77656         (USE_AS_STRCAT): Define.
77657         Add strcat and strncat support.
77658         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77660 2011-07-25  Andreas Schwab  <schwab@redhat.com>
77662         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
77663         __n bigger than INT_MAX+1.
77664         (__strncmp_g): Likewise.
77666 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
77668         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
77669         * libio/stido.h: Likewise.
77671         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
77672         (AF_NFC): Define.
77673         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
77674         (AF_NFC): Define.
77676         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
77677         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77678         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77679         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
77680         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77682         [BZ #13021]
77683         * scripts/test-installation.pl: Don't expect libnss_test1 to be
77684         installed.
77686         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
77687         typo.
77688         (_dl_x86_64_save_sse): Likewise.
77690 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
77692         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
77693         OSXSAVE.
77694         (_dl_x86_64_save_sse): Likewise.
77696         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
77698         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
77700 2011-07-21  Andreas Schwab  <schwab@redhat.com>
77702         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
77703         change.
77704         (_dl_x86_64_save_sse): Use correct AVX check.
77706 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77708         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
77709         bug in strncpy/strncat.
77710         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
77712 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
77714         * string/tester.c (test_strcat): Add tests for different alignments
77715         of source and destination.
77716         (test_strncat): Likewise.
77718 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77720         [BZ #12852]
77721         * posix/glob.c (glob): Check passed in values before using them in
77722         expressions to avoid some overflows.
77723         (glob_in_dir): Likewise.
77725         [BZ #13007]
77726         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
77727         check for AVX enablement so that we don't crash with old kernels and
77728         new hardware.
77729         * elf/tst-audit4.c: Add same checks here.
77730         * elf/tst-audit6.c: Likewise.
77732         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
77734 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
77736         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
77738 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77740         * po/cs.po: Update from translation team.
77741         * po/bg.po: Likewise.
77743 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
77745         * misc/sys/cdefs.h: Add support for const attribute.
77746         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
77747         to gnu_dev_{major,minor,makedev} functions.
77749 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
77751         * intl/dcigettext.c (get_output_charset): Add missing bracket.
77753 2011-07-20  Andreas Schwab  <schwab@redhat.com>
77755         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
77756         strlen results.
77758 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77760         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
77761         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
77762         register in order to avoid conflicts with the soft frame pointer
77763         being held in r11 when necessary.
77764         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
77765         (INTERNAL_VSYSCALL_NCS): Likewise.
77767 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
77769         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
77770         * elf/dl-fini.c (_dl_fini): Adjust caller.
77771         * elf/dl-close.c (_dl_close_worker): Likewise.
77772         * sysdeps/generic/ldsodefs.h: Adjust declaration.
77774 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77776         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
77777         "aux_cache->nlibs < 0".
77779         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
77780         in the reload-count case.
77782 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77784         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77785         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
77786         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
77787         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
77788         * sysdeps/x86_64/multiarch/strcat.S: New file.
77789         * sysdeps/x86_64/multiarch/strncat.S: New file.
77790         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
77791         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
77792         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
77793         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
77794         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
77795         (USE_AS_STRCAT): Define.
77796         Add strcat and strncat support.
77797         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77798         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
77799         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
77800         * string/strncat.c: Update.
77801         (USE_AS_STRNCAT): Define.
77802         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77803         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
77804         and i7.
77805         * sysdeps/x86_64/multiarch/init-arch.h
77806         (bit_Prefer_PMINUB_for_stringop): New.
77807         (index_Prefer_PMINUB_for_stringop): Likewise.
77808         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
77809         bit_Prefer_PMINUB_for_stringop.
77811 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77813         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
77814         buffer64.
77815         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
77816         of casting of buffer.
77817         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
77818         buffer32 and buffer64.
77819         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
77820         writes instead of casting of buffer.
77821         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
77822         buffer32.
77823         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
77824         casting of buffer.
77826 2011-07-19  Andreas Schwab  <schwab@redhat.com>
77828         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
77830 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77832         * nscd/nscd.c (termination_handler): Don't do anything for a database
77833         if it has not yet been initialized.
77835 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77837         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77839 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77841         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77843 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77845         * po/nl.po: Update from translation team.
77846         * po/sv.po: Likewise.
77848 2011-07-16  Roland McGrath  <roland@hack.frob.com>
77850         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
77851         now disallowed by GCC.
77853         * configure.in (use-default-link): Default to yes if a test -shared
77854         link meets our qualifications.
77855         * configure: Regenerated.
77857         * config.make.in (output-format): New variable.
77858         * configure.in: Check for ld --print-output-format support.
77859         * configure: Regenerated.
77860         * Makerules ($(common-objpfx)format.lds)
77861         [$(output-format) != unknown]: Just use $(output-format),
77862         instead of the linker-script munging.
77864 2011-07-14  Roland McGrath  <roland@hack.frob.com>
77866         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
77867         of $(common-objpfx)shlib.lds.
77868         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
77870         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
77871         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
77873         * configure.in (-z relro check): Adjust test code to add a large
77874         writable data section after it.
77875         * configure: Regenerated.
77877 2011-07-11  Roland McGrath  <roland@hack.frob.com>
77879         * configure.in (-z relro check): Fix test code to make the variable
77880         truly const.
77881         * configure: Regenerated.
77883 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
77885         * nscd/nscd.h (struct traced_file): Define.
77886         (struct database_dyn): Remove inotify_descr, reset_res, and filename
77887         elements.  Add traced_files.
77888         (inotify_fd): Declare.
77889         (register_traced_file): Declare.
77890         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
77891         (inotify_fd): Export.
77892         (resolv_conf_descr): Remove.
77893         (nscd_init): Move inotify descriptor creation to main.
77894         Don't register files for notification here.
77895         (register_traced_file): New function.
77896         (invalidate_cache): Don't use reset_res to determine whether to call
77897         res_init, go through the list of registered files.
77898         (main_loop_poll): The inotify descriptors are now stored in the
77899         structures for the traced files.
77900         (main_loop_epoll): Likewise.
77901         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
77902         to __nss_disable_nscd.
77903         * nscd/cache.c (prune_cache): There is no single inotify descriptor
77904         for a database anymore.  Check the records for all the registered
77905         files instead.
77906         * nss/Makefile (libnss_files-routines): Add files-init.
77907         (libnss_db-routines): Add db-init.
77908         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
77909         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
77910         * nss/nss_db/db-init.c: New file.
77911         * nss/nss_files/files-init.c: New file.
77912         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
77913         __nss_lookup_function.
77914         (__nss_lookup_function): Call nss_load_library.
77915         (nss_load_all_libraries): New function.
77916         (__nss_disable_nscd): Take parameter with callback function for files
77917         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
77918         used for the cached services.
77919         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
77920         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
77921         options for features to all the files in nscd.
77923         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
77925 2011-07-10  Roland McGrath  <roland@hack.frob.com>
77927         * csu/elf-init.c (__libc_csu_init): Comment typo.
77929 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
77931         * po/pl.po: Update from translation team.
77932         * po/ja.po: Likewise.
77933         * po/ru.po: Likewise.
77934         * po/ko.po: Likewise.
77935         * po/fr.po: Likewise.
77937 2011-07-09  Roland McGrath  <roland@hack.frob.com>
77939         * configure.in (.ctors/.dtors header and trailer check):
77940         Use an empirical test on a built program.
77941         * configure: Regenerated.
77943         * configure.in (-z relro check): Use an empirical test on a built DSO.
77944         Detect, but do not require, on ia64.
77945         * configure: Regenerated.
77947         * configure.in (READELF): Find it with AC_CHECK_TOOL.
77948         Update tests that use readelf to use $READELF instead.
77949         * configure: Regenerated.
77951 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
77953         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
77954         if the result is not used.
77956 2011-07-05  Andreas Jaeger  <aj@suse.de>
77958         [BZ#9696]
77959         * stdlib/tst-strtod.c: Add testcase.
77961 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
77963         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
77964         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
77965         The latter has a higher limit.  Take additional parameter to pass to
77966         the new function.
77967         (__pathconf): Pass file to __statfs_link_max.
77968         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
77969         __statfs_link_max.
77970         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
77971         __statfs_link_max.
77973         [BZ #12868]
77974         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
77975         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77976         Handle Lustre.
77977         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
77978         (__statfs_filesize_max): Likewise.
77979         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
77981 2011-07-05  Andreas Jaeger  <aj@suse.de>
77983         * resolv/res_comp.c (dn_skipname): Remove unused variable.
77985 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
77987         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
77988         `status' variable.
77989         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
77990         Likewise.
77992 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
77994         * Makefile (strop-tests): Add strncat.
77995         * string/test-strncat.c: New file.
77997 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
77999         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
78001 2011-06-21  Andreas Jaeger  <aj@suse.de>
78003         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
78004         Copy rule from iconvdata/Makefile.
78006 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78008         [BZ #12922]
78009         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
78010         but no long options are defined, just return 'W'.
78012 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
78014         [BZ #9696]
78015         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
78017 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78019         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
78020         netgroups to read.
78021         (innetgr): Likewise.
78023 2011-07-05  Roland McGrath  <roland@hack.frob.com>
78025         * config.make.in (install_root): Default to $(DESTDIR).
78027 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
78029         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
78031 2011-07-02  Roland McGrath  <roland@hack.frob.com>
78033         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
78035         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
78036         containing directory rather than embedding absolute directory names.
78038         * scripts/check-local-headers.sh: Rewritten using awk.
78039         Match by word, not by line.  Print error messages for matches.
78040         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
78042         * Makerules [shlib-lds-flags empty]:
78043         ($(common-objpfx)libc_pic.opts): New target.
78044         ($(common-objpfx)libc_pic.os.clean): New target.
78045         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
78047         * config.make.in (OBJCOPY): New variable.
78048         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
78049         * configure: Regenerated.
78051         * config.make.in (use-default-link): New variable.
78052         * configure.in (use_default_link): Grok --with-default-link to set it.
78053         * configure: Regenerated.
78054         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
78055         (shlib-lds, shlib-lds-flags): Define to empty.
78057         * Makerules (shlib-lds): New variable.
78058         (shlib-lds-flags): New variable.
78059         (build-shlib, build-moduile, build-module-asneeded): Use it.
78060         ($(common-objpfx)libc.so): Use $(shlib-lds).
78061         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
78062         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
78064         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
78065         DT_FLAGS/DT_FLAGS_1 with zero flags.
78067         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
78068         linker script munging.
78070 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
78072         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
78073         as 128-bit value.
78074         * crypt/sha512.c (sha512_process_block): Perform total addition using
78075         128-bit if possible.
78076         (__sha512_finish_ctx): Likewise.
78077         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
78078         as 64-bit value.
78079         * crypt/sha256.c (SWAP64): Define.
78080         (sha256_process_block): Perform total addition using 64-bit if
78081         possible.
78082         (__sha256_finish_ctx): Likewise.
78084 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
78086         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
78087         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78088         * nscd/hstcache.c (cache_addhst): Likewise.
78089         * nscd/grpcache.c (cache_addgr): Likewise.
78090         * nscd/aicache.c (addhstaiX): Likewise.
78091         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
78093 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
78095         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
78096         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78097         * nscd/hstcache.c (cache_addhst): Likewise.
78098         * nscd/grpcache.c (cache_addgr): Likewise.
78099         * nscd/aicache.c (addhstaiX): Likewise.
78101 2011-07-01  Andreas Schwab  <schwab@redhat.com>
78103         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
78104         domain only when needed.
78106 2011-06-30  Andreas Schwab  <schwab@redhat.com>
78108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
78109         is always restored.
78111 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
78113         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
78114         are re-adding the entry.
78115         * nscd/servicescache.c (cache_addserv): Likewise.
78117 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
78119         * sysdeps/generic/dl-irel.h: fix protection against multiple
78120         inclusions.
78121         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
78123 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
78125         [BZ #12935]
78126         * malloc/memusage.sh: Fix quoting in message.
78127         * debug/xtrace.sh: Likewise.
78129         * configure.in: Remove support for --experimental-malloc option, make
78130         it the default.
78131         * config.make.in: Likewise.
78132         * malloc/Makefile: Likewise.
78134 2011-06-27  Andreas Schwab  <schwab@redhat.com>
78136         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
78137         two-byte characters.
78139 2011-06-27  Roland McGrath  <roland@hack.frob.com>
78141         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
78142         AC_CACHE_CHECK invocation.
78143         * configure: Regenerated.
78145         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
78147 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
78149         [BZ #12350]
78150         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
78151         bit from old_res_options.
78153         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
78155         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
78156         value type for setfct.
78158 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
78160         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78161         __gettimeofday instead of gettimeofday.
78163 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
78165         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
78167 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
78169         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
78171         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
78172         info.
78174 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78176         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78177         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78178         strcpy-sse2-unaligned strncpy-sse2-unaligned
78179         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
78180         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
78181         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
78182         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
78183         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
78184         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
78185         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
78186         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
78187         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
78188         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
78189         (STRCPY): Support SSE2 and SSSE3 versions.
78191 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
78193         [BZ #12874]
78194         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
78195         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
78196         kernels which artificially limit size of requests.
78198 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78200         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78201         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78202         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
78203         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
78204         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
78205         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
78206         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
78207         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
78208         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
78209         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
78210         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
78211         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
78212         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
78213         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
78214         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
78215         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78216         Enable unaligned load optimization for Intel Core i3, i5 and i7
78217         processors.
78218         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
78219         Define.
78220         (index_Fast_Unaligned_Load): Define.
78221         (HAS_FAST_UNALIGNED_LOAD): Define.
78223 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
78225         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
78227 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78229         [BZ #12907]
78230         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
78231         until it is clear that the information is realy needed.
78232         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
78234 2011-06-22  Andreas Schwab  <schwab@redhat.com>
78236         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
78238 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78240         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78241         /sys/devices/system/cpu/online if it is usable.
78243         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
78244         reading the information from the /proc filesystem to once a second.
78246 2011-06-21  Andreas Jaeger  <aj@suse.de>
78248         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
78249         NULL after inclusion of kernel headers.
78251 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
78253         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
78254         calls to internal_setent.
78256         [BZ #12885]
78257         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
78258         addresses using gethostbyname4_r ignore IPv4 addresses.
78260         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
78261         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
78263         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
78265 2011-06-20  David S. Miller  <davem@davemloft.net>
78267         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
78268         inclusions.
78269         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
78271         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
78272         (elf_irel): Use it.
78273         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
78274         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
78275         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
78276         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
78277         * sysdeps/x86_64/dl-irel.h: Likewise.
78279         * elf/dl-runtime.c: Use elf_ifunc_invoke.
78280         * elf/dl-sym.c: Likewise.
78282 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78284         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
78285         need to dereference resplen2.
78287 2011-06-14  Andreas Schwab  <schwab@redhat.com>
78289         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
78291 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78293         * Makeconfig: Define vardbdir and inst_vardbdir.
78294         * nss/Makefile: Add rules to install db-Makefile.
78296         * nss/nss_db/db-XXX.c: Cleanup.
78298         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
78299         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
78300         GLIBC_PRIVATE.
78301         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
78302         * nss/makedb.c: Implement -g option to specify that value strings
78303         are generated and should not be added to table iterated over for
78304         get*ent calls.
78305         * nss/nss_db/db-initgroups.c: New file.
78307         * nss/getent.c: Add support for initgroups lookups through getgrouplist
78308         interface.
78310         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
78311         (internal_getgrouplist): Adjust to name change.
78312         Update use_initgroups_entry if this is not the first call.
78313         * nss/databases.def: Add initgroups entry.
78315         * nss/makedb.c (compute_tables): Check result of multiple hash table
78316         sizes to minimize maximum chain length.
78318 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
78320         * Versions.def: Add entry for libnss_db.
78321         * shlib-versions: Likewise.
78322         * nss/Makefile: Add rules to build libnss_db.
78323         * nss/Versions: Add libnss_db information.  Organize libnss_files
78324         entries better.
78325         * nss/db-Makefile: Add gshadow support.  Change rules for the new
78326         makedb progra.  Some minor improvements to generate smaller files.
78327         * nss/nss_db/nss_db.h: Move NSS database header data structures to
78328         here from...
78329         * nss/makedb.c: ...here.
78330         Improve database format to be smaller and require less memory at
78331         runtime.
78332         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
78333         db anymore.
78334         * nss/nss_db/db-netgrp.c: Likewise.
78335         * nss/nss_db/db-open.c: Likewise.
78336         * nss/nss_files/flies-XXX.x: Adjust comments.
78337         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
78338         * nss/nss_files/files-grp.c: Likewise.
78339         * nss/nss_files/files-hosts.c: Likewise.
78340         * nss/nss_files/files-network.c: Likewise.
78341         * nss/nss_files/files-proto.c: Likewise.
78342         * nss/nss_files/files-pwd.c: Likewise.
78343         * nss/nss_files/files-rpc.c: Likewise.
78344         * nss/nss_files/files-service.c: Likewise.
78345         * nss/nss_files/files-sgrp.c: Likewise.
78346         * nss/nss_files/files-spwd.c: Likewise.
78347         * nss/nss_db/db-alias.c: Removed.
78348         * nss/nss_db/dummy-db.h: Removed.
78350 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
78352         * nss/makedb.c: Rewritten to not use database library.
78353         * nss/Makefile: Update to build new makedb program.
78355 2011-06-14  Andreas Jaeger  <aj@suse.de>
78357         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
78358         memset declaration.
78360 2011-06-10  Andreas Schwab  <schwab@redhat.com>
78362         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
78363         tmpbuf.
78365 2011-06-10  Roland McGrath  <roland@hack.frob.com>
78367         * Makerules (shlib.lds): Fail if the linker script comes out empty.
78368         * elf/Makefile ($(objpfx)ld.so): Likewise.
78370         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
78371         Don't list ld.so twice in dependencies.
78373         * posix/bug-regex31.c: Include <stdlib.h>.
78375         * nscd/hstcache.c (cache_addhst): Remove unused variable.
78377         * nis/nss_compat/compat-spwd.c
78378         (getspent_next_nss_netgr): Remove unused variable.
78379         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
78381         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
78382         nonmembers" output to use the right array.
78384         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
78386         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
78388         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
78389         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
78390         * catgets/gencat.c (read_input_file): Likewise.
78391         * locale/programs/locarchive.c (enlarge_archive): Likewise.
78393         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
78394         variable definition inside #if's controlling its use.
78396         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
78398         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
78400         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
78402         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
78403         unreachable code.
78405         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
78407         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
78408         * configure: Regenerated.
78410         * Makerules: Revert last change.
78411         * elf/Makefile: Likewise.
78413 2011-06-09  Roland McGrath  <roland@hack.frob.com>
78415         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
78416         * elf/Makefile ($(objpfx)librtld.os): Likewise.
78417         (reloc-link): Likewise.
78419 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
78421         * elf/Makefile: Add rules to build pldd.
78422         * elf/pldd.c: New file.
78423         * elf/pldd-xx.c: New file.
78425 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
78427         * version.h: Update for 2.15 development version.
78429 2011-06-07  David S. Miller  <davem@davemloft.net>
78431         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
78432         ifuncs.
78433         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
78434         elf_machine_lazy_rel): Likewise.
78435         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
78436         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
78437         elf_machine_lazy_rel): Likewise.
78438         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
78439         dl_hwcap via passed in argument.
78440         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
78441         Likewise.
78443 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78445         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
78447 2011-06-06  Roland McGrath  <roland@hack.frob.com>
78449         [BZ #12849]
78450         * manual/fdl-1.1.texi: New file, verbatim from:
78451         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
78452         * manual/lgpl-2.1.texi: New file, verbatim from:
78453         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
78454         * manual/Makefile (licenses): New variable, list those new file names.
78455         (texis): Use it.
78456         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
78458         * manual/fdl.texi: File removed.
78459         * manual/lesser.texi: File removed.
78460         * manual/libc.texinfo (Copying, Documentation License):
78461         Use new @include file names, put @appendix directive before @include.
78463 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
78465         [BZ #12841]
78466         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
78467         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
78468         (mq_open): Add __NTH.
78470 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
78472         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78473         Assume Intel Core i3/i5/i7 processor if AVX is available.
78475 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78477         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78478         typo.
78480 2011-05-31  Andreas Schwab  <schwab@redhat.com>
78482         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
78483         memory.  Use alloca_account.  Fix memory leak when retrying.
78485 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78487         * version.h (RELEASE): Bump for 2.14 release.
78488         * include/features.h (__GLIBC_MINOR__): Bump to 14.
78490         * config.make.in (RANLIB): Remove entry.
78492 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
78494         * po/Makefile (po-sed-cmd): Add ksh to extensions.
78495         (libc.pot): Work around missing support for .ksh extension in xgettext.
78497         [BZ #12684]
78498         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
78499         if both request failed.
78500         (send_dg): In case of server errors clear resplen or *resplen2.
78502         [BZ #12454]
78503         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
78504         when there are multiple maps.
78505         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
78506         (_dl_fini): Remove test here.
78508         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
78510 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
78512         [BZ #12350]
78513         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
78514         bit from old_res_options.
78515         (gaih_inet): Likewise.
78517         [BZ #11099]
78518         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
78519         as signed.
78521         * resolv/res_init.c (res_setoptions): Make the code more compact.
78523         [BZ #11558]
78524         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
78525         set RES_USEVC.
78527         [BZ #11634]
78528         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
78530         * malloc/malloc.h: Mark malloc hook variables as deprecated.
78532         [BZ #11781]
78533         * malloc/malloc.h: Declare malloc hook variables as volatile.
78535         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
78536         in last patch.
78538         [BZ #11799]
78539         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
78540         raise in the comment.
78541         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
78542         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
78543         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
78545 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
78547         [BZ #12811]
78548         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
78549         grow the buffers more if it already has to be sufficient.
78550         (build_wcs_upper_buffer): Likewise.
78551         * posix/regexec.c (check_matching): Likewise.
78552         (clean_state_log_if_needed): Likewise.
78553         (extend_buffers): Don't enlarge buffers beyond size of the input
78554         buffer.
78555         Patches mostly by Emil Wojak <emil@wojak.eu>.
78556         * posix/bug-regex32.c: New file.
78557         * posix/Makefile (tests): Add bug-regex32.
78559         * locale/findlocale.c (_nl_find_locale): Return right away if
78560         _nl_explode_name failed.
78561         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
78563         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
78565         * debug/xtrace.sh: Unify messages.
78566         * malloc/memusage.sh: Likewise.
78568         [BZ #12813]
78569         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
78570         time symbol from vDSO.  Substitute with vsyscall if not available.
78571         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
78572         __vdso_time.
78574         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
78575         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
78576         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
78577         Add sendmmsg and internal_sendmmsg.
78578         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
78579         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
78580         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
78582         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
78583         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
78584         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
78586 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
78588         [BZ #12813]
78589         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
78590         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
78591         available.
78592         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
78593         __vdso_getcpu.
78595         [BZ #12814]
78596         * iconvdata/Makefile (tests): Add bug-iconv9.
78597         * iconvdata/bug-iconv9.c: New file.
78599 2011-05-27  Andreas Schwab  <schwab@redhat.com>
78601         [BZ #12814]
78602         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
78604 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
78606         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78607         (struct user_regs_struct): Change intcs field back to cs.
78609 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
78611         * po/ja.po: Update from translation team.
78613 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
78615         [BZ #12795]
78616         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
78617         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
78619 2011-05-20  Andreas Schwab  <schwab@redhat.com>
78621         * stdlib/longlong.h: Update from GCC.
78623 2011-05-23  Andreas Schwab  <schwab@redhat.com>
78625         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
78626         parameter name.
78627         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
78628         Add parameter name.
78629         (__sysconf): Pass it down.
78631 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
78633         [BZ #12671]
78634         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
78635         some situations.
78636         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
78637         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
78638         add in in __libc_use_alloca calls.  Adjust callers.
78639         (glob): Use malloc in some situations.
78641         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
78642         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
78643         pltexit.
78645 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
78647         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
78648         and CLOCK_BOOTTIME_ALARM.
78650         [BZ #12782]
78651         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
78652         is returned.
78654         * string/_strerror.c (__strerror_r): Print negative errors as signed
78655         numbers.
78657         [BZ #12777]
78658         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
78659         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
78660         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
78662         * configure.in: Fix typo in redirection and correct removal of test
78663         files in two cases.
78665         [BZ #12788]
78666         * locale/setlocale.c (new_composite_name): Fix test to check for
78667         identical name of all categories.
78669         [BZ #12792]
78670         * libio/filedoalloc.c (local_isatty): New function.
78671         (_IO_file_doallocate): Use local_isatty.
78672         * stdio-common/perror.c (perror): In case a new stream is used
78673         forward the stream error.
78674         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
78675         error flag.
78677 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
78679         [BZ #11884]
78680         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
78681         alloca.
78682         * include/alloca.h (extend_alloca_account): Define.
78684         [BZ #11857]
78685         * posix/regex.h: Fix comments with documentation of user-accessible
78686         fields after compilation and describe correct free'ing of pattern
78687         after re_compile_pattern.
78688         Patch by Reuben Thomas <rrt@sc3d.org>.
78690 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
78692         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
78693         and -mno-altivec to prevent the compiler from using Altivec and/or
78694         VSX instructions when the corresponding registers are not available.
78696 2011-05-19  Andreas Schwab  <schwab@redhat.com>
78698         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
78700 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
78702         * libio/freopen.c (freopen): Use __dup2, not dup2.
78703         * libio/freopen64.c (freopen64): Likewise.
78705 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78707         [BZ #12775]
78708         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
78709         * math/Makefile (tests): Add test-powl.
78710         (CFLAGS-test-powl.c): Define.
78711         * math/test-powl.c: New file.
78713 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78715         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
78717 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
78719         [BZ #11837]
78720         * iconvdata/gb18030.c: Update to GB18020-2005.
78722 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
78724         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
78725         RE_SYNTAX_POSIX_AWK): Update to match recent development.
78726         Patch by Aharon Robbins <arnold@skeeve.com>.
78728         [BZ #11892]
78729         * stdlib/putenv.c (putenv): Don't always create copy of the variable
78730         on the stack.
78732         [BZ #11895]
78733         * misc/pselect.c (__pselect): Handle timeout value errors hidden
78734         through underflows.
78736         [BZ #12766]
78737         * misc/error.c (error_at_line): Ensure file_name and old_file_name
78738         point to strings before performing equality test for error_one_per_line
78739         mode.
78741         [BZ #11697]
78742         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
78744         [BZ #11820]
78745         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78746         (struct user_fpregs_struct): Avoid __uint*_t types.
78748         [BZ #6420]
78749         * malloc/mtrace.c (tr_where): Add additional parameter to point to
78750         symbol info.  Use it instead of calling _dl_addr locally.
78751         (lock_and_info): New function.
78752         (tr_freehook): Call lock_and_info and pass symbol info as additional
78753         parameter to tr_where.
78754         (tr_mallochook): Likewise.
78755         (tr_reallochook): Likewise.
78756         (tr_memalignhook): Likewise.
78758         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
78759         used and couldn't be at all thread-safe.
78761 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
78763         * libio/freopen.c (freopen): Don't close old file descriptor
78764         before the new one is opened.  Instead dup the new file descriptor
78765         to the old one after the new stream is created.
78766         * libio/freopen64.c (freopen64): Likewise.
78767         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
78768         * libio/fileops.c (_IO_new_file_close_it): Handle new
78769         _IO_FLAGS2_NOCLOSE flag.
78770         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
78771         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
78772         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
78773         _IO_FLAGS2_NOCLOSE flag.
78774         * include/unistd.h: Add hidden_proto for dup3.
78775         Define __have_dup3.
78776         * io/dup3.c: Define hidden symbol.
78777         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
78779         [BZ #7101]
78780         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
78781         when an incomplete long option is used.
78782         * posix/tst-getopt_long1.c: New file.
78783         * posix/Makefile (tests): Add tst-getopt_long1.
78785         [BZ #10138]
78786         * scripts/config.guess: Update from autoconf-2.68.
78787         * scripts/config.sub: Likewise.
78789         [BZ #10157]
78790         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
78791         tests into ...
78792         (has_cpuclock): ...this.  New function.
78793         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
78794         macro here based on has_cpuclock code.
78796         [BZ #10149]
78797         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78798         First byte (not low byte) is now always NUL.
78799         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
78801         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78802         Use non-cancelable interfaces.
78804         [BZ #9809]
78805         * locale/iso-639.def: Add entry for Sorani.
78807         [BZ #11901]
78808         * include/stdlib.h: Move include protection to the right place.
78809         Define abort_msg_s.  Declare __abort_msg with it.
78810         * stdlib/abort.c (__abort_msg): Adjust type.
78811         * assert/assert.c (__assert_fail_base): New function.  Majority
78812         of code from __assert_fail.  Allocate memory for __abort_msg with
78813         mmap.
78814         (__assert_fail): Now call __assert_fail_base.
78815         * assert/assert-perr.c: Remove bulk of implementation.  Use
78816         __assert_fail_base.
78817         * include/assert.hL Declare __assert_fail_base.
78818         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
78819         mmap.
78820         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
78822 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
78824         [BZ #11952]
78825         [BZ #12453]
78826         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
78827         until all modules are registered in the DTV.
78828         * elf/Makefile: Add rules to build and run tst-tls19.
78829         * elf/tst-tls19.c: New file.
78830         * elf/tst-tls19mod1.c: New file.
78831         * elf/tst-tls19mod2.c: New file.
78832         * elf/tst-tls19mod3.c: New file.
78833         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
78835         [BZ #12083]
78836         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
78837         correctly.
78839         [BZ #12601]
78840         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
78841         two-byte sequence errors.
78842         * iconvdata/Makefile (tests): Add bug-iconv8.
78843         * iconvdata/bug-iconv8.c: New file.
78845         [BZ #12626]
78846         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
78847         buf2 definition.
78849         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
78851         [BZ #12432]
78852         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
78853         (dummy_getcfa): New function.
78854         (init): Get _Unwind_GetCFA address, use dummy if not found.
78855         (backtrace_helper): In recursion check, also check whether CFA changes.
78856         (__backtrace): Completely initialize arg.
78858         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
78859         storing incomplete byte sequence in state object.  Avoid testing for
78860         guaranteed too small input if we know there is enough data available.
78862 2011-05-11  Andreas Schwab  <schwab@redhat.com>
78864         * Makeconfig (+link-pie): Indent.
78865         * Rules (binaries-pie): Define if $(have-fpie) and
78866         $(build-shared).
78867         (binaries-shared): Also filter out $(binaries-pie).
78868         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
78869         * nscd/Makefile (others-pie): Add nscd.
78870         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
78871         ($(objpfx)nscd): Remove command override.
78872         * login/Makefile (others-pie): Add pt_chown.
78873         ($(objpfx)pt_chown): Remove command override.
78874         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
78875         remove command overrides.
78877 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
78879         * libio/tst_putwc.c: Fix error messages.
78881         [BZ #12724]
78882         * libio/fileops.c (_IO_new_file_close_it): Always flush when
78883         currently writing and seek to current position when not.
78884         * libio/Makefile (tests): Add bug-fclose1.
78885         * libio/bug-fclose1.c: New file.
78887 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
78889         [BZ #12511]
78890         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
78891         don't set DF_1_NODELETE here.
78892         (do_lookup_x): When entering new entry test for copy relocation
78893         and if necessary set DF_1_NODELETE flag.
78894         * elf/tst-unique4.cc: New file.
78895         * elf/tst-unique4.h: New file.
78896         * elf/tst-unique4lib.cc: New file.
78897         * elf/Makefile: Add rules to build and run tst-unique4.
78898         Patch by Piotr Bury <pbury@goahead.com>.
78900 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
78902         [BZ #12052]
78903         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
78905         [BZ #12625]
78906         * misc/mntent_r.c (addmntent): Flush the stream after the output
78908         [BZ #12393]
78909         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
78910         (is_trusted_path_normalize): Skip initial colon.  Append slash
78911         to empty buffer.  Duplicate is_trusted_path code but allow
78912         constructed patch to be prefix.
78913         (is_dst): Allow $ORIGIN followed by /.
78914         (_dl_dst_substitute): Correct clearing of check_for_trusted.
78915         Correct testing of result of is_trusted_path_normalize
78916         (decompose_rpath): Fix warning.
78918 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
78920         [BZ #11257]
78921         * grp/initgroups.c (internal_getgrouplist): When we found the service
78922         list through the initgroups entry in nsswitch.conf do not always
78923         continue on a successful lookup.  Don't always use the
78924         __nss_group_database value if it is set.
78925         * nss/nsswitch.conf (initgroups): Change action for successful db
78926         lookup to continue for compatibility.
78928 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
78930         [BZ #11532]
78931         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
78932         and CP774 modules.
78933         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
78934         and CP774 modules.
78935         * iconvdata/tst-tables.sh: Likewise.
78936         * iconvdata/cp770.c: New file.
78937         * iconvdata/cp771.c: New file.
78938         * iconvdata/cp772.c: New file.
78939         * iconvdata/cp773.c: New file.
78940         * iconvdata/cp774.c: New file.
78941         * iconvdata/testdata/CP770: New file.
78942         * iconvdata/testdata/CP770..UTF8: New file.
78943         * iconvdata/testdata/CP771: New file.
78944         * iconvdata/testdata/CP771..UTF8: New file.
78945         * iconvdata/testdata/CP772: New file.
78946         * iconvdata/testdata/CP772..UTF8: New file.
78947         * iconvdata/testdata/CP773: New file.
78948         * iconvdata/testdata/CP773..UTF8: New file.
78949         * iconvdata/testdata/CP774: New file.
78950         * iconvdata/testdata/CP774..UTF8: New file.
78952         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
78953         END CHARMAP line.
78954         * iconvdata/gen-8bit-gap.sh: Likewise.
78955         * iconvdata/gen-8bit.sh: Likewise.
78957         * locale/iso-639.def: Add ary entry.
78959         [BZ #11258]
78960         * locale/C-translit.h.in: Add U20A1 transliteration.
78962         [BZ #12178]
78963         * locale/iso-639.def: Add wae entry.
78964         Patch by Kevin Bortis <bortis@translate-wae.ch>.
78966         [BZ #12545]
78967         * locale/programs/localedef.c (construct_output_path): Use ssize_t
78968         for n.
78970         [BZ #12711]
78971         * locale/C-translit.h.in: Add entry for U20B9.
78972         Patch by pravin.d.s@gmail.com.
78974 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
78976         [BZ #12713]
78977         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
78978         ENAMETOOLONG use generic getcwd.
78979         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
78980         in rtld.  Use *stat64.
78981         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
78982         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
78983         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
78984         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
78985         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
78986         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
78987         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
78988         __fstatat64 macros.
78989         * include/dirent.h: Add libc_hidden_proto for rewinddir.
78990         * dirent/rewinddir.c: Add libc_hidden_def.
78991         * sysdeps/mach/hurd/rewinddir.c: Likewise.
78992         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
78994         * include/dirent.h (__alloc_dir): Add flags parameter.
78995         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
78996         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
78997         __alloc_dir.
78998         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
78999         from fdopendir if O_CLOEXEC is already set.
79001 2011-03-15  Alan Modra  <amodra@gmail.com>
79003         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
79004         l_tls_firstbyte_offset non-zero.  Save padding offset in
79005         l_tls_firstbyte_offset for later use.
79006         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
79007         freeing static tls block.
79009 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
79011         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
79012         where #ifdef was intended.  The intent is to prevent ARG_MAX from
79013         being defined by the kernel headers.
79015 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
79017         [BZ #12734]
79018         * resolv/resolv.h: Define RES_NOTLDQUERY.
79019         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
79020         no-tld-query and set RES_NOTLDQUERY.
79021         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
79022         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
79023         modern BIND to search name as TLD unless forbidden.
79025 2011-05-07  Petr Baudis  <pasky@suse.cz>
79026             Ulrich Drepper  <drepper@gmail.com>
79028         [BZ #12393]
79029         * elf/dl-load.c (fillin_rpath): Move trusted path check...
79030         (is_trusted_path): ...to here.
79031         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
79032         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
79033         using is_trusted_path_normalize() in setuid scripts.
79035 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79037         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
79038         __BEGIN/__END_DECLS.
79040 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
79042         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
79043         NSS_STATUS_NOTFOUND if no record was found.
79045 2011-05-05  Andreas Schwab  <schwab@redhat.com>
79047         * sunrpc/Makefile (headers): Add rpc/netdb.h.
79048         (headers-not-in-tirpc): Remove rpc/netdb.h
79049         * resolv/netdb.h: Revert last change.
79051 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
79053         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
79054         circular dependency between libgcc.a and libc.a.
79056 2011-05-05  Andreas Schwab  <schwab@redhat.com>
79058         * resolv/netdb.h: Don't include <rpc/netdb.h>.
79059         * nis/Makefile: Don't install rpcsvc/*.
79060         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
79061         instead of <rpc/types.h>.
79062         (MAXHOSTNAMELEN): Define.
79064 2011-05-03  Andreas Schwab  <schwab@redhat.com>
79066         * elf/ldconfig.c (add_dir): Don't crash on empty path.
79068 2011-04-28  Maciej Babinski  <mbabinski@google.com>
79070         [BZ #12714]
79071         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
79072         gethostbyname4_r when IPv6 results are possible.
79074 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
79076         [BZ #12723]
79077         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
79078         _PC_PIPE_BUF handling.
79080 2011-04-30  Bruno Haible  <bruno@clisp.org>
79082         [BZ #12717]
79083         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
79084         * resolv/netdb.h (getnameinfo): Change type of flags parameter
79085         to 'int'.
79086         * inet/getnameinfo.c (getnameinfo): Likewise.
79088 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
79090         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
79091         to groups setting in database lookup.
79092         * nss/nsswitch.conf: Add initgroups entry.
79094 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
79096         [BZ #12685]
79097         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
79098         mode string.
79099         Patch by Eric Blake <eblake@redhat.com>.
79101 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
79103         * sunrpc/Makefile (need-export-routines): Add svc_run.
79104         (routines): Remove svc_run.
79105         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
79106         * sunrpc/clnt_perr.c (clnt_perrno): Export.
79107         * sunrpc/svc_run.c (svc_run): Likewise.
79108         * sunrpc/svc_udp.c (svcudp_create): Likewise.
79110 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
79112         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
79113         problem in reallocation in last patch.
79115 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
79117         * sunrpc/Makefile: Move inclusion of Rules.
79119 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79121         * nss/nss_files/files-initgroups.c: New file.
79122         * nss/Makefile (libnss_files-routines): Add files-initgroups.
79123         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
79124         _nss_files_initgroups_dyn.
79126 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
79128         * elf/elf.h (R_ARM_IRELATIVE): Define.
79130 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79132         * po/ru.po: Update from translation team.
79134 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79136         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
79137         dependencies.
79139 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
79141         [BZ #12653]
79142         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
79143         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
79144         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
79145         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
79146         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
79148 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
79150         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
79151         differing bytes.
79152         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
79153         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
79154         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79156 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79158         [BZ #12420]
79159         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
79160         storing it.
79161         * stdlib/bug-getcontext.c: New file.
79162         * stdlib/Makefile: Add rules to build and run bug-getcontext.
79164 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79166         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
79167         instructions into .machine "z9-109".
79168         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
79169         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
79171 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79173         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
79174         between environment variables and auxiliary vector.
79176 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
79178         * Makefile: Add rules to build linkobj/libc.so.
79179         * include/libc-symbols.h: Define libc_hidden_nolink.
79180         * include/rpc/auth.h: Mark functions which are to be hidden.
79181         * include/rpc/auth_des.h: Likewise.
79182         * include/rpc/auth_unix.h: Likewise.
79183         * include/rpc/clnt.h: Likewise.
79184         * include/rpc/des_crypt.h: Likewise.
79185         * include/rpc/key_prot.h: Likewise.
79186         * include/rpc/pmap_clnt.h: Likewise.
79187         * include/rpc/pmap_prot.h: Likewise.
79188         * include/rpc/pmap_rmt.h: Likewise.
79189         * include/rpc/rpc_msg.h: Likewise.
79190         * include/rpc/svc.h: Likewise.
79191         * include/rpc/svc_auth.h: Likewise.
79192         * include/rpc/xdr.h: Likewise.
79193         * nis/Makefile: Link all DSOs against linkobj/libc.so.
79194         * nss/Makefile: Likewise.
79195         * sunrpc/Makefile: Don't install headers.  Build library with normal
79196         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
79197         * sunrpc/auth_des.c: Hide exported symbols by default, export some
79198         for the compat linking library.  Remove use of INTDEF/INTUSE.
79199         * sunrpc/auth_none.c: Likewise.
79200         * sunrpc/auth_unix.c: Likewise.
79201         * sunrpc/authdes_prot.c: Likewise.
79202         * sunrpc/authuxprot.c: Likewise.
79203         * sunrpc/clnt_gen.c: Likewise.
79204         * sunrpc/clnt_perr.c: Likewise.
79205         * sunrpc/clnt_raw.c: Likewise.
79206         * sunrpc/clnt_simp.c: Likewise.
79207         * sunrpc/clnt_tcp.c: Likewise.
79208         * sunrpc/clnt_udp.c: Likewise.
79209         * sunrpc/clnt_unix.c: Likewise.
79210         * sunrpc/des_crypt.c: Likewise.
79211         * sunrpc/des_soft.c: Likewise.
79212         * sunrpc/get_myaddr.c: Likewise.
79213         * sunrpc/key_call.c: Likewise.
79214         * sunrpc/key_prot.c: Likewise.
79215         * sunrpc/netname.c: Likewise.
79216         * sunrpc/pm_getmaps.c: Likewise.
79217         * sunrpc/pm_getport.c: Likewise.
79218         * sunrpc/pmap_clnt.c: Likewise.
79219         * sunrpc/pmap_prot.c: Likewise.
79220         * sunrpc/pmap_prot2.c: Likewise.
79221         * sunrpc/pmap_rmt.c: Likewise.
79222         * sunrpc/publickey.c: Likewise.
79223         * sunrpc/rpc_cmsg.c: Likewise.
79224         * sunrpc/rpc_common.c: Likewise.
79225         * sunrpc/rpc_dtable.c: Likewise.
79226         * sunrpc/rpc_prot.c: Likewise.
79227         * sunrpc/rpc_thread.c: Likewise.
79228         * sunrpc/rtime.c: Likewise.
79229         * sunrpc/svc.c: Likewise.
79230         * sunrpc/svc_auth.c: Likewise.
79231         * sunrpc/svc_authux.c: Likewise.
79232         * sunrpc/svc_raw.c: Likewise.
79233         * sunrpc/svc_run.c: Likewise.
79234         * sunrpc/svc_simple.c: Likewise.
79235         * sunrpc/svc_tcp.c: Likewise.
79236         * sunrpc/svc_udp.c: Likewise.
79237         * sunrpc/svc_unix.c: Likewise.
79238         * sunrpc/svcauth_des.c: Likewise.
79239         * sunrpc/xcrypt.c: Likewise.
79240         * sunrpc/xdr.c: Likewise.
79241         * sunrpc/xdr_array.c: Likewise.
79242         * sunrpc/xdr_float.c: Likewise.
79243         * sunrpc/xdr_intXX_t.c: Likewise.
79244         * sunrpc/xdr_mem.c: Likewise.
79245         * sunrpc/xdr_rec.c: Likewise.
79246         * sunrpc/xdr_ref.c: Likewise.
79247         * sunrpc/xdr_sizeof.c: Likewise.
79248         * sunrpc/xdr_stdio.c: Likewise.
79250 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
79252         [BZ #12650]
79253         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
79254         * sysdeps/ia64/dl-tls.h: Likewise.
79255         * sysdeps/powerpc/dl-tls.h: Likewise.
79256         * sysdeps/s390/dl-tls.h: Likewise.
79257         * sysdeps/sh/dl-tls.h: Likewise.
79258         * sysdeps/sparc/dl-tls.h: Likewise.
79259         * sysdeps/x86_64/dl-tls.h: Likewise.
79260         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
79262 2011-03-14  Andreas Schwab  <schwab@redhat.com>
79264         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
79265         rpath element also skip the following colon.
79266         (expand_dynamic_string_token): Add is_path parameter and pass
79267         down to DL_DST_REQUIRED and _dl_dst_substitute.
79268         (decompose_rpath): Call expand_dynamic_string_token with
79269         non-zero is_path.  Ignore empty rpaths.
79270         (_dl_map_object_from_fd): Call expand_dynamic_string_token
79271         with zero is_path.
79273 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
79275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
79276         Make cancelable.
79278 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
79280         [BZ #12655]
79281         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
79282         Patch by Filipe David Manana <fdmanana@apache.org>.
79284 2011-04-07  Andreas Schwab  <schwab@redhat.com>
79286         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
79287         Maintain aligned stack.
79288         (CHECK_RSP): Remove unused macro.
79290 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
79292         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
79293         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
79295 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
79297         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
79299         * include/features.h: Mention __USE_XOPEN2K8 in comment.
79301 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
79303         [BZ #12518]
79304         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
79305         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
79306         * sysdeps/x86_64/memmove.c: New file.
79307         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
79308         (memcpy): Renamed to ...
79309         (__new_memcpy): This.
79310         (memcpy): Provide GLIBC_2_14 memcpy.
79311         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
79312         (memcpy): Provide GLIBC_2_2_5 memcpy.
79314 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79316         [BZ #12631]
79317         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
79319 2011-03-30  Andreas Schwab  <schwab@redhat.com>
79321         * misc/syncfs.c: New file.
79322         * misc/Makefile (routines): Add syncfs.
79323         * posix/unistd.h: Declare syncfs.
79324         * sysdeps/unix/syscalls.list: Add syncfs.
79326 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79328         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
79329         open_by_handle_at.
79330         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79331         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79332         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79333         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79334         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79335         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
79336         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79338 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79340         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
79341         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79342         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
79343         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79344         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79345         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79346         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79348         * io/Makefile: Compile fallocate.c, fallocate64.c, and
79349         sync_file_range.c with -fexceptions.
79350         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
79351         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
79352         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
79353         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
79354         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
79355         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
79356         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
79357         sync_file_range as cancellation point
79358         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
79359         now a wrapper around __call_sync_file_range with cancellation handling.
79360         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
79361         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
79362         function name to __call_sync_file_range.
79363         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
79364         Add call_sync_file_range.
79366 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79368         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79369         bits/timex.h.
79371 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79373         * iconv/iconv.h: Fix typo in comment.
79374         * io/fcntl.h: Likewise.
79375         * libio/stdio.h: Likewise.
79376         * posix/spawn.h: Likewise.
79377         * posix/unistd.h: Likewise.
79378         * stdlib/stdlib.h: Likewise.
79379         * time/time.h: Likewise.
79380         * wcsmbs/wchar.h: Likewise.
79382         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
79383         open_by_handle): Add.
79384         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
79385         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
79386         Augment a few comments.
79387         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79388         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79389         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79390         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79391         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79392         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
79393         open_by_handle.
79395         * io/fcntl.h (AT_EMPTY_PATH): Define.
79397 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
79399         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
79400         * sysdeps/unix/sysv/linux/bits/time.h: New file.
79401         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
79402         to...
79403         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
79404         * Versions.def: Add GLIBC_2.14.
79405         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
79406         Export.
79408 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
79410         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
79411         round counter.
79412         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79414 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79416         [BZ #12597]
79417         * string/test-strncmp.c (do_page_test): New function.
79418         (check2): Likewise.
79419         (test_main): Call check2.
79420         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
79422 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
79424         [BZ #12587]
79425         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
79426         Handle cache information in CPU leaf 4.
79427         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79429 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
79431         [BZ #12583]
79432         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
79433         character representation.
79434         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
79436 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
79438         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
79439         END(__isnan) to END(__isnanf) to match function entry point/label
79440         EALIGN(__isnanf,...).
79442 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
79444         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
79446 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
79448         [BZ #12510]
79449         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
79450         copy from the symbol referenced in the relocation to initialize the
79451         used variable.
79452         Patch by Piotr Bury <pbury@goahead.com>.
79453         * elf/Makefile: Add rules to build and tst-unique3.
79454         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
79455         * elf/tst-unique3.cc: New file.
79456         * elf/tst-unique3.h: New file.
79457         * elf/tst-unique3lib.cc: New file.
79458         * elf/tst-unique3lib2.cc: New file.
79460         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
79462 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
79464         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
79465         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
79466         to _start.
79468 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
79470         * elf/dl-load.c (_dl_map_object): If we are looking for the first
79471         to-be-loaded object along a path to loader is ld.so.
79473 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79474             Ulrich Drepper  <drepper@gmail.com>
79476         * sysdeps/x86_64/memset.S: After aligning destination, code
79477         branches to different locations depending on the value of
79478         misalignment, when multiarch is enabled. Fix this.
79480 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79482         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
79483         Set _x86_64_preferred_memory_instruction for AMD processsors.
79484         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79485         Set bit_Prefer_SSE_for_memop for AMD processors.
79487 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
79489         * libio/fmemopen.c (fmemopen): Optimize a bit.
79491 2011-03-03  Andreas Schwab  <schwab@redhat.com>
79493         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
79495 2011-03-03  Roland McGrath  <roland@redhat.com>
79497         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
79499 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
79501         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
79502         __bzero_ultra1 instead of __memset_ultra1.
79504 2011-02-23  Andreas Schwab  <schwab@redhat.com>
79505             Ulrich Drepper  <drepper@gmail.com>
79507         [BZ #12509]
79508         * include/link.h (struct link_map): Add l_orig_initfini.
79509         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
79510         returning unsuccessfully.
79511         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
79512         close of a file loaded at startup, restore the original l_initfini
79513         list.
79514         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
79515         list, store the pointer.
79516         * elf/Makefile ($(objpfx)noload-mem): New rule.
79517         (noload-ENV): Define.
79518         (tests): Add $(objpfx)noload-mem.
79519         * elf/noload.c: Include <memcheck.h>.
79520         (main): Call mtrace.  Close all opened handles.
79522 2011-02-17  Andreas Schwab  <schwab@redhat.com>
79524         [BZ #12454]
79525         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
79526         dependencies are missing.
79528 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79530         Fix __if_freereq crash: Unlike the generic version which uses free,
79531         Hurd needs munmap.
79532         * sysdeps/mach/hurd/ifreq.h: New file.
79534 2011-01-27  Petr Baudis  <pasky@suse.cz>
79535             Ulrich Drepper  <drepper@gmail.com>
79537         [BZ 12445]#
79538         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
79539         to extend_alloca().
79540         * stdio-common/bug23.c: New file.
79541         * stdio-common/Makefile (tests): Add bug23.
79543 2010-09-28  Andreas Schwab  <schwab@redhat.com>
79544             Ulrich Drepper  <drepper@gmail.com>
79546         [BZ #12489]
79547         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
79548         before performing relro protection.  At old place add assertion
79549         to make sure nothing changed.
79551 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
79552             Glauber de Oliveira Costa  <glommer@gmail.com>
79554         * elf/elf.h: Add new ARM TLS relocs.
79556 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
79558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
79559         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
79560         cast from r3.
79561         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
79562         'tests' variable.
79563         * sysdeps/wordsize-64/tst-writev.c: New file.
79565 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
79567         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
79568         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
79569         insns in _dl_start to prevent a TOC reference before relocs are
79570         resolved.
79572 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
79574         [BZ #12469]
79575         * Makeconfig: Remove RANLIB definition.
79576         * Makerules: Don't use RANLIB.
79577         * aclocal.m4: Remove ranlib test.
79578         * configure.in: No need to check for ranlib.
79579         * elf/rtld-Rules: Don't use RANLIB.
79581 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79583         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
79584         protection macro.
79585         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
79586         inclusion protection macro.
79588         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
79589         SIGRTMIN and SIGRTMAX and print information in that case only when
79590         SIGRTMIN is defined.
79592 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
79594         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
79595         arginfo fn returning -1.
79597         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
79598         and thousands string is zero terminated.
79600 2011-02-03  Andreas Schwab  <schwab@redhat.com>
79602         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
79603         sysdeps/unix/sysv/linux/bits/socket.h.
79605 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79607         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
79608         (__CPU_COUNT): Remove old macros.
79609         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
79610         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
79611         (__CPU_ALLOC, __CPU_FREE): Add macros.
79612         (__sched_cpualloc, __sched_cpufree): Add declarations.
79614 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
79616         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
79617         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
79618         * nscd/aicache.c (addhstaiX): Return timeout of added value.
79619         (readdhstai): Return value of addhstaiX call.
79620         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
79621         (addgrbyX): Return value returned by cache_addgr.
79622         (readdgrbyname): Return value returned by addgrbyX.
79623         (readdgrbygid): Likewise.
79624         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
79625         (addpwbyX): Return value returned by cache_addpw.
79626         (readdpwbyname): Return value returned by addhstbyX.
79627         (readdpwbyuid): Likewise.
79628         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
79629         (addservbyX): Return value returned by cache_addserv.
79630         (readdservbyname): Return value returned by addservbyX:
79631         (readdservbyport): Likewise.
79632         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
79633         (addhstbyX): Return value returned by cache_addhst.
79634         (readdhstbyname): Return value returned by addhstbyX.
79635         (readdhstbyaddr): Likewise.
79636         (readdhstbynamev6): Likewise.
79637         (readdhstbyaddrv6): Likewise.
79638         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
79639         (readdinitgroups): Return value returned by addinitgroupsX.
79640         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
79641         (prune_cache): Keep track of timeout value of re-added entries.
79642         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
79643         * nscd/nscd.h: Adjust prototypes of readd* functions.
79645 2011-02-04  Roland McGrath  <roland@redhat.com>
79647         * nis/nis_server.c (nis_servstate): Use the right name for 0.
79648         (nis_stats): Likewise.
79649         * nis/nis_modify.c (nis_modify): Likewise.
79650         * nis/nis_remove.c (nis_remove): Likewise.
79651         * nis/nis_add.c (nis_add): Likewise.
79653         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
79655         * posix/fnmatch_loop.c: Add some consts.
79657         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
79659 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
79661         [BZ #12460]
79662         * config.make.in (config-cflags-novzeroupper): Define.
79663         * configure.in: Substitute libc_cv_cc_novzeroupper.
79664         * elf/Makefile (AVX-CFLAGS): Define.
79665         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
79666         (CFLAGS-tst-auditmod4a.c): Likewise.
79667         (CFLAGS-tst-auditmod4b.c): Likewise.
79668         (CFLAGS-tst-auditmod6b.c): Likewise.
79669         (CFLAGS-tst-auditmod6c.c): Likewise.
79670         (CFLAGS-tst-auditmod7b.c): Likewise.
79671         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
79673 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
79675         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
79676         function to the callback.
79677         Patch partly by Jiri Olsa <jolsa@redhat.com>.
79679 2011-02-02  Andreas Schwab  <schwab@redhat.com>
79681         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
79682         of errno.
79684 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
79686         [BZ #11724]
79687         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
79688         of constructors.
79689         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
79690         of destructors.
79691         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
79693         [BZ #11724]
79694         * elf/Makefile: Add rules to build and run new test.
79695         * elf/tst-initorder.c: New file.
79696         * elf/tst-initorder.exp: New file.
79697         * elf/tst-initordera1.c: New file.
79698         * elf/tst-initordera2.c: New file.
79699         * elf/tst-initordera3.c: New file.
79700         * elf/tst-initordera4.c: New file.
79701         * elf/tst-initorderb1.c: New file.
79702         * elf/tst-initorderb2.c: New file.
79703         * elf/tst-order-a1.c: New file.
79704         * elf/tst-order-a2.c: New file.
79705         * elf/tst-order-a3.c: New file.
79706         * elf/tst-order-a4.c: New file.
79707         * elf/tst-order-b1.c: New file.
79708         * elf/tst-order-b2.c: New file.
79709         * elf/tst-order-main.c: New file.
79710         New test case by George Gensure <werkt0@gmail.com>.
79712 2010-10-01  Andreas Schwab  <schwab@redhat.com>
79714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79715         decoding ACE if AI_CANONIDN.
79717 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
79719         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
79721 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
79723         * version.h (RELEASE): Bump for 2.13 release.
79724         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
79726         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
79728         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
79729         MADV_NOHUGEPAGE.
79730         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
79731         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
79732         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79733         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79734         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79735         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79737         * posix/getconf.c: Update copyright year.
79738         * catgets/gencat.c: Likewise.
79739         * csu/version.c: Likewise.
79740         * debug/catchsegv.sh: Likewise.
79741         * debug/xtrace.sh: Likewise.
79742         * elf/ldconfig.c: Likewise.
79743         * elf/ldd.bash.in: Likewise.
79744         * elf/sprof.c (print_version): Likewise.
79745         * iconv/iconv_prog.c: Likewise.
79746         * iconv/iconvconfig.c: Likewise.
79747         * locale/programs/locale.c: Likewise.
79748         * locale/programs/localedef.c: Likewise.
79749         * malloc/memusage.sh: Likewise.
79750         * malloc/mtrace.pl: Likewise.
79751         * nscd/nscd.c (print_version): Likewise.
79752         * nss/getent.c: Likewise.
79754         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
79755         PF_CAIF, and PF_ALG.
79756         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79758 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
79760         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
79761         (modules-names): Use them.
79762         (ifunc-test-modules, ifunc-pie-tests): Define.
79763         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
79764         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
79765         (test-extras): Likewise.
79766         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
79767         $(compile-command.c).
79768         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
79769         (all-built-dso): Define.
79770         (check-textrel.out, check-execstack.out): Depend on it.
79772         * configure.in: Don't override --enable-multi-arch.
79774 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
79776         [BZ #6812]
79777         * nscd/hstcache.c (tryagain): Define.
79778         (cache_addhst): Return tryagain not notfound for temporary errors.
79779         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
79780         failed.
79782 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
79784         [BZ #10563]
79785         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
79786         to make the syscall.
79787         * sysdeps/unix/sysv/linux/setgroups.c: New file.
79789         [BZ #12378]
79790         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
79791         and fall back to matching as normal character if the string ends before
79792         the matching ']' is found.  This is what POSIX requires.
79793         * posix/testfnm.c: Adjust test result.
79794         * posix/globtest.sh: Adjust test result.  Add new test.
79795         * posix/tst-fnmatch.input: Likewise.
79796         * posix/tst-fnmatch2.c: Add new test.
79798 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
79800         * elf/Makefile (check-execstack): Revert last change.  Depend on
79801         check-execstack.h.
79802         (check-execstack.h): New target.
79803         (generated): Add check-execstack.h.
79804         * elf/check-execstack.c: Include "check-execstack.h".
79805         (main): Revert last change.
79806         (handle_file): Return zero if GNU_STACK is absent and
79807         DEFAULT_STACK_PERMS doesn't include PF_X.
79809 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
79811         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
79812         in child fails because the descriptor is already closed.
79813         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
79814         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
79815         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
79817         [BZ #12397]
79818         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
79819         syscall.
79821         [BZ #10484]
79822         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
79823         temporary buffer used to handle multi lookups locally.
79824         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
79826 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79828         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
79829         loader is ld.so.
79831 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
79833         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
79834         alignment for SSE2.
79836 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79838         [BZ #12394]
79839         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
79840         characters.  When rounding increased number of integer digits recompute
79841         number of groups.
79842         * stdio-common/tst-grouping.c: New file.
79843         * stdio-common/Makefile: Add rules to build and run tst-grouping.
79845 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
79847         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
79848         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
79850         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
79851         void.
79852         * bits/select.h: Likewise.
79854 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
79856         * po/ja.po: Update from translation team.
79858 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
79860         [BZ #11155]
79861         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
79862         implementation just like for lxstat, fxstatat, et al.
79864 2010-12-27  Jim Meyering  <meyering@redhat.com>
79866         [BZ #12348]
79867         * posix/regexec.c (build_trtable): Return failure indication upon
79868         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
79870 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
79872         [BZ #12201]
79873         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
79874         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
79875         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
79876         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
79878         [BZ #12207]
79879         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79881         [BZ #12204]
79882         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79883         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79885 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
79887         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79888         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79889         script has SORT_BY_INIT_PRIORITY.
79890         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
79891         NO_CTORS_DTORS_SECTIONS is defined.
79892         * elf/soinit.c: Likewise.
79893         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
79894         NO_CTORS_DTORS_SECTIONS is defined.
79895         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
79896         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
79897         * sysdeps/sh/init-first.c: Likewise.
79898         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
79900 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
79902         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
79903         always use the slow path.
79905 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
79907         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
79908         similar rule which adds the sysdep directories to the header search in
79909         order to pick up the correct platform stackinfo.h.
79910         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
79911         perform test if it is, otherwise return successfully without testing.
79912         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
79913         DEFAULT_STACK_PERMS define in stackinfo.h.
79914         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
79915         defined in stackinfo.h.
79916         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
79917         DEFAULT_STACK_PERMS defined in stackinfo.h.
79918         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
79919         * sysdeps/ia64/stackinfo.h: Likewise.
79920         * sysdeps/s390/stackinfo.h: Likewise.
79921         * sysdeps/sh/stackinfo.h: Likewise.
79922         * sysdeps/sparc/stackinfo.h: Likewise.
79923         * sysdeps/x86_64/stackinfo.h: Likewise.
79924         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
79925         PF_X for powerpc64.  Retain PF_X for powerpc32.
79927 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
79929         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
79930         accurately.
79931         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
79932         GETDENTS_64BIT_ALIGNED.
79934 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
79936         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
79938 2010-12-10  Andreas Schwab  <schwab@redhat.com>
79940         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
79941         _GNU_SOURCE.
79943         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
79944         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
79945         Remove __restrict.
79946         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
79947         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
79949 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
79951         [BZ #11655]
79952         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
79953         are initialized.
79955 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
79957         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
79959 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
79961         * po/it.po: Update from translation team.
79963 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
79965         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
79966         unused codes.
79968 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
79970         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
79972 2010-11-24  Andreas Schwab  <schwab@redhat.com>
79974         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
79975         specially.
79976         (gaih_getanswer_slice): Likewise.
79978 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
79980         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
79982 2010-05-31  Petr Baudis  <pasky@suse.cz>
79984         [BZ #11149]
79985         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
79986         silently even in the chroot mode.
79988 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
79990         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
79991         last patch a bit.  Pretty printing
79993 2010-05-31  Petr Baudis <pasky@suse.cz>
79995         [BZ #10085]
79996         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
79997         initialization of skip_initgroups_dyn.
79999 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
80001         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
80002         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
80004 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
80006         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
80008 2010-11-11  Andreas Schwab  <schwab@redhat.com>
80010         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
80011         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
80012         (tst-fnmatch-ENV): Set MALLOC_TRACE.
80013         ($(objpfx)tst-fnmatch-mem): New rule.
80014         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
80015         * posix/tst-fnmatch.c (main): Call mtrace.
80017 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
80019         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80020         Support Intel processor model 6 and model 0x2c.
80022 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
80024         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
80025           signed comparison.
80027 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
80029         [BZ #12205]
80030         * string/test-strncasecmp.c (check_result): New function.
80031         (do_one_test): Use it.
80032         (check1): New function.
80033         (test_main): Use it.
80034         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
80035         Support strcasecmp and strncasecmp.
80037 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
80039         [BZ #12194]
80040         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
80041         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80043 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
80045         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
80046         IFUNC support.
80047         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80048         memset-x86-64.
80049         * sysdeps/x86_64/multiarch/bzero.S: New file.
80050         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
80051         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
80052         * sysdeps/x86_64/multiarch/memset.S: New file.
80053         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
80054         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80055         Set bit_Prefer_SSE_for_memop for Intel processors.
80056         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
80057         Define.
80058         (index_Prefer_SSE_for_memop): Define.
80059         (HAS_PREFER_SSE_FOR_MEMOP): Define.
80061 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
80063         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
80064         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
80066 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
80068         [BZ #12191]
80069         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80070         (__x86_64_raw_data_cache_size_half): Likewise.
80071         (__x86_64_raw_shared_cache_size): Likewise.
80072         (__x86_64_raw_shared_cache_size_half): Likewise.
80074         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80075         (__x86_64_raw_data_cache_size_half): Likewise.
80076         (__x86_64_raw_shared_cache_size): Likewise.
80077         (__x86_64_raw_shared_cache_size_half): Likewise.
80078         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
80079         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
80080         and __x86_64_raw_shared_cache_size_half.  Round
80081         __x86_64_data_cache_size_half, __x86_64_data_cache_size
80082         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
80083         to multiple of 256 bytes.
80085 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
80087         [BZ #12167]
80088         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
80089         of inacessible symlinks.  Verify result of symlink before returning it.
80090         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
80091         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
80093 2010-10-28  Erich Ritz  <erichritz@gmail.com>
80095         * math/math.h (isinf): Fix typo in comment.
80097 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
80099         * po/da.po: Update from translation team.
80101 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
80103         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
80104         is added to the list.
80106 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80107             Ulrich Drepper  <drepper@gmail.com>
80109         * elf/dl-object.c (_dl_new_object): Don't append the new object to
80110         the global list here.  Move code to...
80111         (_dl_add_to_namespace_list): ...here.  New function.
80112         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
80113         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
80114         * elf/dl-load.c (lose): Don't remove the element from the list.
80115         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
80116         (_dl_map_object): Likewise.
80118 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
80120         [BZ #12159]
80121         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
80122         into all bytes of SSE register.
80123         Patch by Richard Li <richardpku@gmail.com>.
80125 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
80127         [BZ #12140]
80128         * malloc/malloc.c (_int_free): Fill correct number of bytes when
80129         perturbing.
80131 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
80133         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
80134         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
80135         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
80136         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
80138         submachine.
80139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
80141 2010-10-22  Andreas Schwab  <schwab@redhat.com>
80143         * include/dlfcn.h (__RTLD_SECURE): Define.
80144         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
80145         mode & __RTLD_SECURE instead.
80146         (open_path): Rename preloaded parameter to secure.
80147         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
80148         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
80149         * elf/dl-deps.c (openaux): Likewise.
80150         * elf/rtld.c (struct map_args): Remove is_preloaded.
80151         (map_doit): Don't use it.
80152         (dl_main): Likewise.
80153         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
80154         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
80156 2010-09-09  Andreas Schwab  <schwab@redhat.com>
80158         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
80159         (sysd-rules-targets): Remove duplicates.
80160         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
80161         rtld-%.$o dependency.
80163 2010-10-18  Andreas Schwab  <schwab@redhat.com>
80165         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
80166         _dl_map_object do it.
80168 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
80170         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
80171         fast fma builtins, define the macros in the C99 standard.
80172         (FP_FAST_FMAF): Likewise.
80173         (FP_FAST_FMAL): Likewise.
80174         * sysdeps/x86_64/bits/mathdef.h: Likewise.
80176         * bits/mathdef.h: Update copyright year.
80177         * sysdeps/powerpc/bits/mathdef.h: Likewise.
80179 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
80181         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
80182         builtins, define the macros in the C99 standard.
80183         (FP_FAST_FMAF): Likewise.
80184         (FP_FAST_FMAL): Likewise.
80185         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
80186         multiply/add.
80187         (FP_FAST_FMAF): Likewise.
80189 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
80191         [BZ #3268]
80192         * math/libm-test.inc (fma_test): Some new testcases.
80193         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
80194         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
80195         y and infinite z.  Do multiplication by C already in long double.
80196         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
80197         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
80198         y and infinite z.  Do bitwise or of inexact bit into u.d.
80199         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
80200         * sysdeps/i386/fpu/s_fmaf.S: Removed.
80201         * sysdeps/i386/fpu/s_fma.S: Removed.
80202         * sysdeps/i386/fpu/s_fmal.S: Removed.
80204 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
80206         [BZ #3268]
80207         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
80208         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
80209         computation is not scheduled after fetestexcept.  Fix value
80210         of minimum denormal long double.
80212 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
80214         [BZ #3268]
80215         * math/libm-test.inc (fma_test): Add some more tests.
80216         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
80217         correctly.
80219 2010-10-15  Andreas Schwab  <schwab@redhat.com>
80221         * scripts/data/localplt-s390-linux-gnu.data: New file.
80222         * scripts/data/localplt-s390x-linux-gnu.data: New file.
80224 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
80226         [BZ #3268]
80227         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
80228         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
80229         instead of dbl-64.
80230         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
80231         inlines.
80232         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
80233         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
80234         if one of x and y is very large and the other is subnormal.
80235         * sysdeps/s390/fpu/s_fmaf.c: New file.
80236         * sysdeps/s390/fpu/s_fma.c: New file.
80237         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
80238         * sysdeps/powerpc/fpu/s_fma.S: New file.
80239         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
80240         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
80241         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
80243 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
80245         [BZ #3268]
80246         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
80247         fma tests.
80248         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
80249         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
80250         * sysdeps/i386/i686/multiarch/s_fma.c: Include
80251         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
80252         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
80253         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
80254         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
80256 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
80258         [BZ #12078]
80259         * posix/regcomp.c (parse_branch): One more memory leak plugged.
80260         * posix/bug-regex31.input: Add test case.
80262 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80264         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
80265         * posix/bug-regex31.input: New file.
80267         [BZ #12078]
80268         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
80269         (parse_sub_exp): Fix last change, use postorder.
80271         * posix/bug-regex31.c: New file.
80272         * posix/Makefile: Add rules to build and run bug-regex31.
80274         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
80276         [BZ #12078]
80277         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
80279         [BZ #12108]
80280         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
80281         to have entries in sys_siglist.
80283         [BZ #12093]
80284         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
80285         be NULL.
80287 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
80289         [BZ #3268]
80290         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
80291         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
80292         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
80293         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
80294         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80295         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
80296         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
80297         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
80298         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
80299         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
80300         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
80301         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
80302         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
80303         * math/ftestexcept.c (fetestexcept): Likewise.
80304         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
80305         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
80306         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
80307         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
80308         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
80309         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
80310         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80312 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80314         [BZ #12107]
80315         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
80316         newline.
80318 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
80320         * string/bug-strstr1.c: New file.
80321         * string/Makefile: Add rules to build and run bug-strstr1.
80323 2010-10-05  Eric Blake  <eblake@redhat.com>
80325         [BZ #12092]
80326         * string/str-two-way.h (two_way_long_needle): Always clear memory
80327         when skipping input due to the shift table.
80329 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
80331         [BZ #12005]
80332         * malloc/mcheck.c: Handle large requests.
80334         [BZ #12077]
80335         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
80336         for strncmp and strncasecmp.
80337         * string/stratcliff.c: Add tests for strcmp and strncmp.
80338         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
80340 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80342         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
80343         __set_fpscr.
80345 2010-09-30  Andreas Jaeger  <aj@suse.de>
80347         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
80348         (CGROUP_SUPER_MAGIC): Define.
80349         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80350         Handle btrfs and cgroup file systems.
80351         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
80352         Likewise.
80354 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
80356         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
80357         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
80359 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80361         [BZ #12067]
80362         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
80363         trying to locate the ELF header.
80365 2010-09-27  Andreas Schwab  <schwab@redhat.com>
80367         [BZ #11611]
80368         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
80369         Mask out sign-bit copies when constructing f_fsid.
80371 2010-09-24  Petr Baudis <pasky@suse.cz>
80373         * debug/stack_chk_fail_local.c: Add missing licence exception.
80374         * debug/warning-nop.c: Likewise.
80376 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
80378         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
80379         implementing getdents64 using getdents syscall, set d_type if
80380         __ASSUME_GETDENTS32_D_TYPE.
80382 2010-09-16  Andreas Schwab  <schwab@redhat.com>
80384         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
80385         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
80387 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
80389         [BZ #12037]
80390         * posix/unistd.h: Undo change of feature selection for ftruncate from
80391         2010-01-11.
80393 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
80395         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
80396         detection.
80398 2010-09-20  Andreas Schwab  <schwab@redhat.com>
80400         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
80401         fanotify_mark.
80402         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80404 2010-09-14  Andreas Schwab  <schwab@redhat.com>
80406         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
80407         variables after CHECK_SP call.
80408         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
80410 2010-09-13  Andreas Schwab  <schwab@redhat.com>
80411             Ulrich Drepper  <drepper@redhat.com>
80413         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
80414         re-relocationg ld.so.
80415         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
80416         _dl_init_paths call.
80417         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
80418         here anymore.
80420 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
80422         * resolv/res_init.c (__res_vinit): Count the default server we added.
80424 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
80425             Ulrich Drepper  <drepper@redhat.com>
80427         [BZ #11968]
80428         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80429         (____longjmp_chk): Use %ebx for saving value across system call.
80430         Add unwind info.
80432 2010-09-06  Andreas Schwab  <schwab@redhat.com>
80434         * manual/Makefile: Don't mix pattern rules with normal rules.
80436 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
80438         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
80439         operation.
80440         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
80441         * libio/iofopncook.c (_IO_cookie_init): Likewise.
80442         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
80443         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
80444         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80445         Likewise.
80447 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
80449         [BZ #11979]
80450         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
80451         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
80453 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
80455         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
80456         * sysdeps/x86_64/addmul_1.S: Likewise.
80457         * sysdeps/x86_64/lshift.S: Likewise.
80458         * sysdeps/x86_64/mul_1.S: Likewise.
80459         * sysdeps/x86_64/rshift.S: Likewise.
80460         * sysdeps/x86_64/sub_n.S: Likewise.
80461         * sysdeps/x86_64/submul_1.S: Likewise.
80463 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80465         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
80466         Define __sched_param instead of SCHED_* and sched_param when
80467         <bits/sched.h> is included with __need_schedparam defined.
80468         * bits/sched.h [__need_schedparam]
80469         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
80470         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
80471         (__defined_schedparam): Define to 1.
80472         (__sched_param): New structure, identical to sched_param.
80473         (__need_schedparam): Undefine.
80475 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
80477         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
80478         (epoll_create1): Declare.
80480         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
80482 2010-08-31  Andreas Schwab  <schwab@redhat.com>
80484         [BZ #7066]
80485         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
80486         shifting retval into place.
80488 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
80490         * nis/rpcsvc/nis.h: Update copyright notice.
80491         * nis/rpcsvc/nis.x: Likewise.
80492         * nis/rpcsvc/nis_callback.h: Likewise.
80493         * nis/rpcsvc/nis_callback.x: Likewise.
80494         * nis/rpcsvc/nis_object.x: Likewise.
80495         * nis/rpcsvc/nis_tags.h: Likewise.
80496         * nis/rpcsvc/yp.h: Likewise.
80497         * nis/rpcsvc/yp.x: Likewise.
80498         * nis/rpcsvc/ypupd.h: Likewise.
80499         * nis/yp_xdr.c: Likewise.
80500         * nis/ypupdate_xdr.c: Likewise.
80502         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
80503         mainly the body of pmap_getport.  Add parameters to specify timeouts.
80504         (pmap_getport): Use __libc_rpc_getport.
80505         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
80506         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
80507         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
80509 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
80511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
80512         fanotify_mark.
80514 2010-08-27  Roland McGrath  <roland@redhat.com>
80516         * sysdeps/i386/i686/multiarch/Makefile
80517         (CFLAGS-varshift.c): New variable.
80519 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
80521         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
80522         * sysdeps/i386/i686/multiarch/varshift.c: New file.
80524         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
80526         * sysdeps/x86_64/strlen.S: Minimal code improvement.
80528 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
80530         * sysdeps/x86_64/strlen.S: Unroll the loop.
80531         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80532         strlen-sse2 strlen-sse2-bsf.
80533         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
80534         __strlen_no_bsf if bit_Slow_BSF is set.
80535         (__strlen_sse42): Removed.
80536         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
80537         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
80539 2010-08-25  Roland McGrath  <roland@redhat.com>
80541         * sysdeps/x86_64/multiarch/varshift.S: File removed.
80542         * sysdeps/x86_64/multiarch/varshift.c: New file.
80543         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
80544         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
80545         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
80546         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
80548 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
80550         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80551         strlen-sse2 strlen-sse2-bsf.
80552         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
80553         __strlen_sse2_bsf if bit_Slow_BSF is unset.
80554         (__strlen_sse2): Removed.
80555         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
80556         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
80557         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
80558         bit_Slow_BSF for Atom.
80559         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
80560         (index_Slow_BSF): Define.
80561         (HAS_SLOW_BSF): Define.
80563 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
80565         [BZ #10851]
80566         * resolv/res_init.c (__res_vinit): When no server address at all
80567         is given default to loopback.
80569 2010-08-24  Roland McGrath  <roland@redhat.com>
80571         * configure.in: Remove config-name.h generation.
80572         * configure: Regenerated.
80573         * config-name.in: File removed.
80574         * scripts/config-uname.sh: New file.
80575         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
80576         ($(objdir)config-name.h): New target.
80578         * sunrpc/rpc_parse.h: Avoid nested comment.
80580 2010-08-24  Richard Henderson  <rth@redhat.com>
80581             Ulrich Drepper  <drepper@redhat.com>
80582             H.J. Lu  <hongjiu.lu@intel.com>
80584         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
80585         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
80586         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
80587         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
80588         _mm_alignr_epi8 with _mm_loadu_si128.
80589         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
80590         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
80591         (__m128i_shift_right): Removed.
80592         * sysdeps/i386/i686/multiarch/varshift.h: New file.
80593         * sysdeps/i386/i686/multiarch/varshift.S: New file.
80594         * sysdeps/x86_64/multiarch/varshift.h: New file.
80595         * sysdeps/x86_64/multiarch/varshift.S: New file.
80597 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
80599         * configure.in: Move assembler checks to before sysdep dir checking.
80601 2010-08-20  Petr Baudis  <pasky@suse.cz>
80603         * LICENSES: Sync the sunrpc license.
80605 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
80607         * sunrpc/auth_des.c: Update copyright notice once again.
80608         * sunrpc/auth_none.c: Likewise.
80609         * sunrpc/auth_unix.c: Likewise.
80610         * sunrpc/authdes_prot.c: Likewise.
80611         * sunrpc/authuxprot.c: Likewise.
80612         * sunrpc/bindrsvprt.c: Likewise.
80613         * sunrpc/clnt_gen.c: Likewise.
80614         * sunrpc/clnt_perr.c: Likewise.
80615         * sunrpc/clnt_raw.c: Likewise.
80616         * sunrpc/clnt_simp.c: Likewise.
80617         * sunrpc/clnt_tcp.c: Likewise.
80618         * sunrpc/clnt_udp.c: Likewise.
80619         * sunrpc/clnt_unix.c: Likewise.
80620         * sunrpc/des_crypt.c: Likewise.
80621         * sunrpc/des_soft.c: Likewise.
80622         * sunrpc/get_myaddr.c: Likewise.
80623         * sunrpc/getrpcport.c: Likewise.
80624         * sunrpc/key_call.c: Likewise.
80625         * sunrpc/key_prot.c: Likewise.
80626         * sunrpc/openchild.c: Likewise.
80627         * sunrpc/pm_getmaps.c: Likewise.
80628         * sunrpc/pm_getport.c: Likewise.
80629         * sunrpc/pmap_clnt.c: Likewise.
80630         * sunrpc/pmap_prot.c: Likewise.
80631         * sunrpc/pmap_prot2.c: Likewise.
80632         * sunrpc/pmap_rmt.c: Likewise.
80633         * sunrpc/rpc/auth.h: Likewise.
80634         * sunrpc/rpc/auth_unix.h: Likewise.
80635         * sunrpc/rpc/clnt.h: Likewise.
80636         * sunrpc/rpc/des_crypt.h: Likewise.
80637         * sunrpc/rpc/key_prot.h: Likewise.
80638         * sunrpc/rpc/netdb.h: Likewise.
80639         * sunrpc/rpc/pmap_clnt.h: Likewise.
80640         * sunrpc/rpc/pmap_prot.h: Likewise.
80641         * sunrpc/rpc/pmap_rmt.h: Likewise.
80642         * sunrpc/rpc/rpc.h: Likewise.
80643         * sunrpc/rpc/rpc_des.h: Likewise.
80644         * sunrpc/rpc/rpc_msg.h: Likewise.
80645         * sunrpc/rpc/svc.h: Likewise.
80646         * sunrpc/rpc/svc_auth.h: Likewise.
80647         * sunrpc/rpc/types.h: Likewise.
80648         * sunrpc/rpc/xdr.h: Likewise.
80649         * sunrpc/rpc_clntout.c: Likewise.
80650         * sunrpc/rpc_cmsg.c: Likewise.
80651         * sunrpc/rpc_common.c: Likewise.
80652         * sunrpc/rpc_cout.c: Likewise.
80653         * sunrpc/rpc_dtable.c: Likewise.
80654         * sunrpc/rpc_hout.c: Likewise.
80655         * sunrpc/rpc_main.c: Likewise.
80656         * sunrpc/rpc_parse.c: Likewise.
80657         * sunrpc/rpc_parse.h: Likewise.
80658         * sunrpc/rpc_prot.c: Likewise.
80659         * sunrpc/rpc_sample.c: Likewise.
80660         * sunrpc/rpc_scan.c: Likewise.
80661         * sunrpc/rpc_scan.h: Likewise.
80662         * sunrpc/rpc_svcout.c: Likewise.
80663         * sunrpc/rpc_tblout.c: Likewise.
80664         * sunrpc/rpc_util.c: Likewise.
80665         * sunrpc/rpc_util.h: Likewise.
80666         * sunrpc/rpcinfo.c: Likewise.
80667         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
80668         * sunrpc/rpcsvc/key_prot.x: Likewise.
80669         * sunrpc/rpcsvc/klm_prot.x: Likewise.
80670         * sunrpc/rpcsvc/mount.x: Likewise.
80671         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
80672         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
80673         * sunrpc/rpcsvc/rex.x: Likewise.
80674         * sunrpc/rpcsvc/rstat.x: Likewise.
80675         * sunrpc/rpcsvc/rusers.x: Likewise.
80676         * sunrpc/rpcsvc/sm_inter.x: Likewise.
80677         * sunrpc/rpcsvc/spray.x: Likewise.
80678         * sunrpc/rpcsvc/yppasswd.x: Likewise.
80679         * sunrpc/rtime.c: Likewise.
80680         * sunrpc/svc.c: Likewise.
80681         * sunrpc/svc_auth.c: Likewise.
80682         * sunrpc/svc_authux.c: Likewise.
80683         * sunrpc/svc_raw.c: Likewise.
80684         * sunrpc/svc_run.c: Likewise.
80685         * sunrpc/svc_simple.c: Likewise.
80686         * sunrpc/svc_tcp.c: Likewise.
80687         * sunrpc/svc_udp.c: Likewise.
80688         * sunrpc/svc_unix.c: Likewise.
80689         * sunrpc/svcauth_des.c: Likewise.
80690         * sunrpc/xcrypt.c: Likewise.
80691         * sunrpc/xdr.c: Likewise.
80692         * sunrpc/xdr_array.c: Likewise.
80693         * sunrpc/xdr_float.c: Likewise.
80694         * sunrpc/xdr_mem.c: Likewise.
80695         * sunrpc/xdr_rec.c: Likewise.
80696         * sunrpc/xdr_ref.c: Likewise.
80697         * sunrpc/xdr_sizeof.c: Likewise.
80698         * sunrpc/xdr_stdio.c: Likewise.
80700         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
80701         handling.
80703 2010-08-19  Andreas Schwab  <schwab@redhat.com>
80705         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
80707 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
80709         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
80710         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
80711         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
80712         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
80713         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
80714         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
80715         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
80716         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
80717         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
80718         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
80719         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
80720         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
80721         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
80722         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
80724 2010-07-26  Anton Blanchard  <anton@samba.org>
80726         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
80727         * malloc/arena.c (heap_trim): Likewise.
80729 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
80731         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
80732         here.  Not...
80733         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
80734         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
80736 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
80738         * sysdeps/i386/elf/Makefile: New file.
80740 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80742         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
80743         from fanotify_init.
80744         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
80745         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80747 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
80749         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
80750         of strncasecmp_l.
80751         * sysdeps/multiarch/strcmp.S: Likewise.
80753 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
80755         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80756         strncase_l-nonascii.
80757         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80758         Add strncase_l-ssse3.
80759         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
80760         * sysdeps/x86_64/strcmp.S: Likewise.
80761         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
80762         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
80763         * sysdeps/x86_64/strncase.S: New file.
80764         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
80765         * sysdeps/x86_64/strncase_l.S: New file.
80766         * string/Makefile (strop-tests): Add strncasecmp.
80767         * string/test-strncasecmp.c: New file.
80769         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
80770         warning.
80772         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
80773         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
80775 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80777         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
80779 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
80781         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
80782         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
80783         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
80785 2010-05-01  Alan Modra  <amodra@gmail.com>
80787         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
80788         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
80789         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
80790         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
80791         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
80792         tidying.  Don't tail-call __sigjmp_save for static lib.
80793         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
80794         save location.
80795         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
80796         (CALL_MCOUNT): Add eh info, and nop after bl.
80797         (TAIL_CALL_SYSCALL_ERROR): New macro.
80798         (PSEUDO_RET): Use it.
80799         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
80800         Correct save location of integer regs and cr.
80801         (_dl_profile_resolve): Correct cr save location.  Delete nops
80802         after bl when SHARED.  Reduce cfi size a little by better
80803         placement of cfi directives.
80804         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
80805         make a stack frame.  Instead use parm save area as a temp.
80806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
80807         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
80808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
80809         Don't make a stack frame for parent, use parm save area.
80810         Increase child stack frame to 112 bytes.  Don't save unused reg,
80811         and adjust reg usage.  Set up cfi on error recovery and
80812         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
80813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
80814         (__makecontext): Add dummy nop after jump to exit.
80815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
80816         Use correct parm save area and cr save, reduce stack frame.
80817         Correct cfi for possible PSEUDO_RET frame setup.
80818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
80819         Branch to local label emitted by PSEUDO_RET rather than
80820         __syscall_error.
80822 2010-08-12  Andreas Schwab  <schwab@redhat.com>
80824         [BZ #11904]
80825         * locale/programs/locale.c (print_assignment): New function.
80826         (show_locale_vars): Use it.
80828 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
80830         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
80831         field.
80832         (struct statfs64): Likewise.
80833         (_STATFS_F_FLAGS): Define.
80834         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
80835         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80836         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
80837         (ST_VALID): Define locally.
80838         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
80839         __statvfs_getflags, use the provided value.
80840         * sysdeps/unix/sysv/linux/kernel-features.h: Define
80841         __ASSUME_STATFS_F_FLAGS.
80843         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
80845         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
80846         Add sys/fanotify.h.
80847         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
80848         fanotify_mask for GLIBC_2.13.
80849         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
80850         fanotify_init and fanotify_mark.
80851         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80852         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
80854         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
80855         Add prlimit.
80856         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
80857         prlimit64 for GLIBC_2.13.
80858         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
80859         prlimit64.
80860         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
80861         syscall.
80862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
80863         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80864         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
80865         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
80866         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
80867         add prlimit alias.
80868         * sysdeps/unix/sysv/linux/prlimit.c: New file.
80870         [BZ #11903]
80871         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
80872         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
80874         * nss/Makefile: Add rules to build and run tst-nss-test1.
80875         * shlib-versions: Add entry for libnss_test1.
80876         * nss/nss_test1.c: New file.
80877         * nss/tst-nss-test1.c: New file.
80879         * nss/nsswitch.c (__nss_database_custom): Define new variable.
80880         (__nss_configure_lookup): Set appropriate entry in
80881         __nss_configure_lookup to true.
80882         * nss/nsswitch.h: Define enum with indeces of databases in
80883         databases and __nss_database_custom arrays.  Declare
80884         __nss_database_custom.
80885         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80886         to avoid using nscd when custom rules are installed.
80887         * nss/getXXbyYY_r.c: Likewise.
80888         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
80890         * nss/nss_files/files-parse.c: Whitespace fixes.
80892 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
80894         [BZ #11883]
80895         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
80896         * posix/fnmatch_loop.c: Likewise.
80898 2010-07-17  Andi Kleen  <ak@linux.intel.com>
80900         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
80901         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
80902         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
80903         * Versions.def [GLIBC_2.13]: Add.
80905 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
80907         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80908         Also fail if tpwd after pwuid call is NULL.
80910 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80912         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
80913         when converting to ms.
80915 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80917         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
80918         EOPNOTSUPP errors with ENOTTY.
80919         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
80920         EOPNOTSUPP errors with ENOTTY.
80922 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
80924         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80925         Add strcasecmp_l-ssse3.
80926         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
80927         strcasecmp.
80928         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
80929         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
80930         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
80932 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
80934         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
80936         * string/Makefile (strop-tests): Add strcasecmp.
80937         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80938         strcasecmp_l-nonascii.
80939         (gen-as-const-headers): Add locale-defines.sym.
80940         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
80941         * sysdeps/x86_64/strcasecmp.S: New file.
80942         * sysdeps/x86_64/strcasecmp_l.S: New file.
80943         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
80944         * sysdeps/x86_64/locale-defines.sym: New file.
80945         * string/test-strcasecmp.c: New file.
80947         * string/test-strcasestr.c: Test both ends of the range of characters.
80948         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
80950 2010-07-29  Roland McGrath  <roland@redhat.com>
80952         [BZ #11856]
80953         * manual/locale.texi (Yes-or-No Questions): Fix example code.
80955 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
80957         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
80958         for ld.so.
80960 2010-07-27  Andreas Schwab  <schwab@redhat.com>
80962         * manual/memory.texi (Malloc Tunable Parameters): Document
80963         M_PERTURB.
80965 2010-07-26  Roland McGrath  <roland@redhat.com>
80967         [BZ #11840]
80968         * configure.in (-fgnu89-inline check): Set and substitute
80969         gnu89_inline, not libc_cv_gnu89_inline.
80970         * configure: Regenerated.
80971         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
80973 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
80975         * string/test-strnlen.c: New file.
80976         * string/Makefile (strop-tests): Add strnlen.
80977         * string/tester.c (test_strnlen): Add a few more test cases.
80978         * string/tst-strlen.c: Better error reporting.
80980         * sysdeps/x86_64/strnlen.S: New file.
80982 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
80984         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
80985         lower-latency instructions.
80987 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
80989         * string/test-strcasestr.c: New file.
80990         * string/test-strstr.c: New file.
80991         * string/Makefile (strop-tests): Add strstr and strcasestr.
80992         * string/str-two-way.h: Don't undefine MAX.
80993         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
80995 2010-07-21  Andreas Schwab  <schwab@redhat.com>
80997         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80998         strcasestr-nonascii.
80999         (CFLAGS-strcasestr-nonascii.c): Define.
81000         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
81001         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
81002         Remove unused attribute.
81004 2010-07-20  Roland McGrath  <roland@redhat.com>
81006         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
81007         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
81008         ld.so.cache was broken.  With it, there is no way to disable dsocaps
81009         like LD_HWCAP_MASK can disable hwcaps.
81011 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81013         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
81015 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
81017         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
81018         call in strcasestr.
81019         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
81020         __strcasestr_sse42_nonascii.
81021         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
81022         strcasestr-nonascii.c.
81023         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
81025 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
81027         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
81028         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
81029         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
81030         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
81032 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
81034         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
81035         fcntl.
81037 2010-07-06  Andreas Schwab  <schwab@redhat.com>
81039         [BZ #11577]
81040         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
81041         dl_signal_cerror.
81043 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
81045         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
81046         _PC_PIPE_BUF using F_GETPIPE_SZ.
81048 2010-07-05  Roland McGrath  <roland@redhat.com>
81050         * manual/arith.texi (Rounding Functions): Fix rint description
81051         implicit in round description.
81053 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
81055         * elf/Makefile: Fix linking for a few tests to make recent linker
81056         happy.
81058 2010-06-30  Andreas Schwab  <schwab@redhat.com>
81060         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81061         $(common-objpfx)libc_nonshared.a.
81063 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
81065         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
81066         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
81067         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81068         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81069         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
81070         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
81071         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81072         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
81074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
81075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
81076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
81078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
81080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
81081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
81082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
81083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
81085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
81087         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
81088         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
81089         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
81090         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
81091         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
81092         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
81093         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
81094         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
81095         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
81096         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
81097         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
81098         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
81099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
81100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
81101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
81102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
81103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
81104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
81105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
81106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
81107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
81108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
81109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
81110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
81111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
81112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
81114 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
81116         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
81117         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
81118         * string/memmove.c (memmove): Renamed to ...
81119         (MEMMOVE): ...this.  Default to memmove.
81120         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
81121         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
81122         (END_CHK): Define.
81123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81124         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
81125         mempcpy-ssse3-back memmove-ssse3-back.
81126         * sysdeps/x86_64/multiarch/bcopy.S: New file .
81127         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
81128         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
81129         * sysdeps/x86_64/multiarch/memcpy.S: New file.
81130         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
81131         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
81132         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
81133         * sysdeps/x86_64/multiarch/memmove.c: New file.
81134         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
81135         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
81136         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
81137         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
81138         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
81139         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
81140         Define.
81141         (index_Fast_Copy_Backward): Define.
81142         (HAS_ARCH_FEATURE): Define.
81143         (HAS_FAST_REP_STRING): Define.
81144         (HAS_FAST_COPY_BACKWARD): Define.
81146 2010-06-21  Andreas Schwab  <schwab@redhat.com>
81148         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81149         Restore proper fallback handling.
81151 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
81153         [BZ #11701]
81154         * posix/group_member.c (__group_member): Correct checking loop.
81156         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
81157         OOM in getpwuid_r correctly.  Return error number when the caller
81158         should return, otherwise -1.
81159         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
81160         call returning > 0 value.
81161         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
81163 2010-06-07  Andreas Schwab  <schwab@redhat.com>
81165         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
81166         libc_nonshared.a from targets in modules-names.
81168 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
81170         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
81171         requires it.
81173 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
81175         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
81176         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
81177         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
81178         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
81180 2010-06-02  Andreas Schwab  <schwab@redhat.com>
81182         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
81184 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
81186         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
81187         and F_GETPIPE_SZ.
81188         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81189         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81190         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81191         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81192         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81193         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81195 2010-06-14  Roland McGrath  <roland@redhat.com>
81197         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
81199 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
81201         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
81202         __REDIRECT followed by __THROW.
81203         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
81204         * posix/getopt.h (getopt): Likewise.
81206 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81208         * hurd/lookup-at.c (__file_name_lookup_at): Accept
81209         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
81210         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
81211         in AT_FLAGS.
81212         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
81213         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
81215 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
81217         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
81219 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
81221         [BZ #11640]
81222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81223         Properly check family and model.
81225 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
81227         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
81229 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
81231         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
81233 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
81235         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
81236         symbol reference.
81238 2010-05-19  Andreas Schwab  <schwab@redhat.com>
81240         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
81241         symbol reference.
81243 2010-05-21  Andreas Schwab  <schwab@redhat.com>
81245         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
81246         and internal_recvmmsg.
81247         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
81248         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
81249         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
81250         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
81252         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
81253         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
81254         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
81256 2010-05-20  Andreas Schwab  <schwab@redhat.com>
81258         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
81260 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
81262         POWER7 optimizations.
81263         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
81264         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
81266 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
81268         * version.h: Update for 2.13 development version.
81270 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
81272         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
81273         exceptions.  Return 0.
81275 2010-05-07  Roland McGrath  <roland@redhat.com>
81277         * elf/ldconfig.c (main): Add a const.
81279 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
81281         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
81282         (args_options): Add no-idn option.
81283         (ahosts_keys_int): Add idn_flags to ai_flags.
81284         (parse_option): Handle 'i' option to clear idn_flags.
81286         * malloc/malloc.c (_int_free): Possible race in the most recently
81287         added check.  Only act on the data if no current modification
81288         happened.
81290 See ChangeLog.17 for earlier changes.